1 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
3 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4 Requesting 0 bytes before the end of the file should result in
5 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
8 2006-07-27 Wim Taymans <wim@fluendo.com>
10 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11 Fix useless assert, a uint is always positive.
13 * gst/gststructure.c: (gst_structure_nth_field_name),
14 (gst_structure_foreach), (gst_structure_map_in_place):
15 Check input arguments for public functions to avoid obvious crashes.
17 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
18 * plugins/elements/gstfakesink.h:
19 Do less useless typechecking.
21 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
23 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
24 Do not use mmap() by default since there are a number of error
25 conditions that we would like to handle in a non-fatal way that
26 will result in a SIGBUS if we use mmap(). Examples: external
27 devices (USB harddrive, portable music player) being unplugged
28 while in use; file on mounted CD/DVD that can't be read because
29 the medium is partly damaged. Fixes #348455 and #348475.
31 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
34 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
37 2006-07-26 Stefan Kost <ensonic@users.sf.net>
40 Move big documentation comment into class section header, so that it
41 appears in the API docs.
43 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
45 * docs/gst/gstreamer-sections.txt:
46 Oops. Commit the docs additions too for new API.
47 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
49 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
51 * gst/gststructure.c: (gst_structure_id_set),
52 (gst_structure_id_set_valist):
54 Add API for setting values into structures without performing
55 a quark lookup, if the appropriate quark is already known.
57 API: gst_structure_id_set
58 API: gst_structure_id_set_valist
60 * gst/parse/grammar.y:
62 Remove some dead code shown by the coverage information.
63 Don't throw a critical g_warning when encountering a syntax error,
64 just warn and let the normal error path handle it.
66 * plugins/elements/gstelements.c:
67 Bump the rank of filesink up to PRIMARY so that it is preferred over
68 gnomevfssink for file:// sink uri's
70 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
71 (GST_START_TEST), (run_delayed_test),
72 (gst_parse_test_element_base_init),
73 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
74 (gst_parse_test_element_change_state),
75 (gst_register_parse_element), (parse_suite):
76 Beef up the tests for parse syntax to check that more error cases
77 fail as they are supposed to. Increases the test coverage a bit.
79 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
81 * docs/manual/basics-elements.xml:
82 Fix gst_element_link() example.
85 Mention in API docs that one should usually gst_bin_add()
86 elements to a bin or pipeline before doing the linking.
88 2006-07-26 Wim Taymans <wim@fluendo.com>
90 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
91 (gst_subbuffer_get_type), (gst_buffer_create_sub):
92 Avoid function call for known types by keeping the buffer and
93 subbuffer GType global.
95 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
96 Random silly optimisations in read() path.
98 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
100 * tools/gst-launch.c: (main):
101 If the top-level of the parse is a normal bin, it doesn't do the
102 right logic to run as a top-level element, so place it inside a
105 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
107 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
108 Remove superfluous g_object_notify() calls, GObject does
109 that for us automatically.
111 2006-07-25 Stefan Kost <ensonic@users.sf.net>
114 Move the Win32 version from gst-plugins-good/gst/avi/avidemux.c to
117 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
119 * gst/gsttaglist.c: (_gst_tag_initialize):
120 Allow more than one GST_TAG_IMAGE per taglist.
122 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
124 * gst/gstminiobject.c:
126 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
128 log recurring events at LOG level
129 add more debug for when the fd gets set
131 2006-07-21 Stefan Kost <ensonic@users.sf.net>
133 * gst/gstparse.c: (gst_parse_launch):
134 Also remove reentrance checks if flex is MT save (#348179)
135 Fix my empty ChangeLog entry below
137 2006-07-21 Andy Wingo <wingo@pobox.com>
139 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
141 * libs/gst/check/Makefile.am
142 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
143 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
144 * libs/gst/check/gstbufferstraw.h:
145 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
146 functions, thus proving I am still a GStreamer haxor. OK I wrote
147 them a long time ago, but anyways.
149 2006-07-21 Stefan Kost <ensonic@users.sf.net>
152 * gst/gstparse.c: (gst_parse_launch):
153 Check for flex version and omit mutex if we have a MT save flex
156 2006-07-21 Wim Taymans <wim@fluendo.com>
158 * gst/gstparse.c: (gst_parse_launch):
159 Protect recursive calls to _parse with a recursive mutex
162 2006-07-21 Wim Taymans <wim@fluendo.com>
164 * tests/check/gst/gstpad.c: (GST_START_TEST):
167 2006-07-20 Stefan Kost <ensonic@users.sf.net>
169 * gst/gstparse.c: (gst_parse_launch):
170 Do not hange on recursive uasge of gst_parse_launch()
172 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
175 Add some more docs, comments and FIXME 0.11s here and there
176 and also fix some typos.
178 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
181 Convert tabs to spaces for better readability.
183 2006-07-20 Edward Hervey <edward@fluendo.com>
185 * tests/check/libs/gdp.c: (gst_dp_suite):
186 the test_buffer test fails at line 140 on ppc64 at the following
188 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer, GST_BUFFER_FLAG_IN_CAPS),
189 "GST_BUFFER_IN_CAPS flag should have been copied !");
190 See bug #348114 for more details.
192 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
194 * docs/pwg/advanced-scheduling.xml:
198 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
200 * docs/pwg/intro-basics.xml:
201 Fix wrong links (#347927).
203 2006-07-18 Stefan Kost <ensonic@users.sf.net>
206 * gst/gstregistryxml.c: (load_feature),
207 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
208 * win32/common/config.h:
209 make --disable-index work (#342564)
211 2006-07-18 Wim Taymans <wim@fluendo.com>
213 Patch by: Peter Kjellerstedt <pkj at axis dot com>
217 The attached patch adds two missing defines to gsttrace.h when tracing
218 is disabled. It also corrects one existing define.
221 2006-07-17 Wim Taymans <wim@fluendo.com>
223 * docs/gst/gstreamer-sections.txt:
224 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
226 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
227 Add two functions to check and change the SIGSEGV behaviour
228 when loading plugins.
229 Don't mess with the SIGSEGV handler when we were told not to.
231 API: gst_segtrap_is_enabled
232 API: gst_segtrap_set_enabled
234 2006-07-14 Wim Taymans <wim@fluendo.com>
236 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
237 * tests/check/elements/filesrc.c: (GST_START_TEST):
238 Revert fix for regression in #347408 after release.
240 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
242 Patch by: Antoine Tremblay <hexa00 at gmail com>
244 * gst/gstutils.c: (gst_element_unlink):
245 Free iterator when done (#347311).
247 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
248 And add a test case for this.
250 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
253 Bump nano back to CVS
255 === release 0.10.9 ===
257 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
260 releasing 0.10.9, "On the road again"
262 2006-07-13 Wim Taymans <wim@fluendo.com>
264 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
265 * tests/check/elements/filesrc.c: (GST_START_TEST):
266 Revert pull-0 fix for release. Disable check. Fixes #347408.
268 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
270 * libs/gst/dataprotocol/dataprotocol.c:
271 (gst_dp_event_from_packet_1_0):
272 Fixes #347337: failure to deserialize event packets with
273 empty payload (only event type)
275 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
278 do not install a .c file in the header directory
280 2006-07-13 Edward Hervey <edward@fluendo.com>
282 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
283 GhostPad no longer implicitely use the padtemplates of the targets.
286 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
288 * gst/gstvalue.c: (gst_value_compare_list),
289 (gst_value_compare_array), (_gst_value_initialize):
290 * tests/check/gst/gstvalue.c: (GST_START_TEST):
291 Make GstValueArray comparison be order dependent as designed.
292 Add checks for value lists and value array comparisons.
295 2006-07-11 Edward Hervey <edward@fluendo.com>
297 * gst/gstbin.c: (activate_pads),
298 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
299 (gst_bin_change_state_func):
300 (de)activate src pads before calling state_change on the childs.
301 This is to avoid the case where a src ghostpad is blocked (holding the
302 stream lock), which would block the deactivation of the ghostpad's
304 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
305 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
306 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
307 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
308 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
309 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
310 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
311 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
312 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
313 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
314 (gst_ghost_pad_class_init),
315 (gst_ghost_pad_internal_do_activate_push),
316 (gst_ghost_pad_internal_do_activate_pull),
317 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
318 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
319 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
320 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
321 GhostPads now create their internal GstProxyPad at creation (and not
322 when they're linked, as it was being done previously).
323 The internal and target pads are linked straight away.
324 The data will also travel through the other pad in order to make
325 pad blocking and probes non-hackish (the probe/block now really happens
326 on the GhostPad and not on the target).
327 * gst/gstpad.c: (gst_pad_set_blocked_async),
328 (gst_pad_link_prepare), (gst_pad_push_event):
329 Remove previous ghostpad cruft.
330 * gst/gstutils.c: (gst_pad_add_data_probe),
331 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
332 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
333 (gst_pad_remove_buffer_probe):
334 Remove previous ghost pad cruft.
335 Added more detailed debug statements.
336 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
337 Fix the testsuite for refcounting changes.
338 The comments about who has references were correct, but the refcount
339 being checked wasn't the same (!?!).
343 2006-07-10 Stefan Kost <ensonic@users.sf.net>
345 * docs/gst/gstreamer-sections.txt:
346 * gst/gstconfig.h.in:
347 More docs for configuration options, add docs to gtk-doc.
349 2006-07-10 Stefan Kost <ensonic@users.sf.net>
352 * gst/gstconfig.h.in:
353 * win32/common/config.h:
354 Fix build when disabling tracing (fixes #344016). Also start to document
355 the defines that disable the sub-systems.
357 2006-07-10 Edward Hervey <edward@fluendo.com>
359 * gst/gst.c: (ensure_current_registry_forking):
360 let's make valgrind happy...
362 2006-07-09 Wim Taymans <wim@fluendo.com>
364 * gst/gstelement.c: (activate_pads),
365 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
366 Better pad activation code: Reset the collect value too on resync.
369 2006-07-09 Wim Taymans <wim@fluendo.com>
371 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
372 (gst_pad_activate_push):
373 Use some more macros where it makes sense.
374 Allow pad mode switching instead of asserting. When a pad
375 is activated in one mode and we activate it in another,
376 deactivate it first before activating it in a different mode.
379 2006-07-08 Andy Wingo <wingo@pobox.com>
381 * tools/gst-launch.c (main): Handle err == NULL.
383 * gst/gst.c (init_post, ensure_current_registry)
384 (ensure_current_registry_forking)
385 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
386 factoring out the registry scanning into separate functions. Don't
387 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
388 Better environment var name/interface suggestions accepted.
390 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
392 * gst/gstobject.c: (gst_object_set_name_default),
393 (gst_object_set_name):
394 Random micro-optimisation: don't use a hash table
395 with strings as keys and the usual strdup/strcmp
396 involved, but rather just use the GQuark of the
397 type name as key, since it needs to be looked up
398 anyway to get the type name string.
400 * tests/check/gst/gstobject.c: (GST_START_TEST):
403 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
405 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
406 (gst_bin_iterate_all_by_interface):
407 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
408 GTypes are gulongs and thus the top 4 bytes might be cut
409 off on some platforms when doing GPOINTER_TO_INT, leading
410 to invalid GTypes and bad things happening (see RH bug #179654).
411 Also add a check to make sure the type passed in is really
414 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
419 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
423 * gst-element-check.m4:
424 * gst-element-check.m4.in:
425 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
426 instead of the unversioned gst-inspect (#324176, #168659).
428 2006-07-06 Wim Taymans <wim@fluendo.com>
431 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
434 2006-07-06 Wim Taymans <wim@fluendo.com>
436 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
437 (gst_base_src_wait), (gst_base_src_update_length),
438 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
439 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
440 (gst_base_src_loop), (gst_base_src_start),
441 (gst_base_src_activate_pull):
443 blocksize == 0 now means the default blocksize when working in push
445 Remove some pointless asserts in _wait function.
446 Fix offset/length calculations and EOS handling. We can now pull 0
447 bytes as well, which is allowed.
448 use _check_get_range() to decide if we can operate in _pull based
450 Fix refcounting leak when check_get_range function was not
452 API GstBaseSrc::blocksize range can be 0 too now (default)
454 * tests/check/elements/filesrc.c: (GST_START_TEST),
456 Added check to test _get_range() behaviour.
458 2006-07-06 Wim Taymans <wim@fluendo.com>
460 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
461 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
462 (gst_pad_pull_range):
464 Lots of comments and docs added to the pad functions.
465 Flesh out the expected behaviour of the get_range() functions.
467 2006-07-06 Wim Taymans <wim@fluendo.com>
476 Remove comma at end of enumerator list.
478 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
480 * win32/common/libgstbase.def:
481 * win32/common/libgstdataprotocol.def:
482 * win32/common/libsgtreamer.def:
483 Add new exported functions.
485 2006-07-05 Wim Taymans <wim@fluendo.com>
487 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
488 Add some more docs here and there.
490 2006-07-05 Wim Taymans <wim@fluendo.com>
492 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
493 (gst_base_sink_loop), (gst_base_sink_get_position):
494 When operating in pull mode update the offset so that we
497 2006-07-05 Wim Taymans <wim@fluendo.com>
499 * gst/gstregistryxml.c: (read_string):
500 Avoid strdup. (will happen in libxml, but hey!)
505 2006-07-05 Wim Taymans <wim@fluendo.com>
507 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
508 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
510 No point in checking if the size of the subbuffer > 0, the
511 code handles it correclty as demonstrated by unit test.
512 Also add a unit test for the zero sized _new_and_alloc and
513 _copy. Fixes #346663.
515 2006-07-05 Wim Taymans <wim@fluendo.com>
517 * libs/gst/base/gstbasetransform.c:
518 (gst_base_transform_prepare_output_buffer),
519 (gst_base_transform_buffer_alloc),
520 (gst_base_transform_handle_buffer):
521 Make sure the buffer we pass to transform_ip has a refcount of
522 1 and thus is writable. Fixes #343196
524 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
526 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
527 (gst_file_src_init), (gst_file_src_set_property),
528 (gst_file_src_get_property), (gst_file_src_map_region):
529 * plugins/elements/gstfilesrc.h:
530 Add "sequential" property, off by default, to use madvise and hint
531 to the kernel that sequential access is desired.
532 Touch all retrieved pages by default to ensure they are pulled
533 into memory. (Closes #345720)
535 2006-07-03 Wim Taymans <wim@fluendo.com>
537 * docs/design/part-block.txt:
538 * docs/design/part-dynamic.txt:
541 2006-07-03 Wim Taymans <wim@fluendo.com>
543 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
544 (gst_caps_unref), (gst_static_caps_get),
545 (gst_caps_append_structure):
546 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
547 Use GSlice when the glib we build against is >= 2.10
549 2006-07-03 Wim Taymans <wim@fluendo.com>
551 * gst/gstelement.c: (gst_element_pads_activate):
552 Small cleanup in pad activation code.
554 2006-07-03 Wim Taymans <wim@fluendo.com>
556 Patch by: Peter Kjellerstedt <pkj at axis dot com>
558 * gst/gst-i18n-app.h:
559 * gst/gst-i18n-lib.h:
560 * tools/gst-inspect.c: (print_signal_info):
561 The attached patch will make the inclusion of gettext.h unconditional in
562 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
563 libintl.h in tools/gst-inspect.c.
564 This allows use of --disable-nls again and fixes #344642.
566 2006-07-03 Edward Hervey <edward@fluendo.com>
568 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
569 Implement pad blocking on events according to part-block.txt.
570 More comments on behaviour.
571 * tests/check/gst/gstevent.c: (test_event):
572 Send event to peer pad of blocked pad (else it will block).
574 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
576 * libs/gst/check/gstcheck.c: (gst_check_message_error),
577 (gst_check_run_suite):
578 if we get the wrong message, give us the types as string
579 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
581 * tests/check/elements/filesrc.c: (GST_START_TEST):
582 add a test for trying to open a non-existing file
584 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
586 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
587 add a test for adding self
589 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
591 * libs/gst/check/gstcheck.h:
592 add some assert_ as alias for fail_unless_*
593 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
594 increase test coverage
596 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
599 include lcov.mak for lcov coverage generation
603 2006-07-02 Edward Hervey <edward@fluendo.com>
605 * tests/check/elements/.cvsignore:
608 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
611 don't set CFLAGS and friends for gcov, done from GST_GCOV now
612 * tests/check/Makefile.am:
615 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
617 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
618 remove gst_caps_simplify; it was not declared and not used
619 and deprecated in 0.8
621 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
623 * docs/faq/gst-uninstalled:
624 don't put empty paths on PYTHONPATH
625 * docs/gst/gstreamer-sections.txt:
626 remove some symbols that are not there
628 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
630 * gst/gstcaps.c: (gst_caps_compare_structures):
632 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
633 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
636 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
638 * libs/gst/dataprotocol/Makefile.am:
639 build dataprotocol test by linking to the lib, instead of
640 compiling the source, so we get coverage
641 * tests/check/Makefile.am:
642 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
643 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
644 add a test for filesrc
646 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
648 * tests/check/gst/gststructure.c: (GST_START_TEST),
649 (gst_structure_suite):
650 Push coverage from 59.04% to 70.00%
652 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
654 * tests/check/Makefile.am:
655 gst-inspect every element; this makes sure that we also get
656 coverage on element's get/set functions
658 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
661 set CFLAGS and friends to -O0 if gcov is being used
664 * libs/gst/base/Makefile.am:
665 * libs/gst/check/Makefile.am:
666 * libs/gst/controller/Makefile.am:
667 * libs/gst/dataprotocol/Makefile.am:
668 * libs/gst/net/Makefile.am:
669 * plugins/elements/Makefile.am:
670 * plugins/indexers/Makefile.am:
671 add makefile rules to generate gcov data and clean up
672 * tests/check/Makefile.am:
673 add a coverage target that generates an html overview
676 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
678 * tests/check/elements/fakesink.c:
679 * tests/check/elements/fakesrc.c:
680 * tests/check/elements/fdsrc.c:
681 * tests/check/elements/identity.c:
682 * tests/check/generic/sinks.c: (gst_sinks_suite):
683 * tests/check/generic/states.c:
684 * tests/check/gst/gst.c:
685 * tests/check/gst/gstabi.c:
686 * tests/check/gst/gstbin.c:
687 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
688 * tests/check/gst/gstbus.c: (gst_bus_suite):
689 * tests/check/gst/gstcaps.c: (GST_START_TEST):
690 * tests/check/gst/gstelement.c:
691 * tests/check/gst/gstevent.c: (gst_event_suite):
692 * tests/check/gst/gstghostpad.c:
693 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
694 * tests/check/gst/gstmessage.c: (gst_message_suite):
695 * tests/check/gst/gstminiobject.c:
696 * tests/check/gst/gstobject.c:
697 * tests/check/gst/gstpad.c:
698 * tests/check/gst/gstpipeline.c:
699 * tests/check/gst/gstplugin.c:
700 * tests/check/gst/gstquery.c: (gst_query_suite):
701 * tests/check/gst/gstsegment.c: (gst_segment_suite):
702 * tests/check/gst/gststructure.c:
703 * tests/check/gst/gstsystemclock.c:
704 * tests/check/gst/gsttag.c:
705 * tests/check/gst/gsttask.c: (gst_task_suite):
706 * tests/check/gst/gstutils.c:
707 * tests/check/gst/gstvalue.c:
708 * tests/check/libs/adapter.c:
709 * tests/check/libs/basesrc.c:
710 * tests/check/libs/collectpads.c:
711 * tests/check/libs/controller.c:
712 * tests/check/libs/gdp.c: (gst_dp_suite):
713 * tests/check/libs/gstnetclientclock.c:
714 * tests/check/libs/gstnettimeprovider.c:
715 * tests/check/libs/libsabi.c: (libsabi_suite):
716 * tests/check/libs/typefindhelper.c:
717 * tests/check/pipelines/cleanup.c:
718 * tests/check/pipelines/parse-launch.c:
719 * tests/check/pipelines/simple-launch-lines.c:
720 * tests/check/pipelines/stress.c: (stress_suite):
723 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
725 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
726 * libs/gst/check/gstcheck.h:
727 create a macro and function so that the simple unit test
728 case can be just one macro to create main()
730 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
732 * gst/gstbin.c: (gst_bin_restore_thyself):
733 * gst/gstxml.c: (gst_xml_make_element):
734 Fix deserialisation from XML. Set parent manually
735 instead of using gst_bin_add(), since gst_bin_add()
736 will unlink all pads of the element being added.
739 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
741 Patch by: Peter Kjellerstedt <pkj at axis com>
743 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
744 Fix missing g_strdup() and double free when using the
745 --gst-plugin-load command line option (#346097).
747 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
750 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
752 * libs/gst/net/gstnetclientclock.c:
753 * libs/gst/net/gstnettimeprovider.c:
754 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
756 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
758 * docs/manual/advanced-dataaccess.xml:
759 Fix buffer probe example compilation in
762 2006-06-22 Edward Hervey <edward@fluendo.com>
764 * gst/gstelement.c: (gst_element_pads_activate):
765 We need to deactivate src pads first and then sink pads.
766 The reason is the src pads might be blocking while holding the streaming
767 lock, so we need to deactivate them first so that deactivating the sink
768 pads doesn't block (since it will require the streaming lock).
770 2006-06-22 Wim Taymans <wim@fluendo.com>
772 * libs/gst/base/gstbasetransform.c:
773 (gst_base_transform_buffer_alloc):
774 Forgot to remove two unneeded unrefs.
775 Simplify a check _is_equal allready checks the obvious case.
777 2006-06-22 Wim Taymans <wim@fluendo.com>
779 * docs/design/part-block.txt:
780 Some docs about what pad_block should do.
782 2006-06-22 Wim Taymans <wim@fluendo.com>
784 * gst/gstcaps.c: (gst_caps_replace):
785 Fix crasher when passed NULL. Doc clarification.
786 Optimize for the trivial case.
788 * gst/gstpipeline.c: (gst_pipeline_change_state):
791 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
792 Small documentation cleanup.
794 * libs/gst/base/gstbasetransform.c:
795 (gst_base_transform_buffer_alloc):
796 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
797 is what we need and it avoids a whole lot of redundant
800 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
802 Patch by: Philip Jägenstedt <philip at lysator liu se>
804 * docs/manual/advanced-dataaccess.xml:
805 Fix 'Embedding static elements' section to use
806 GST_PLUGIN_DEFINE_STATIC (#345607).
808 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
810 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
811 Attempt to 'fix' spuriously failing test case: it seems like the
812 timeout of half a second is simply too small when the system is under
813 load otherwise, and the timeout doesn't really seem to serve any
814 particular purpose here. Give the pipeline a few seconds to preroll
815 first, and then give it another half a second to go from PAUSED to
816 PLAYING and marshal the message into the main thread.
818 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
820 * tools/gst-feedback-m.m:
821 Don't only use unversioned tools, try versioned tools as well
824 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
826 * gst/gstbus.c: (gst_bus_class_init):
827 Fix some typos, make docs more explicit.
829 2006-06-20 Wim Taymans <wim@fluendo.com>
831 * tests/check/gst/gstghostpad.c: (block_callback),
832 (GST_START_TEST), (gst_ghost_pad_suite):
833 Added some more ghostpad tests, mainly blocking
836 2006-06-16 Wim Taymans <wim@fluendo.com>
838 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
839 (gst_file_sink_close_file), (gst_file_sink_do_seek),
840 (gst_file_sink_event), (gst_file_sink_render):
841 * plugins/elements/gstfilesink.h:
842 Check if we can seek in the file instead of assuming
843 we always can. Post an error when we are asked to seek in a
844 non-seekable file (like a fifo). Fixes #343312.
847 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
849 * tools/gst-launch.1.in:
850 Un-garble (fourcc) bit in filtered caps section.
852 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
854 * docs/manual/advanced-autoplugging.xml:
855 * docs/manual/basics-helloworld.xml:
856 * docs/manual/highlevel-components.xml:
857 Don't leak bus reference in sample code.
859 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
862 Add default for new --enable-plugin-docs switch.
865 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
869 Use new ENABLE_PLUGIN_DOCS conditional.
871 2006-06-14 Wim Taymans <wim@fluendo.com>
873 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
874 Make it clear with a FIXME and a real define what the #if 0
877 2006-06-14 Wim Taymans <wim@fluendo.com>
879 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
880 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
881 * libs/gst/base/gstbasetransform.c:
882 (gst_base_transform_sink_eventfunc):
883 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
884 Don't randomly and silently reset a segment when the format
885 changes as this is a bug somewhere upstream. Fixes #330379.
887 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
889 Patch by: Wouter Paesen <wouter at kangaroot net>
891 * libs/gst/controller/gstcontroller.c:
892 (gst_controlled_property_new):
893 Fix controlling of float properties (#344849).
895 * tests/check/libs/controller.c:
896 (gst_test_mono_source_get_property),
897 (gst_test_mono_source_set_property),
898 (gst_test_mono_source_class_init), (GST_START_TEST):
899 While we're at it, add some float stuff to unit test.
901 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
904 * docs/images/gdp-header.svg:
906 * docs/libs/Makefile.am:
907 * docs/libs/gdp-header.png:
908 * libs/gst/dataprotocol/dataprotocol.c:
909 add it to the API docs
910 * docs/manual/intro-motivation.xml:
913 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
915 * gst/gst.c: (scan_and_update_registry), (init_post):
916 If the fork()'ed child process can't write the updated registry cache
917 file to disk for some reason, make it exit with a failure exit code,
918 so that the parent can then re-scan the plugins itself and update the
919 registry structures in memory and work with that (rather than failing
920 when creating elements because seemingly no plugins are available).
921 Refactor registry scanning code into separate function for this and
922 also separate fork() and non-fork() code paths. Fixes #344748.
924 2006-06-13 Wim Taymans <wim@fluendo.com>
926 * docs/manual/advanced-dataaccess.xml:
927 Fix wrong PluginDesc. Fixes #344755.
929 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
931 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
932 Fix silly bug that prevented us from creating
933 ~/.gstreamer-0.10 and writing the registry in one
934 go (the first call to g_mkstemp() would overwrite the
935 placeholder in the template string, so the second call
936 to g_mkstemp() after creating the missing directory
937 would then error out with 'invalid argument').
939 2006-06-13 Edward Hervey <edward@fluendo.com>
941 * gst/gst.c: (init_post):
944 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
946 * gst/glib-compat-private.h:
949 * gst/gstvalue.c: (gst_value_serialize_flags):
950 remove GLib 2.6 compatibility code
952 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
954 * gst/parse/Makefile.am:
955 Fix build with 'make -j N' even more (#340016).
957 2006-06-12 Wim Taymans <wim@fluendo.com>
959 * docs/gst/gstreamer-sections.txt:
962 2006-06-12 Wim Taymans <wim@fluendo.com>
964 * gst/gstsegment.c: (gst_segment_set_duration),
965 (gst_segment_set_last_stop), (gst_segment_set_seek),
966 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
967 (gst_segment_to_running_time), (gst_segment_clip):
968 Use G_UNLIKELY to help the compiler a bit.
970 2006-06-12 Wim Taymans <wim@fluendo.com>
972 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
974 * gst/gstevent.c: (gst_event_get_type):
976 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
978 constify quark registration strings. Fixes #344115
979 Avoid unneeded type checking is _pad_push() by internally
980 calling gst_pad_chain_unchecked().
982 2006-06-12 Wim Taymans <wim@fluendo.com>
984 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
985 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
986 (gst_subbuffer_finalize), (gst_buffer_create_sub),
987 (gst_buffer_is_span_fast), (gst_buffer_span):
988 Init _type for consistency.
989 Use _FLAGS macro to avoid type check.
990 Avoid unneeded type checks in subbufer code.
992 2006-06-12 Wim Taymans <wim@fluendo.com>
994 * gst/gst.c: (gst_debug_help):
995 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
996 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
997 (gst_plugin_feature_list_free):
998 * gst/gstregistry.c: (gst_registry_add_plugin),
999 (gst_registry_add_feature), (gst_registry_plugin_filter),
1000 (gst_registry_feature_filter), (gst_registry_find_plugin),
1001 (gst_registry_find_feature), (gst_registry_get_plugin_list),
1002 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
1003 * gst/gstregistryxml.c: (load_feature),
1004 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
1005 * gst/gstminiobject.c: (gst_mini_object_unref),
1006 (gst_mini_object_replace), (gst_value_mini_object_free),
1007 (gst_value_mini_object_copy):
1008 Use _CAST macros to avoid unneeded type checking.
1009 Added some more G_UNLIKELY.
1011 2006-06-12 Wim Taymans <wim@fluendo.com>
1014 Avoid unneeded type checking.
1015 API: GST_BUFFER_IS_DISCONT
1017 * gst/gstminiobject.h:
1018 Avoid type check in flag accessor.
1020 * gst/gstelementfactory.h:
1022 * gst/gstpluginfeature.h:
1024 API: GST_ELEMENT_FACTORY_CAST
1025 API: GST_PLUGIN_CAST
1026 API: GST_PLUGIN_FEATURE_CAST
1028 2006-06-12 Wim Taymans <wim@fluendo.com>
1030 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
1032 Add G_UNLIKELY in type registration.
1033 Avoid type check in _ref/_unref since that is also
1036 2006-06-12 Wim Taymans <wim@fluendo.com>
1038 * gst/gsterror.c: (gst_g_error_get_type):
1039 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
1040 (gst_static_pad_template_get_type):
1041 * gst/gsttaglist.c: (gst_tag_list_get_type):
1042 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
1043 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
1044 * gst/gsturi.c: (gst_uri_handler_get_type):
1045 * gst/gstvalue.c: (gst_date_get_type):
1046 * gst/gstxml.c: (gst_xml_get_type):
1047 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
1048 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1049 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
1050 Add G_UNLIKELY in type registration.
1052 2006-06-12 Wim Taymans <wim@fluendo.com>
1054 * tools/gst-inspect.c: (print_signal_info):
1055 Properly print enum values.
1057 2006-06-12 Wim Taymans <wim@fluendo.com>
1059 * gst/gstinfo.c: (gst_debug_set_active),
1060 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
1062 Add some G_[UN]LIKELY.
1063 Maintain __gst_debug_min to avoid formatting the arguments of
1064 debug messages that will be dropped anyway to avoid a lot of
1065 overhead from the debugging system.
1067 2006-06-11 Stefan Kost <ensonic@users.sf.net>
1071 add missing files containing translatable strings, tell intltool about
1074 2006-06-11 Stefan Kost <ensonic@users.sf.net>
1076 * tests/check/libs/.cvsignore:
1077 add test-binary to ignore list
1079 2006-06-11 Stefan Kost <ensonic@users.sf.net>
1081 * docs/libs/gstreamer-libs-docs.sgml:
1082 reorder (put dp into a chapter) and indent
1084 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
1089 === release 0.10.8 ===
1091 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
1094 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
1096 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
1098 * gst/gst.c: (init_post):
1099 move pid declaration to declaration block
1101 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
1103 * gst/gst.c: (init_post):
1104 use _exit() instead of exit() in our forked child; this ensures
1105 that none of the registered exit handlers from whatever is using
1106 GStreamer get executed. This fixes gnome-mixer-applet failing
1107 to load, because ORBit would shut down.
1108 Spotted by: Edward Hervey <edward@fluendo.com>
1109 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
1112 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
1117 === release 0.10.7 ===
1119 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
1122 releasing 0.10.7, "Soepeke, ik zie ou"
1124 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
1147 * win32/common/config.h:
1150 2006-06-07 Wim Taymans <wim@fluendo.com>
1152 * gst/gstindex.c: (gst_index_gtype_resolver):
1153 * tools/gst-xmlinspect.c: (print_plugin_info):
1154 Fix leak spotted by coverity checker. Fixes #343827
1155 Fix another other leak found by paolo borelli.
1157 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
1159 * libs/gst/dataprotocol/dataprotocol.c:
1160 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1161 (gst_dp_version_get_type), (gst_dp_init),
1162 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
1163 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
1164 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
1165 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
1166 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
1167 (gst_dp_packetizer_free):
1168 * libs/gst/dataprotocol/dataprotocol.h:
1169 API: add a GstDPPacketizer object, and create/free functions
1170 API: add GstDPVersion enum
1171 Add 1.0 event function that uses the string serialization
1172 Serialize more useful buffer flags
1175 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
1177 * tests/check/Makefile.am:
1178 * tests/check/gst/gstabi.c:
1179 * tests/check/gst/struct_ppc64.h:
1180 * tests/check/libs/libsabi.c:
1181 * tests/check/libs/struct_ppc64.h:
1182 add ppc64 structure sizes
1184 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
1186 * tests/check/Makefile.am:
1187 * tests/check/gst/gstabi.c:
1188 * tests/check/gst/struct_x86_64.h:
1189 * tests/check/libs/libsabi.c:
1190 * tests/check/libs/struct_x86_64.h:
1191 generate and add structure size lists for x86_64
1193 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
1195 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1196 * libs/gst/check/gstcheck.h:
1197 factor out the method from tests that checks size of structures,
1198 and add code to generate the header containing these sizes
1199 * tests/check/gst/gstabi.c: (GST_START_TEST):
1200 * tests/check/gst/struct_i386.h:
1201 * tests/check/libs/libsabi.c: (GST_START_TEST):
1202 * tests/check/libs/struct_i386.h:
1205 2006-06-06 Michael Smith <msmith@fluendo.com>
1208 Don't use c++-style comments, fixes #343929
1210 2006-06-05 Edward Hervey <edward@fluendo.com>
1213 plugin_paths is not used if we build without registry support.
1215 * gst/gstsegment.c: (gst_segment_copy):
1216 _copy() was always returning NULL...
1218 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
1220 * libs/gst/dataprotocol/dataprotocol.c:
1221 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1222 (gst_dp_packet_from_event):
1225 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
1227 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
1228 make sure we unset caps
1230 2006-06-02 Michael Smith <msmith@fluendo.com>
1232 * libs/gst/check/gstcheck.c: (gst_check_init),
1233 (gst_check_chain_func):
1234 * libs/gst/check/gstcheck.h:
1235 Add a cond/mutex to the check support lib, signal this whenever we
1236 add to the buffers list. This will allow tests to not busy-wait on
1239 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
1241 * libs/gst/dataprotocol/dataprotocol.c:
1242 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1243 (gst_dp_packet_from_event):
1244 factor out some common header init code
1246 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
1248 * docs/libs/gstreamer-libs-sections.txt:
1249 * docs/libs/tmpl/gstdataprotocol.sgml:
1250 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
1251 * libs/gst/dataprotocol/dataprotocol.h:
1252 API: make gst_dp_crc() public
1254 2006-06-01 Stefan Kost <ensonic@users.sf.net>
1256 * plugins/indexers/gstindexers.c: (plugin_init):
1257 conditionally register fileindexer (fixes #343598)
1259 2006-06-01 Stefan Kost <ensonic@users.sf.net>
1261 * gst/gsttagsetter.h:
1262 Can't cast ifaces to a class
1264 * libs/gst/net/gstnetclientclock.h:
1265 * libs/gst/net/gstnettimeprovider.h:
1266 * plugins/elements/gstfakesink.h:
1267 * plugins/elements/gstfakesrc.h:
1268 * plugins/elements/gstfdsink.h:
1269 * plugins/elements/gstfdsrc.h:
1270 * plugins/elements/gstfilesink.h:
1271 * plugins/elements/gstfilesrc.h:
1272 * plugins/elements/gstidentity.h:
1273 * plugins/elements/gstqueue.h:
1274 * plugins/elements/gsttee.h:
1275 * plugins/indexers/gstfileindex.c:
1276 * plugins/indexers/gstmemindex.c:
1277 * tests/old/examples/plugins/example.h:
1278 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
1280 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
1282 * libs/gst/dataprotocol/dataprotocol.c:
1283 (gst_dp_header_from_buffer):
1284 make sure we zero the whole ABI-compatible area
1286 2006-06-01 Wim Taymans <wim@fluendo.com>
1288 Patch by: Alessandro Decina <alessandro at nnva dot org>
1290 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
1291 Make sure the EOS flag is cleared from pads after a flush
1292 or stop. Fixes #343538.
1294 * tests/check/libs/collectpads.c: (GST_START_TEST),
1295 (gst_collect_pads_suite):
1296 Added test for collectpads reusage after EOS.
1298 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
1301 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
1302 * win32/common/libgstbase.def:
1303 export gst_collect_pads_set_flushing
1304 * win32/common/libgstreamer.def:
1305 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
1306 gst_value_fraction_multiply
1307 * win32/vs6/gst_inspect.dsp:
1308 add a link to intl.lib
1310 2006-05-30 Wim Taymans <wim@fluendo.com>
1312 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
1313 (gst_collect_pads_chain):
1314 Handle the case where a pad is removed from the collection
1315 that could cause the other pads to become collectable.
1317 2006-05-30 Wim Taymans <wim@fluendo.com>
1320 Clarify the use of _release_request_pad() and
1321 _get_request_pad() a bit better.
1323 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
1324 (gst_adapter_take_buffer):
1325 Fix some doc and comment typos.
1327 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1329 * docs/gst/gstreamer-sections.txt:
1330 * docs/libs/gstreamer-libs-sections.txt:
1331 add declared symbols
1333 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
1335 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
1336 Add debug that can be enabled using a #define at the top of the file,
1337 for dumping stats about how late/early we were when waking up from
1338 waiting on the clock.
1340 2006-05-30 Wim Taymans <wim@fluendo.com>
1342 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
1343 When rebuilding the pad list, don't leak the previous list.
1345 2006-05-30 Wim Taymans <wim@fluendo.com>
1347 Patch by: Lutz Mueller <lutz at topfrose dot de>
1349 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1350 (gst_base_src_get_query_types), (gst_base_src_update_length):
1351 Publish supported query types.
1352 Update last_stop field in get_range mode so the position
1353 query works. Fixes #342321.
1355 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
1357 * docs/gst/gstreamer-sections.txt:
1358 * gst/gsttaglist.c: (_gst_tag_initialize):
1360 API: add GST_TAG_PREVIEW_IMAGE (#343341).
1362 2006-05-30 Wim Taymans <wim@fluendo.com>
1364 Patch by: Alessandro Decina <alessandro at nnva dot org>
1366 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1367 Unlock mutex when removing an unknown pad.
1370 * tests/check/Makefile.am:
1371 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
1372 (push_event), (setup), (teardown), (GST_START_TEST),
1373 (gst_collect_pads_suite), (main):
1374 Added collecpads check, disabled for now as check crashes for
1377 2006-05-29 Wim Taymans <wim@fluendo.com>
1379 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
1380 Don't leak pads lists.
1382 2006-05-29 Wim Taymans <wim@fluendo.com>
1384 * docs/libs/gstreamer-libs-sections.txt:
1385 * libs/gst/base/gstcollectpads.c:
1386 (gst_collect_pads_set_flushing_unlocked),
1387 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
1388 (gst_collect_pads_stop):
1389 * libs/gst/base/gstcollectpads.h:
1390 API: gst_collect_pads_set_flushing()
1391 Added api to set the pads to flushing, useful for seeking
1392 code in elements using collectpads.
1393 Clear segment when receiving a flush.
1395 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
1397 * gst/gst.c: (add_path_func), (init_post):
1398 Don't scan registry paths passed via --gst-plugin-path immediately
1399 (will crash, because absolutely nothing is set up and no types are
1400 registered etc.); do this later in init_post(). Fixes #343057.
1402 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
1404 * gst/gst.c: (init_post):
1405 if we have fork, fork while reading/rebuilding the registry
1406 so the parent doesn't take the hit of having all plugins loaded
1407 in memory. Fixes #342777.
1409 Check if we have fork()
1410 * win32/common/config.h.in:
1413 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
1415 * plugins/elements/gstelements.c:
1416 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1417 (gst_file_src_init), (gst_file_src_set_property),
1418 (gst_file_src_get_property), (gst_file_src_start):
1419 * plugins/elements/gstfilesrc.h:
1420 API: GstFileSrc::use-mmap
1422 Add a use-mmap property to enable easier testing of all code paths.
1423 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
1424 in the absence of gnomevfssrc. (Closes #340501)
1426 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1428 * tools/gst-inspect.c:
1429 Add missing include, removes warning of ngettext not being defined on
1432 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
1434 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1435 Handle NULL input and output pointers silently as a failed conversion,
1436 rather than g_warnings.
1438 2006-05-25 Wim Taymans <wim@fluendo.com>
1440 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
1441 Initialize variable before using. Fixes #342820.
1443 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
1445 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
1446 Fix off-by-one bug that would only allow peeks of N-1 bytes
1447 from the start even if the buffer to typefind on contains
1448 in fact N bytes of data (makes vorbis typefinding from a
1449 vorbis identification header buffer work).
1451 * tests/check/Makefile.am:
1452 * tests/check/libs/.cvsignore:
1453 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
1454 (gst_typefindhelper_suite), (main), (foobar_typefind),
1456 Add very basic unit test for gst_type_find_helper_for_buffer()
1457 that checks for the problem fixed above.
1459 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
1461 * tools/gst-inspect.c: (print_interfaces),
1462 (print_element_properties_info), (print_element_list), (main):
1463 add more translatable strings
1465 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
1467 Patch by: Julien Moutte <julien at moutte net>
1469 * docs/gst/gstreamer-sections.txt:
1470 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
1472 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1473 (gst_fake_sink_preroll):
1474 * plugins/elements/gstfakesink.h:
1475 API: Add new GstFakeSink::preroll-handoff signal (#337100).
1477 2006-05-23 Wim Taymans <wim@fluendo.com>
1479 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
1481 Added _CUSTOM error and success GstFlowReturn that can be
1482 used be elements internally.
1483 Added macro to check for SUCCESS flowreturns.
1484 API: GST_FLOW_CUSTOM_SUCCESS
1485 API: GST_FLOW_CUSTOM_ERROR
1486 API: GST_FLOW_IS_SUCCESS
1488 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1489 Added check for GstFlowReturn sanity.
1491 2006-05-23 Wim Taymans <wim@fluendo.com>
1493 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1495 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
1496 (gst_collect_pads_event):
1497 clear/reset segment info in FLUSH_STOP.
1500 2006-05-22 Stefan Kost <ensonic@users.sf.net>
1502 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
1503 (gst_collect_pads_check_collected):
1504 Flush queued buffer on _stop(), fixes playing again (#342454)
1506 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
1508 * tests/check/gst/gststructure.c: (GST_START_TEST),
1509 (gst_structure_suite):
1510 add a test for a complete structure
1512 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
1514 * docs/faq/developing.xml:
1516 * docs/faq/troubleshooting.xml:
1517 * docs/faq/using.xml:
1518 Some minor FAQ updates that won't change the fact that
1519 our FAQ is badly structured, full of information hardly
1520 anyone new to GStreamer needs to know and lacking lots
1521 of information people constantly ask for.
1523 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
1525 * gst/gstpad.c: (gst_pad_set_caps):
1526 Short-circuit gst_pad_set_caps if setting the existing
1527 caps pointer again, and avoid printing debug and
1528 reffing/unreffing the caps.
1530 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1531 There's actually no need to set the caps before pushing -
1532 the acceptcaps method will handle it anyway.
1534 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
1536 * docs/gst/gstreamer-sections.txt:
1537 * win32/common/libgstreamer.def:
1538 * gst/gstutils.c: (gst_element_seek_simple):
1540 API: add gst_element_seek_simple() (#342238).
1542 2006-05-18 Edward Hervey <edward@fluendo.com>
1544 * gst/gsttypefind.c: (gst_type_find_get_type):
1545 * gst/gsttypefind.h:
1546 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
1547 registered for GstTypeFind pointers. This allows wrapping the structure
1548 in bindings (i.e. gst-python).
1550 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
1552 * gst/gsttagsetter.c:
1553 Docs additions and fixes (see #339918).
1555 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
1557 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1558 The caps intersection algorithm can produce multiple copies of the
1559 caps. Until that is fixed, we need to simplify the result to be
1560 sure whether the allowed caps are fixed or not.
1562 * plugins/elements/gstqueue.c: (gst_queue_init),
1563 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
1564 (gst_queue_push_one):
1565 Proxied buffer alloc should not set the caps on the source pad.
1566 When pushing buffers, we always accept the caps change that triggers.
1567 This prevents negotiation errors caused by caps changing mid-stream
1568 and then being refused on our source pad (because upstream is now
1569 refusing those caps).
1571 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
1573 * tests/examples/helloworld/helloworld.c: (main):
1574 Must plug audioconvert and audioresample between decoder
1577 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
1579 * gst/gstregistryxml.c: (read_string), (load_pad_template),
1580 (load_feature), (load_plugin):
1581 Allow empty strings for some of the plugin fields so we don't
1582 drop valid plugin entries that were written out correctly
1585 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
1587 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
1588 Use g_remove and g_rename instead of remove and rename that don't
1589 handle utf8 characters. rename was failing for users who had specific
1590 characters in their name then the registry was built at each
1592 * win32/vs6/gst_inspect.dsp:
1593 * win32/vs6/gst_launch.dsp:
1594 * win32/vs6/libgstbase.dsp:
1595 * win32/vs6/libgstcoreelements.dsp:
1596 * win32/vs6/libgstreamer.dsp:
1597 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
1598 build of libgstreamer and clean unused libraries in projects link
1601 2006-05-17 Edward Hervey <edward@fluendo.com>
1603 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1604 The queue is not responsible for pushing an EOS when receiving a fatal
1605 flow error. It's up to the real element driving the pipeline to do that.
1607 2006-05-16 Edward Hervey <edward@fluendo.com>
1609 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1610 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
1611 buffer returned a fatal error. It should just send an EOS and stop
1613 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
1614 when pushing buffers on the queue and will be able to handle the event.
1616 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
1618 * docs/manual/basics-bins.xml:
1619 * docs/manual/basics-init.xml:
1620 Fix typos and minor errors in sample code (#341856).
1622 2006-05-16 Wim Taymans <wim@fluendo.com>
1624 * docs/design/part-qos.txt:
1625 Fix indexes in formulas to make more sense.
1627 2006-05-15 Wim Taymans <wim@fluendo.com>
1629 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
1630 Don't report POSITION based on clock time if sync is
1633 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
1636 Add cast to make compiler happy - refcount variable was a gint
1637 in GstObject but is a guint in GObject and g_atomic_int_get()
1640 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
1642 * gst/parse/Makefile.am:
1643 chain commands using &&, which also makes parallel make work
1645 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
1647 * docs/gst/gstreamer-sections.txt:
1653 === release 0.10.6 ===
1655 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
1658 releasing 0.10.6, "Take the cannoli"
1660 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
1662 * tools/gst-launch.c: (print_tag):
1663 Fix use of uninitialized variable in the hypothetical
1664 case that some broken plugin creates a GST_TAG_IMAGE
1665 tag containing a NULL buffer (#341667).
1667 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
1669 * tools/gst-launch.c: (print_tag):
1670 Print something more intelligible for image tags when
1671 using the -t switch (#341556).
1673 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
1678 define GST_MAJORMINOR so we have it available in win32/common/config.h
1679 Possibly remove it from our Makefile.am files later
1680 * win32/common/config.h:
1681 * win32/common/config.h.in:
1682 added GST_MAJORMINOR
1683 * win32/common/gstenumtypes.c: (register_gst_resource_error):
1684 * win32/common/gstversion.h:
1687 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
1690 Update win32 files listing.
1691 * win32/common/gstversion.h:
1692 Add GST_MAJORMINOR definition.
1693 * win32/common/libgstreamer.def:
1694 Add new exported functions.
1696 2006-05-12 Michael Smith <msmith@fluendo.com>
1698 * gst/gstplugin.c: (gst_plugin_load_file):
1699 If an so file has no plugin entry point, unload the module.
1701 2006-05-11 Wim Taymans <wim@fluendo.com>
1703 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
1704 (gst_queue_set_property):
1705 Don't forget to signal the _chain or _loop function
1706 when the queue size or thresholds change since that might
1707 cause them to make progres again.
1709 2006-05-11 Stefan Kost <ensonic@users.sf.net>
1711 * gst/gstclock.c: (gst_clock_class_init):
1712 * gst/gstindex.c: (gst_index_class_init):
1713 * gst/gstobject.c: (gst_object_class_init):
1714 * gst/gstpad.c: (gst_pad_class_init):
1715 * gst/gstpipeline.c: (gst_pipeline_class_init):
1716 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1717 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1718 * libs/gst/base/gstbasetransform.c:
1719 (gst_base_transform_class_init):
1720 * libs/gst/net/gstnetclientclock.c:
1721 (gst_net_client_clock_class_init):
1722 * libs/gst/net/gstnettimeprovider.c:
1723 (gst_net_time_provider_class_init):
1724 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1725 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1726 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1727 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1728 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1729 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1730 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1731 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1732 * plugins/elements/gsttee.c: (gst_tee_class_init):
1733 * tests/old/examples/plugins/example.c: (gst_example_class_init):
1734 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1735 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
1737 2006-05-11 Wim Taymans <wim@fluendo.com>
1739 * gst/gstbuffer.c: (_gst_buffer_initialize):
1740 Register subbufer along with the buffer type so that
1741 it does not accidentally gets registered from N
1742 different streaming threads in a non threadsafe way.
1744 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
1749 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
1750 gst_event_ref() and gst_message_ref() functions again
1751 (ugly hack, please do fix if there's a better way besides
1752 overrides.txt, which doesn't seem to work).
1754 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1756 * libs/gst/check/gstcheck.h:
1757 add an assert for setting state to avoid lots of repetitive code
1760 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1762 * gst/gstvalue.c: (gst_value_serialize_flags):
1763 fix a leak if no flags are set
1764 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1767 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
1769 * docs/manual/basics-pads.xml:
1770 Expand a bit on caps and filtered links and update
1771 examples that were still using the no longer existing
1772 gst_pad_link_filtered() (#338206).
1774 2006-05-10 Wim Taymans <wim@fluendo.com>
1776 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1777 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1778 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
1779 (gst_collect_pads_stop):
1780 * libs/gst/base/gstcollectpads.h:
1781 No need to call _stop in _finalize.
1782 Iterate the main pad list in _finalize.
1783 Added some more debug.
1784 Free lists and data in the right order.
1785 Also free data whem doing _remove_pad when stopped for
1786 backward compatibility protect ::started with PAD_LOCK as
1789 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1791 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
1792 (gst_structure_parse_value):
1794 rename a method so that it actually says what it does better
1796 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1798 * gst/gstevent.c: (_gst_event_initialize):
1799 * gst/gstformat.c: (_gst_format_initialize):
1800 make sure some essential types used by events are registered
1801 as part of gst_init()
1802 * gst/gstvalue.c: (gst_value_serialize_flags):
1803 if no flags are set, serialize them to a value that represents NONE
1804 so that deserializing them works
1805 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1806 add tests for serialization and deserialization of flags
1808 2006-05-10 Wim Taymans <wim@fluendo.com>
1810 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
1811 (gst_collect_pads_collect_range), (gst_collect_pads_available),
1812 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
1813 (gst_collect_pads_event), (gst_collect_pads_chain):
1816 Catch and return errors from the collect function
1817 Refuse data on eos pads.
1819 2006-05-10 Edward Hervey <edward@fluendo.com>
1821 * gst/gstinterface.h:
1822 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
1823 GInterface type checking.
1824 They were previously using non-defined macros.
1826 2006-05-09 Wim Taymans <wim@fluendo.com>
1828 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
1829 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
1830 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
1831 (gst_collect_pads_start), (gst_collect_pads_stop),
1832 (gst_collect_pads_peek), (gst_collect_pads_pop),
1833 (gst_collect_pads_available), (gst_collect_pads_read),
1834 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
1835 (gst_collect_pads_is_collected), (gst_collect_pads_event),
1836 (gst_collect_pads_chain):
1837 * libs/gst/base/gstcollectpads.h:
1838 Clean up the mess that is collectpads, add comments and
1839 FIXMEs where needed.
1840 Maintain a separate pad list so we can add pads while
1841 collecting the other ones. For this we need a new separate
1843 Fix memory leak in finalize.
1844 Refactor some weird code to set/unset pad flushing flags, mark
1846 Don't crash in _available, _read, _flush when we're EOS.
1848 * tests/check/libs/.cvsignore:
1849 Ignore adapter check binary.
1851 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1853 * gst/gstindex.c: (gst_index_resolver_get_type):
1854 * plugins/elements/gstfakesink.c:
1855 (gst_fake_sink_state_error_get_type):
1856 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1857 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
1858 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1859 Const-ify GEnumValue arrays.
1861 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1863 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1864 Add test case for flags + gst_buffer_make_metadata_writable().
1866 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1868 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
1869 gst_buffer_make_metadata_writable() should maintain the
1870 buffer flags (those that make sense at least) (see #340859).
1872 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1874 * tools/gst-inspect.c:
1875 * tools/gst-launch.c:
1876 * tools/gst-typefind.c:
1877 * tools/gst-xmlinspect.c:
1879 Fix up includes: need to include stdlib.h in tools.h for exit().
1881 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1883 * gst/gsttaglist.c: (_gst_tag_initialize):
1885 API: add GST_TAG_IMAGE tag (#340721).
1887 2006-05-08 Wim Taymans <wim@fluendo.com>
1890 Added some docs for the segment query.
1892 2006-05-08 Wim Taymans <wim@fluendo.com>
1894 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1895 (gst_base_src_loop), (gst_base_src_change_state):
1896 Always push non-flushing serialized events in the streaming
1899 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
1901 * gst/gsterror.c: (_gst_stream_errors_init):
1902 Add a missing error string.
1904 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
1906 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
1907 Add applied_rate to the debug
1909 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1910 Copy applied_rate into the outgoing NEWSEGMENT event
1912 2006-05-08 Wim Taymans <wim@fluendo.com>
1914 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
1916 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
1917 (gst_base_sink_change_state):
1918 call ::unlock before taking the PREROLL_LOCK so we can safely
1919 handle elements that lock in ::render.
1922 2006-05-08 Edward Hervey <edward@fluendo.com>
1924 * autogen.sh: (CONFIGURE_DEF_OPT):
1925 Darwin's libtoolize is in fact called glibtoolize.
1926 Adding glibtoolize to the list of accepted names for libtoolize.
1928 2006-05-08 Wim Taymans <wim@fluendo.com>
1930 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1931 Unify error handling, don't post an error message
1932 when a push() returns EOS but perform our normal EOS
1933 handling code. Fixes #340772.
1935 2006-05-08 Wim Taymans <wim@fluendo.com>
1937 * docs/design/part-overview.txt:
1938 Make upsteam/downstream concepts more clear.
1939 Give an example of serialized/non-serialized events.
1941 * docs/design/part-events.txt:
1942 * docs/design/part-streams.txt:
1943 Mention applied_rate.
1945 * docs/design/part-trickmodes.txt:
1946 Mention applied rate, flesh out some more use cases.
1948 * gst/gstevent.c: (gst_event_new_new_segment),
1949 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
1950 (gst_event_parse_new_segment_full), (gst_event_new_tag),
1951 (gst_event_parse_tag), (gst_event_new_buffer_size),
1952 (gst_event_parse_buffer_size), (gst_event_new_qos),
1953 (gst_event_parse_qos), (gst_event_parse_seek),
1954 (gst_event_new_navigation):
1956 Add applied_rate field to NEWSEGMENT event.
1957 API: gst_event_new_new_segment_full()
1958 API: gst_event_parse_new_segment_full()
1960 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
1961 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
1962 (gst_segment_to_stream_time), (gst_segment_to_running_time):
1964 Add applied_rate to GstSegment structure.
1965 Make calculation of stream_time and running_time more correct
1966 wrt rate/applied_rate.
1968 API: GstSegment::applied_rate field
1969 API: gst_segment_set_newsegment_full();
1971 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1972 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
1973 * libs/gst/base/gstbasetransform.c:
1974 (gst_base_transform_sink_eventfunc),
1975 (gst_base_transform_handle_buffer):
1976 Parse and use applied_rate in the GstSegment field.
1978 * tests/check/gst/gstevent.c: (GST_START_TEST):
1979 Add check for applied_rate field.
1981 * tests/check/gst/gstsegment.c: (GST_START_TEST),
1982 (gstsegments_suite):
1983 Add more checks for various GstSegment operations.
1985 2006-05-08 Wim Taymans <wim@fluendo.com>
1987 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1988 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
1989 (gst_base_sink_get_position), (gst_base_sink_change_state):
1990 Store the sync time of the buffer end position separatly in a
1991 new variable eos_rtime so we can properly sync the EOS event.
1993 Fix the docs for gst_base_sink_set_qos_enabled().
1994 Don't set segment start to invalid value when we receive a
1995 non TIME newsegment.
1996 get closer to handling position reporting for negative rates
1999 2006-05-07 Stefan Kost <ensonic@users.sf.net>
2002 Docs about how to print caps for debug purposes.
2004 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
2005 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
2007 2006-05-07 Stefan Kost <ensonic@users.sf.net>
2010 use full enum names and preprend a '%' in docs strings to make recent
2011 gtk-doc turn that into a link
2013 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
2015 * docs/manual/basics-bins.xml:
2016 * docs/manual/basics-bus.xml:
2017 * docs/manual/basics-pads.xml:
2018 Some typo fixes, some additions, some clarifications.
2020 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
2022 * tools/gst-inspect.c: (main):
2023 * tools/gst-launch.c: (main):
2024 * tools/gst-run.c: (main):
2025 * tools/gst-typefind.c: (main):
2026 * tools/gst-xmlinspect.c: (main):
2027 Use the string passed to g_option_context_new() for
2028 what it's intended for - the program name is already
2031 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
2033 * tools/Makefile.am:
2034 * tools/gst-inspect.c: (main):
2035 * tools/gst-launch.c: (main):
2036 * tools/gst-xmlinspect.c: (main):
2038 Add back --version command line option (#340460).
2040 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
2041 Add --version option and use GOption for argument parsing; refactor a
2042 bit; accept directories as arguments and recurse into them; lastly,
2043 print a decent error message when things go wrong.
2045 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
2047 * docs/manual/basics-bins.xml:
2048 Don't mention GstThread (#340611)
2049 * docs/manual/basics-elements.xml:
2050 Update link to GObject tutorial (#340607)
2052 2006-05-05 Wim Taymans <wim@fluendo.com>
2055 * gst/gstminiobject.c:
2056 Add note about refcounting and miniobject/buffer writeability
2057 to docs. Fixes #340604
2059 * gst/gstelementfactory.h:
2060 Added some explanation about @klass.
2062 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
2064 * docs/manual/intro-motivation.xml:
2065 * docs/manual/manual.xml:
2066 Avoid CORBA & Bonobo references (#340598)
2068 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
2070 * docs/manual/basics-bus.xml:
2071 * docs/manual/basics-pads.xml:
2072 Fix up some inaccuracies and omissions (#340609)
2074 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
2076 * gst/gstghostpad.c:
2077 Small typo in docs (#340625)
2079 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
2081 * gst/parse/Makefile.am:
2082 Make 'make -j' proof (see #340698).
2084 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
2087 Require GLib-2.8 here as well.
2089 2006-05-05 Wim Taymans <wim@fluendo.com>
2091 * gst/glib-compat.c:
2092 * gst/gst.c: (init_pre):
2093 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
2094 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
2095 (gst_object_dispatch_properties_changed):
2097 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
2098 * gst/gststructure.c: (gst_structure_set_valist):
2099 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2100 Remove pre glib2.8 compatibility, fixes #340508
2102 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
2105 Mention type of tags in doc blurbs.
2107 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
2109 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
2110 (gst_pad_configure_src), (gst_pad_push):
2111 Restore acceptcaps checking behaviour now that good plugins have
2114 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
2116 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
2127 * gst/parse/Makefile.am:
2128 * libs/gst/base/gstadapter.c:
2129 * libs/gst/base/gstbasesrc.c:
2130 * libs/gst/base/gstpushsrc.c:
2131 * libs/gst/base/gsttypefindhelper.c:
2132 * plugins/elements/gstfakesrc.c:
2133 * plugins/elements/gstidentity.c:
2134 Make sure gstprivate.h and/or config.h are
2135 always included first, otherwise some of our
2136 defines (like _FILE_OFFSET_BITS) might be
2137 redefined in the system headers. Fixes build
2138 on opensolaris (#340016).
2140 2006-05-04 Wim Taymans <wim@fluendo.com>
2142 * docs/libs/gstreamer-libs-sections.txt:
2143 API: addition: gst_adapter_take_buffer()
2145 * libs/gst/base/gstadapter.c: (gst_adapter_push),
2146 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
2147 (gst_adapter_available_fast):
2148 * libs/gst/base/gstadapter.h:
2149 Prepare for optimizing the hell out of this hugely inefficient
2151 Added gst_adapter_take_buffer() so we can at least start thinking
2152 about subbuffering and merging.
2153 Added some comments.
2155 * tests/check/Makefile.am:
2156 * tests/check/libs/adapter.c: (GST_START_TEST),
2157 (gst_adapter_suite), (main):
2158 Added GstAdapter check.
2160 2006-05-04 Wim Taymans <wim@fluendo.com>
2162 * docs/design/part-overview.txt:
2163 Fix some typos, add blurb about buffer flags.
2165 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
2167 * docs/libs/gstreamer-libs-sections.txt:
2168 make sure GstBaseTransformClass shows up in the docs
2169 * libs/gst/base/gstbasetransform.c:
2170 * libs/gst/base/gstbasetransform.h:
2171 move docs so gtk-doc picks it up now
2173 2006-05-02 Stefan Kost <ensonic@users.sf.net>
2175 * docs/libs/gstreamer-libs-sections.txt:
2176 add missing symbols to docs
2178 2006-05-02 Stefan Kost <ensonic@users.sf.net>
2180 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2181 back out the newsegment handling change, see #340060 for ongoing
2184 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
2186 * tools/gst-run.c: (get_candidates), (main):
2187 Fix wrong g_file_test() usage (see glib docs for why it doesn't
2188 work); fix typo in error message. Fixes #340079.
2190 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
2192 * common/Makefile.am:
2194 * docs/faq/Makefile.am:
2195 * docs/gst/Makefile.am:
2196 * docs/libs/Makefile.am:
2197 * docs/manual/Makefile.am:
2198 * docs/plugins/Makefile.am:
2199 * docs/pwg/Makefile.am:
2200 * docs/slides/Makefile.am:
2202 * common/upload.mak:
2203 move upload.mak to common
2205 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
2207 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2208 add more asserts on refcounts
2209 do more cleanup at end of tests
2210 fix test leaks showing in FC5
2212 2006-04-29 Stefan Kost <ensonic@users.sf.net>
2214 * plugins/elements/gsttypefindelement.c:
2215 (gst_type_find_element_handle_event):
2216 reverted wrong change and reflowed code to avoid others falling into
2219 2006-04-28 Stefan Kost <ensonic@users.sf.net>
2221 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2222 fix changelog entry about last collectpads change,
2223 add notes about proper fix
2225 2006-04-28 Stefan Kost <ensonic@users.sf.net>
2228 * gst/gstregistry.c: (gst_registry_scan_path_level),
2229 (gst_registry_scan_path):
2230 * gst/gstregistry.h:
2231 only write out registry if it has changed, fixes #338339
2233 2006-04-28 Stefan Kost <ensonic@users.sf.net>
2236 * gst/gstpipeline.c:
2237 * plugins/elements/gstcapsfilter.c:
2238 * plugins/elements/gstfakesink.c:
2239 * plugins/elements/gstfakesrc.c:
2240 * plugins/elements/gstfdsink.c:
2241 * plugins/elements/gstfdsrc.c:
2242 * plugins/elements/gstfilesink.c:
2243 * plugins/elements/gstfilesrc.c:
2244 * plugins/elements/gstidentity.c:
2245 * plugins/elements/gstqueue.c:
2246 * plugins/elements/gsttee.c:
2247 * plugins/elements/gsttypefindelement.c:
2248 (gst_type_find_element_handle_event):
2249 make GstElementDetails const
2251 2006-04-28 Stefan Kost <ensonic@users.sf.net>
2253 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
2254 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2255 (gst_collect_pads_is_collected), (gst_collect_pads_event):
2256 more detailed debug and formatting cleanup,
2257 forward newsegments to src-pad (so that e.g. adder not eats them)
2259 2006-04-28 Stefan Kost <ensonic@users.sf.net>
2261 * gst/gstutils.c: (gst_element_link_pads):
2264 2006-04-28 Stefan Kost <ensonic@users.sf.net>
2266 * libs/gst/controller/gstcontroller.c:
2267 (gst_controller_sync_values):
2269 * tests/check/libs/controller.c: (GST_START_TEST),
2270 (gst_controller_suite):
2271 a new test for live value handling
2273 2006-04-28 Wim Taymans <wim@fluendo.com>
2275 * gst/gstutils.c: (push_and_ref):
2276 Added some more docs.
2277 Fix refcount issue whith gst_element_found_tags() helper
2278 function. Fixes #338335
2280 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
2281 Added testsuite for gst_element_found_tags().
2283 2006-04-28 Michael Smith <msmith@fluendo.com>
2285 * gst/gstvalue.c: (gst_value_serialize_flags):
2286 Avoid NULL dereference when trying to serialize flags containing
2289 2006-04-28 Michael Smith <msmith@fluendo.com>
2291 * plugins/elements/gsttypefindelement.c:
2292 (gst_type_find_element_handle_event):
2293 If we get EOS before any data is accumulated, don't use
2294 uninitialised local variables.
2296 2006-04-28 Michael Smith <msmith@fluendo.com>
2298 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
2299 (gst_dp_event_from_packet):
2300 Fixes in reading/writing events over GDP (not currently used?) -
2301 dereferencing NULL events for unknown/invalid event types, memory
2302 leak, and change g_warning to GST_WARNING.
2304 2006-04-28 Wim Taymans <wim@fluendo.com>
2306 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
2307 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
2308 (gst_base_sink_get_position), (gst_base_sink_change_state):
2309 When frame dropping is enabled, we should not ignore frames
2311 Update some documentation.
2313 2006-04-28 Wim Taymans <wim@fluendo.com>
2315 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2316 (gst_base_src_send_event), (gst_base_src_change_state):
2317 Documentation updates.
2319 2006-04-28 Wim Taymans <wim@fluendo.com>
2321 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2322 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
2323 handle EAGAIN, EINTR and short writes correctly. Also clean
2324 up some error cases, avoid a deadlock on bad file descriptors and
2325 use GST_DEBUG_OBJECT.
2328 2006-04-28 Wim Taymans <wim@fluendo.com>
2330 * gst/gstvalue.c: (gst_value_serialize_buffer),
2331 (gst_value_deserialize_buffer):
2332 Don't try to serialize a GValue with a NULL buffer.
2335 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2336 Added check for serialisation of NULL buffers.
2338 2006-04-28 Wim Taymans <wim@fluendo.com>
2340 * gst/gstminiobject.c: (gst_value_take_mini_object):
2341 Taking a NULL miniobject is valid, fix the case where
2342 we try to unref the NULL miniobject.
2344 2006-04-28 Wim Taymans <wim@fluendo.com>
2346 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2348 * gst/gstbin.c: (gst_bin_handle_message_func):
2350 Don't leak bin refcount when a state recalc is
2351 in progress and we delay another one #339808.
2353 2006-04-28 Wim Taymans <wim@fluendo.com>
2355 * docs/design/part-TODO.txt:
2356 Mention QoS as an ongoing work item.
2358 * docs/design/part-buffering.txt:
2359 New doc about buffering that needs to be fleshed out
2362 * docs/design/part-qos.txt:
2363 More QoS policy for decoders/demuxers/transforms
2365 * docs/design/part-trickmodes.txt:
2368 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
2373 === release 0.10.5 ===
2375 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
2378 releasing 0.10.5, "Fogo"
2380 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
2382 patch by: Wim Taymans
2384 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
2385 (gst_pad_configure_src), (gst_pad_push):
2386 * gst/gstpipeline.c: (gst_pipeline_init):
2387 Fix internal data flow errors. Fixes #338711.
2389 2006-04-12 Wim Taymans <wim@fluendo.com>
2391 * tests/check/gst/gstelement.c: (GST_START_TEST):
2392 Don't leak the factory.
2394 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
2397 * win32/common/config.h:
2400 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
2402 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2403 (gst_controller_unset_all):
2404 Free allocated GstTimedValues when freeing list nodes.
2405 Should fix leaks 'make check-valgrind' complains about.
2407 * win32/common/libgstcontroller.def:
2408 Add gst_controller_unset_all.
2410 2006-04-11 Stefan Kost <ensonic@users.sf.net>
2412 * docs/libs/gstreamer-libs-sections.txt:
2413 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2414 (gst_controller_unset_all):
2415 * libs/gst/controller/gstcontroller.h:
2416 API: Added new method gst_controller_unset_all()
2417 fixed gst_controller_unset()
2418 * tests/check/libs/controller.c: (GST_START_TEST),
2419 (gst_controller_suite):
2420 Added two testcases for new and fixed method
2422 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
2424 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
2425 MSG_DONTWAIT is not defined on Cygwin, so work
2426 around that (fixes #317048).
2428 2006-04-11 Wim Taymans <wim@fluendo.com>
2430 * gst/gstelementfactory.c: (gst_element_register),
2431 (gst_element_factory_create), (gst_element_factory_make):
2434 Updated docs (Fixes #131079)
2436 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2439 * tests/check/gst/gstelement.c: (GST_START_TEST),
2440 (gst_element_suite):
2441 Added testcase for elementfactory class field.
2443 2006-04-10 Wim Taymans <wim@fluendo.com>
2446 Added some more docs.
2448 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
2449 (gst_base_sink_reset_qos):
2450 Calculate more accurate rate values.
2452 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
2454 * gst/gst_private.h:
2455 add a new #ifdef to use __declspec(dllimport) only for
2456 other modules and not for gstreamer core
2457 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
2458 use gst_guint64_to_gdouble for conversion
2459 * win32/common/libgstreamer.def:
2460 add new exported functions
2461 * win32/vs6/gst_inspect.dsp:
2462 * win32/vs6/gst_launch.dsp:
2463 * win32/vs6/libgstbase.dsp:
2464 * win32/vs6/libgstcontroller.dsp:
2465 * win32/vs6/libgstcoreelements.dsp:
2466 * win32/vs6/libgstdataprotocol.dsp:
2467 * win32/vs6/libgstnet.dsp:
2468 update project files
2470 2006-04-08 Stefan Kost <ensonic@users.sf.net>
2472 * gst/gstbuffer.c: (gst_subbuffer_class_init):
2473 * gst/gstclock.c: (gst_clock_class_init):
2474 * gst/gstelement.c: (gst_element_class_init):
2475 * gst/gstindex.c: (gst_index_class_init):
2476 * gst/gstindexfactory.c: (gst_index_factory_class_init):
2477 * gst/gstobject.c: (gst_object_class_init),
2478 (gst_signal_object_class_init):
2479 * gst/gstpad.c: (gst_pad_class_init):
2480 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
2481 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
2482 * gst/gstregistry.c: (gst_registry_class_init):
2483 * gst/gstsystemclock.c: (gst_system_clock_class_init):
2484 * gst/gsttask.c: (gst_task_class_init):
2485 * gst/gstxml.c: (gst_xml_class_init):
2486 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2487 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2488 (gst_base_src_loop):
2489 * libs/gst/controller/gstcontroller.c:/
2490 (_gst_controller_class_init):
2491 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2492 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2493 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
2494 * tests/old/examples/plugins/example.c: (gst_example_class_init):
2495 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
2496 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
2498 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
2500 * gst/gstpad.c: (gst_pad_link):
2501 Must set peer pads before calling the link function, otherwise
2502 a task started from a link function might get a flow-not-linked
2503 result when trying to push because the other thread where the
2504 linking happens hasn't had a chance to set the peers yet. This
2505 might happen for example when a queue gets linked to a downstream
2506 element, as queue starts a streaming task when its source pad
2507 gets linked. Happens in real life when playing back flac/musepack
2508 files in playbin (#332390).
2510 2006-04-08 Stefan Kost <ensonic@users.sf.net>
2514 * libs/gst/base/gstadapter.h:
2515 * libs/gst/base/gstbasesink.h:
2516 * libs/gst/base/gstbasesrc.h:
2517 * libs/gst/base/gstbasetransform.h:
2518 * libs/gst/base/gstcollectpads.h:
2519 * libs/gst/base/gstpushsrc.h:
2520 Fix broken GObject macros
2522 2006-04-07 Wim Taymans <wim@fluendo.com>
2524 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2525 Initialize start and stop times, thanks valgrind.
2527 2006-04-07 Wim Taymans <wim@fluendo.com>
2529 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2530 Be a bit nicer to badly behaving upstream elements that expect
2531 us to deal with non TIME segments and timestamps (such as fakesrc
2534 2006-04-07 Wim Taymans <wim@fluendo.com>
2537 Small documentation clarification about the signal watch.
2539 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2540 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
2541 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2542 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
2543 (gst_base_sink_get_position_last),
2544 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
2545 Convert and store timestamps in stream time and running time, the
2546 raw timestamps are not usefull, also document this better.
2547 Use different window sizes for good and bad QoS observations so
2548 we react to badness a little quicker.
2549 Keep track of the amount of rendered and dropped buffers.
2550 Send QoS timestamps in running time.
2552 * libs/gst/base/gstbasetransform.c:
2553 (gst_base_transform_sink_eventfunc),
2554 (gst_base_transform_handle_buffer):
2555 Compare QoS timestamps against running time.
2557 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
2562 2006-04-06 Michael Smith <msmith@fluendo.com>
2564 * gst/gstpad.c: (gst_pad_set_property):
2565 Use g_value_get_object() instead of g_value_dup_gst_object(),
2566 to avoid double-reffing the pad template (which we then sink,
2567 so this worked previously if (and only if) the pad template
2570 * gst/gstpadtemplate.c: (gst_pad_template_init),
2571 (gst_pad_template_pad_created):
2572 Never return floating references to pad templates, create
2573 them as initially-sunken.
2575 Document an extra function (and make this stop sinking our
2576 pad template, since that is now guaranteed to do nothing,
2577 since we created it sunken).
2579 * gst/gstghostpad.c:
2582 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
2584 * gst/gstinfo.c: (__gst_in_valgrind):
2587 * plugins/elements/gsttypefindelement.c:
2588 (gst_type_find_element_chain):
2589 Don't leak buffer caps.
2591 2006-04-06 Michael Smith <msmith@fluendo.com>
2593 * gst/parse/grammar.y:
2594 Fix a leak in parse-launch for any source-or-sink named element
2597 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
2598 Unref the pipeline if it exists after we've failed parsing.
2600 2006-04-05 Michael Smith <msmith@fluendo.com>
2602 * gst/gstpipeline.c: (gst_pipeline_init):
2603 When we create a pipeline bus, initially create it in flushing mode.
2604 Fixes leaks in at least one test, and makes a new pipeline work the
2605 same as one that has gone to READY and then back to NULL.
2610 2006-04-05 Michael Smith <msmith@fluendo.com>
2612 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2613 Unref a pad we reffed.
2614 * tests/check/gst/gstutils.c: (GST_START_TEST):
2617 2006-04-05 Michael Smith <msmith@fluendo.com>
2619 * gst/gstquery.c: (gst_query_set_formats),
2620 (gst_query_set_formatsv):
2621 Fix leaking GValues in queries, as shown by valgrind/testsuite.
2623 2006-04-05 Michael Smith <msmith@fluendo.com>
2625 * tests/check/generic/sinks.c: (GST_START_TEST):
2626 Fix a variety of memleaks in sinks check, which are only sometimes
2627 shown by running the tests under valgrind (weird?).
2629 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
2631 * docs/version.entities.in:
2632 Fix the substituted entity name after thomas' changes on the
2635 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2637 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
2640 2006-04-05 Andy Wingo <wingo@pobox.com>
2642 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
2644 * libs/gst/base/gstbasetransform.c
2645 (gst_base_transform_sink_eventfunc): When resetting our segment on
2646 FLUSH_STOP, also update the flag saying we haven't seen a
2649 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
2651 Patch by: Paolo Borelli <pborelli at katamail dot com>
2653 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
2654 (gst_plugin_check_license):
2655 minor clean-ups: G_DEFINE_TYPE already takes care of the
2656 parent_class stuff, no need to do it twice. Mark array of
2657 license strings as constant. (#337103)
2659 2006-04-04 Michael Smith <msmith@fluendo.com>
2661 * tools/gst-inspect.c: (print_element_list):
2662 Free the right plugin list; fixes a memory leak.
2664 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
2666 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2668 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2669 Don't error out on empty buffers (#336945).
2671 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
2673 * docs/libs/gstreamer-libs-sections.txt:
2675 * libs/gst/base/gstbasesink.c:
2676 * libs/gst/base/gstbasesink.h:
2677 * libs/gst/base/gstbasesrc.c:
2678 * libs/gst/base/gstbasesrc.h:
2679 Documentation updates. Make BaseSink and BaseSrc docs contain the
2680 class structure so that people can actually see the prototypes for
2681 virtual functions they're supposed to be overriding.
2683 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
2685 * plugins/elements/gsttypefindelement.c:
2686 (gst_type_find_element_chain):
2687 More debug info; when skipping typefinding, send cached
2688 events in all cases.
2690 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
2693 use new AS_VERSION and AS_NANO macros
2694 * gst/gst-i18n-lib.h:
2697 * gst/gstversion.h.in:
2698 * win32/common/config.h:
2699 * win32/common/config.h.in:
2702 2006-03-31 Michael Smith <msmith@fluendo.com>
2704 * plugins/elements/gsttypefindelement.c:
2705 (gst_type_find_element_chain):
2706 Do not typefind content if the buffers already have caps.
2707 Neccesary for icydemux (#333657), and the right thing to do anyway.
2709 2006-03-30 Wim Taymans <wim@fluendo.com>
2711 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2712 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
2713 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
2714 (gst_base_sink_record_qos_observation),
2715 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2716 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
2717 (gst_base_sink_change_state):
2718 More QoS measurements as described in the design doc.
2719 Get rid of ringbuffer with observations, running average is
2720 more simple and equally good.
2721 Calculates valid proportion now.
2722 Added beginning of flood measurement.
2724 2006-03-29 Wim Taymans <wim@fluendo.com>
2726 * docs/design/part-qos.txt:
2728 Small documentation updates and additions.
2730 2006-03-29 Wim Taymans <wim@fluendo.com>
2732 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
2733 (gst_base_src_send_event), (gst_base_src_loop),
2734 (gst_base_src_change_state):
2735 Perform the EOS logic when we reach the segment stop position.
2736 Fix compilation on gcc4.1
2738 2006-03-29 Wim Taymans <wim@fluendo.com>
2740 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2742 * plugins/elements/gstqueue.c: (gst_queue_init),
2743 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
2744 (gst_queue_set_property):
2745 * plugins/elements/gstqueue.h:
2746 In queue, when EOS is received, if minimum threshold > max_size -
2747 current_level, there is chance that queue blocks forever in conditional
2748 item del wait. This is because the queue is not emptied completely due
2749 to minimum threshold. Here is another approach. Instead of setting
2750 cur_levels to max in EOS, just zero all minimum threshold levels. This
2751 should make sure that queue gives out all data. When going to READY
2752 (stop) state, just reset the original minimum threshold levels.
2755 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
2757 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
2758 (gst_type_find_element_handle_event),
2759 (gst_type_find_element_send_cached_events),
2760 (gst_type_find_element_change_state):
2761 * plugins/elements/gsttypefindelement.h:
2762 When typefinding is done in push mode, we should cache
2763 events we receive during typefinding instead of just
2764 dropping them (e.g. newsegment, custom events from
2765 dvdreadsrc etc.) and then send them out once we've
2766 determined the type of the stream (and decodebin
2767 has had a chance to plug in a decoder/demuxer).
2769 2006-03-27 Wim Taymans <wim@fluendo.com>
2771 * docs/design/part-qos.txt:
2774 2006-03-27 Wim Taymans <wim@fluendo.com>
2776 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
2778 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
2779 (gst_base_src_send_event), (gst_base_src_change_state):
2780 Handle element seek correctly when we are streaming.
2783 2006-03-24 Michael Smith <msmith@fluendo.com>
2785 * docs/faq/gst-uninstalled:
2786 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
2787 allow you to correctly run intalled applications built against old
2788 core, using plugins that require updated core (e.g. running
2789 installed totem against a full uninstalled gstreamer stack)
2791 2006-03-24 Stefan Kost <ensonic@users.sf.net>
2793 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
2796 2006-03-24 Wim Taymans <wim@fluendo.com>
2798 * docs/gst/gstreamer-sections.txt:
2799 Rearrange the order of the methods so that related methods
2800 are grouped together in sections.
2802 2006-03-24 Stefan Kost <ensonic@users.sf.net>
2805 Little clarification in the docs
2807 2006-03-24 Stefan Kost <ensonic@users.sf.net>
2811 * plugins/elements/gstidentity.c:
2812 * plugins/elements/gstqueue.c:
2813 * plugins/elements/gsttee.c:
2814 * plugins/elements/gsttypefindelement.c:
2815 GST_ELEMENT_DETAILS formatting
2817 2006-03-24 Wim Taymans <wim@fluendo.com>
2819 * libs/gst/base/gstbasesink.h:
2820 Only add fields, not insert or we break ABI.
2822 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
2824 * win32/common/libgstbase.def:
2825 * win32/common/libgstreamer.def:
2826 Update, add recently added functions.
2828 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
2830 * docs/gst/gstreamer-sections.txt:
2831 * gst/gstutils.c: (gst_pad_query_peer_position),
2832 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
2834 API: add some new utility functions:
2835 - gst_pad_query_peer_position()
2836 - gst_pad_query_peer_duration()
2837 - gst_pad_query_peer_convert()
2839 2006-03-23 Wim Taymans <wim@fluendo.com>
2841 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2842 (gst_base_sink_init), (gst_base_sink_finalize),
2843 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
2844 (gst_base_sink_set_property), (gst_base_sink_get_property),
2845 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
2846 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
2847 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
2848 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2849 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
2850 (gst_base_sink_preroll_object), (gst_base_sink_event),
2851 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
2852 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
2853 (gst_base_sink_query), (gst_base_sink_change_state):
2854 Decouple max-lateness and the fact that QoS messages are generated
2855 with a new property (qos).
2856 added API: GstBaseSink::async_play()
2857 Add vmethod so subclasses can be notified of ASYNC playing
2859 Collect timestamp start and stop to report better current
2860 position in EOS/PLAYING/PAUSED/READY/NULL.
2861 Refactor QoS/frame dropping and other measurements.
2862 API: GstBaseSrc::qos
2865 * libs/gst/base/gstbasesink.h:
2866 Added Private struct.
2867 API: gst_base_sink_set_qos_enabled()
2868 API: gst_base_sink_is_qos_enabled()
2870 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
2872 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
2873 If compiling against GLib-2.8 or newer, try to read the
2874 registry file using GMappedFile first before falling back
2875 to fopen() + fread() (#332151).
2877 2006-03-22 Wim Taymans <wim@fluendo.com>
2879 * gst/gstinfo.c: (gst_debug_set_active),
2880 (gst_debug_category_set_threshold):
2881 Disable debugging unless explicitly activated.
2884 2006-03-22 Wim Taymans <wim@fluendo.com>
2886 * gst/gstelement.c: (gst_element_set_locked_state),
2887 (gst_element_dispose):
2888 Cleanup the error case.
2890 * gst/gstobject.c: (gst_object_dispose):
2891 print a critical when some object was disposed with
2892 a parent, also revive the object since it might
2895 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
2897 * tools/gst-launch.1.in:
2900 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
2903 * tests/check/Makefile.am:
2904 disable some tests when we don't have a registry
2905 * tests/check/gst/gstutils.c: (gst_utils_suite):
2906 don't build the part that needs parsing
2908 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
2911 * tests/examples/Makefile.am:
2912 fix --disable-parse build
2914 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2916 * tools/gst-feedback.1.in:
2917 Fix typo: s/feeback/feedback/ (#133494).
2919 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2921 * tools/Makefile.am:
2922 * tools/gst-launch.1.in:
2923 Add FILES section and correct entry about GST_REGISTRY_PATH
2924 environment variable (#133495; #133494).
2926 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2928 * tools/Makefile.am:
2929 * tools/gst-md5sum.1.in:
2930 * tools/gst-md5sum.c:
2931 Remove gst-md5sum and man page (the md5sink element
2932 required was removed ages ago)
2934 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2936 * gst/gststructure.c: (gst_structure_id_set_value):
2937 Make sure that string fields in structures/taglists
2938 contain valid UTF-8 - we don't want to pass rubbish to
2939 applications because of a buggy plugin (cp. #334167).
2941 2006-03-21 Edward Hervey <edward@fluendo.com>
2943 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2944 (gst_bin_handle_message_func):
2945 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
2946 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
2947 (gst_element_set_bus_func):
2948 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
2949 * gst/gstminiobject.c: (gst_value_set_mini_object),
2950 (gst_value_take_mini_object):
2951 * gst/gstpad.c: (gst_pad_set_pad_template):
2952 * gst/gstpipeline.c: (gst_pipeline_dispose),
2953 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2954 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
2955 (gst_collect_pads_chain):
2956 * libs/gst/net/gstnettimeprovider.c:
2957 (gst_net_time_provider_set_property):
2958 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
2959 It's in fact all issues with gst_*object_replace().
2961 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2963 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
2965 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2966 * pkgconfig/gstreamer-check.pc.in:
2967 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
2969 2006-03-21 Edward Hervey <edward@fluendo.com>
2974 gst_[buffer|event|message]_ref() macros are replaced by a static
2975 inline functions because gcc-4.1 will about if the return value
2977 * tests/check/gst/gstevent.c: (event_probe):
2978 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
2980 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
2983 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
2984 the type' case. (Closes: #335195 for now). In the future, when we
2985 depend on GLib 2.10, we could also intern the type name using
2986 g_intern_static_string()
2988 2006-03-20 Wim Taymans <wim@fluendo.com>
2990 * gst/gstbin.c: (gst_bin_handle_message_func),
2991 (bin_query_max_init), (bin_query_position_fold),
2992 (bin_query_position_done), (gst_bin_query):
2993 Position query should also take max of all streams.
2995 2006-03-20 Wim Taymans <wim@fluendo.com>
2997 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2998 (gst_fake_src_finalize):
2999 Fix leaks in fakesrc.
3001 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3002 Fix leaks in the testcase.
3004 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
3006 * gst/gst_private.h:
3007 add win32 specific import decoration(__declspec(dllimport))
3008 for all extern GstDebugCategory * variables
3009 * win32/common/libgstbase.def:
3010 * win32/common/libgstcontroller.def:
3011 * win32/common/libgstreamer.def:
3012 Add some exports, remove empty lines
3013 * win32/common/libgstdataprotocol.def:
3014 * win32/common/libgstdataprotocol.dsp:
3015 * win32/common/libgstnet.def:
3016 * win32/common/libgstnet.dsp:
3017 new project files and exportation files added
3019 2006-03-19 Wim Taymans <wim@fluendo.com>
3021 * tests/check/libs/basesrc.c: (eos_event_counter):
3022 Use proper return value for probe.
3024 2006-03-17 Wim Taymans <wim@fluendo.com>
3026 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
3028 Don't leak buffers, caps and pads on negotiation errors.
3030 2006-03-16 Stefan Kost <ensonic@users.sf.net>
3033 * docs/faq/dependencies.xml:
3034 * docs/faq/developing.xml:
3036 * docs/faq/general.xml:
3037 * docs/faq/getting.xml:
3038 * docs/faq/legal.xml:
3039 * docs/faq/troubleshooting.xml:
3040 * docs/faq/using.xml:
3041 Faq review and update.
3043 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
3045 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
3047 Don't pound the cpu to pieces by checking get_caps when accept_caps
3048 is called with the same caps as the pad already has.
3049 Use GST_DEBUG_OBJECT when outputting caps change information.
3051 2006-03-15 Wim Taymans <wim@fluendo.com>
3053 * gst/gstclock.c: (gst_clock_class_init):
3056 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
3061 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
3062 (gst_pad_accept_caps), (gst_pad_configure_sink),
3063 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
3064 Make the default acceptcaps behaviour be to check the requested
3065 caps against the gst_pad_get_caps output.
3067 Ensure that gst_pad_accept_caps is used to check caps when a pad
3068 doesn't have a setcaps function, so that pads automatically refuse
3069 caps that they don't allow in their pad template. (Fixes #332986)
3071 When a buffer with attached caps is pushed, ensure that the source
3072 pad receives those caps even if the element didn't call
3073 gst_pad_set_caps first.
3075 2006-03-15 Wim Taymans <wim@fluendo.com>
3077 * libs/gst/base/gstadapter.c:
3080 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
3082 * win32/common/libgstbase.def:
3083 * win32/common/libgstcontroller.def:
3084 * win32/common/libgstreamer.def:
3085 Add a whole bunch of missing functions (#334434).
3087 2006-03-14 Wim Taymans <wim@fluendo.com>
3089 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3090 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
3091 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
3092 Better debug info when we receive a segment event.
3093 Reorganize a bit so we can pass the get_times() results around.
3094 Use the segment format when calculating the running time.
3095 Don't do QoS is sync is disabled or we have no clock or the
3096 element does not want us to sync to the clock.
3097 Don't drop buffers if QoS is disabled for now.
3099 2006-03-14 Wim Taymans <wim@fluendo.com>
3101 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
3102 Marked the stats property as unimplemented so people don't get
3104 Add debug message when regression goes wrong.
3105 Added some more docs.
3107 2006-03-14 Wim Taymans <wim@fluendo.com>
3109 * gst/gstsegment.c: (gst_segment_to_stream_time):
3110 Return correct return type in case of errors.
3112 2006-03-14 Wim Taymans <wim@fluendo.com>
3114 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
3115 Don't segfault on invalid formats.
3117 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
3119 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3120 Can't use gst_segment_to_running_time() when the segment
3121 is not in GST_TIME_FORMAT (like with filesink, for example).
3122 Stops flac encoding pipelines from spewing critical warnings
3125 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
3127 * gst/gstpipeline.c: (gst_pipeline_class_init):
3128 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
3130 * plugins/elements/gsttypefindelement.c:
3131 (gst_type_find_element_handle_event):
3132 Don't try to typefind empty streams.
3134 2006-03-14 Wim Taymans <wim@fluendo.com>
3136 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
3137 (gst_base_sink_do_qos):
3138 Separate QoS calculation.
3139 Only drop buffers when lateness is bigger than the
3140 duration of the buffer.
3142 2006-03-13 Wim Taymans <wim@fluendo.com>
3144 * gst/gstpipeline.c: (gst_pipeline_set_property),
3145 (gst_pipeline_get_property), (do_pipeline_seek),
3146 (gst_pipeline_change_state), (gst_pipeline_set_delay),
3147 (gst_pipeline_get_delay):
3148 Don't deadlock when reading properties.
3150 2006-03-13 Wim Taymans <wim@fluendo.com>
3152 * libs/gst/base/gstbasetransform.c:
3153 (gst_base_transform_class_init), (gst_base_transform_init),
3154 (gst_base_transform_sink_event),
3155 (gst_base_transform_sink_eventfunc),
3156 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
3157 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3158 (gst_base_transform_set_property),
3159 (gst_base_transform_get_property),
3160 (gst_base_transform_change_state), (gst_base_transform_update_qos),
3161 (gst_base_transform_set_qos_enabled),
3162 (gst_base_transform_is_qos_enabled):
3163 * libs/gst/base/gstbasetransform.h:
3164 Make basetransform virtual method for src events too.
3165 Handle QOS in basetransform.
3166 API: gst_base_transform_update_qos()
3167 API: gst_base_transform_set_qos_enabled()
3168 API: gst_base_transform_is_qos_enabled()
3170 2006-03-13 Wim Taymans <wim@fluendo.com>
3172 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3173 (gst_base_sink_do_sync):
3175 Use QOS debug category.
3177 2006-03-13 Wim Taymans <wim@fluendo.com>
3179 * plugins/elements/gstqueue.c:
3180 Very small doc update.
3182 2006-03-13 Wim Taymans <wim@fluendo.com>
3184 * gst/gst_private.h:
3185 * gst/gstinfo.c: (_gst_debug_init):
3186 Added QOS debug category
3188 2006-03-13 Wim Taymans <wim@fluendo.com>
3190 * docs/gst/gstreamer-sections.txt:
3191 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
3193 * gst/gstbus.c: (gst_bus_class_init):
3196 * gst/gstelement.c: (gst_element_set_locked_state):
3198 Documentation updates.
3200 * gst/gstpipeline.c: (gst_pipeline_get_type),
3201 (gst_pipeline_class_init), (gst_pipeline_init),
3202 (gst_pipeline_dispose), (gst_pipeline_set_property),
3203 (gst_pipeline_get_property), (do_pipeline_seek),
3204 (gst_pipeline_send_event), (gst_pipeline_change_state),
3205 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
3206 (gst_pipeline_get_delay):
3207 * gst/gstpipeline.h:
3208 Added methods for setting the delay.
3209 API: gst_pipeline_set_delay()
3210 API: gst_pipeline_get_delay()
3211 Add pipeline debug category
3214 Don't reset stream time when seek failed.
3216 2006-03-13 Wim Taymans <wim@fluendo.com>
3218 * docs/design/draft-klass.txt:
3219 * docs/design/part-clocks.txt:
3220 * docs/design/part-events.txt:
3221 * docs/design/part-gstbin.txt:
3222 * docs/design/part-gstpipeline.txt:
3223 * docs/design/part-messages.txt:
3224 * docs/design/part-negotiation.txt:
3225 * docs/design/part-overview.txt:
3226 * docs/design/part-preroll.txt:
3227 * docs/design/part-seeking.txt:
3228 * docs/design/part-states.txt:
3229 * docs/design/part-streams.txt:
3230 Documentation updates.
3232 2006-03-12 Julien MOUTTE <julien@moutte.net>
3234 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
3235 us to leak strings...
3237 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
3239 * libs/gst/net/gstnettimeprovider.c:
3241 * win32/common/config.h:
3244 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
3246 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
3249 Don't check for libgnomeui (leftover from old examples
3250 that aren't built or disted any longer) (#334303).
3252 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
3254 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3255 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3256 Emit RESOURCE_NO_SPACE_LEFT error here as well when
3257 there's no space left on the device.
3259 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
3262 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
3263 to cast the input to GstClockTime before comparing with
3264 another GstClockTime value.
3266 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
3271 === release 0.10.4 ===
3273 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
3276 releasing 0.10.4, "Light"
3278 2006-03-10 Michael Smith <msmith@fluendo.com>
3280 * libs/gst/dataprotocol/dataprotocol.c:
3281 Fix docs for dataprocotol to not get the return types completely
3282 wrong for a few functions.
3284 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
3286 * docs/gst/gstreamer-sections.txt:
3287 * gst/gstpipeline.c: (gst_pipeline_class_init),
3288 (gst_pipeline_init), (gst_pipeline_set_property),
3289 (gst_pipeline_get_property), (gst_pipeline_change_state),
3290 (gst_pipeline_set_auto_flush_bus),
3291 (gst_pipeline_get_auto_flush_bus):
3292 * gst/gstpipeline.h:
3293 Add new API: gst_pipeline_set_auto_flush_bus() and
3294 gst_pipeline_get_auto_flush_bus() to disable automatic
3295 flushing of the pipeline's GstBus when going from READY
3296 to NULL state (#332045).
3298 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
3300 * docs/gst/gstreamer-sections.txt:
3301 * gst/gsturi.c: (gst_uri_has_protocol):
3303 Add new API: gst_uri_has_protocol() (#333779).
3305 2006-03-09 Wim Taymans <wim@fluendo.com>
3307 * gst/gstclock.c: (gst_clock_entry_new),
3308 (gst_clock_id_compare_func), (gst_clock_id_wait),
3309 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
3310 (gst_clock_init), (gst_clock_get_internal_time),
3311 (gst_clock_set_master), (do_linear_regression),
3312 (gst_clock_add_observation), (gst_clock_set_property):
3316 Fix a possible segfault when the window-size is made smaller.
3317 Calculate jitter before performing the clock wait. Ideally
3318 the clock implementation should calculate jitter but we need
3319 API breakage for that.
3321 * gst/gstsystemclock.c: (gst_system_clock_init):
3324 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3325 Remove leftover else
3327 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3328 (gst_systemclock_suite):
3329 Added check to test GST_CLOCK_DIFF.
3331 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
3333 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
3334 (gst_type_find_helper_get_range):
3335 If we are provided with the size, we should implement
3336 GstTypeFind::get_length, so that typefind functions who
3337 want to can actually peek at the middle of a file.
3339 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
3341 * docs/manual/advanced-dataaccess.xml:
3342 Add some very very basic error checking.
3344 * docs/pwg/appendix-checklist.xml:
3345 Some updates to the list of things to check when writing an element.
3347 2006-03-08 Wim Taymans <wim@fluendo.com>
3349 * docs/design/part-element-transform.txt:
3350 Added some docs about the design of tranform elements.
3352 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3353 (gst_base_src_loop), (gst_base_src_change_state):
3354 Mark buffers with the DISCONT flag.
3356 2006-03-08 Michael Smith <msmith@fluendo.com>
3358 * gst/gstregistry.h:
3359 * gst/gstregistryxml.c: (gst_registry_save),
3360 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
3361 (gst_registry_xml_save_pad_template),
3362 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
3363 (gst_registry_xml_write_cache):
3364 Rewrite registry-saving to avoid race conditions and check for
3367 2006-03-08 Wim Taymans <wim@fluendo.com>
3369 * libs/gst/base/gstbasetransform.c:
3370 (gst_base_transform_transform_caps),
3371 (gst_base_transform_transform_size),
3372 (gst_base_transform_prepare_output_buffer),
3373 (gst_base_transform_get_unit_size),
3374 (gst_base_transform_buffer_alloc),
3375 (gst_base_transform_handle_buffer),
3376 (gst_base_transform_change_state):
3377 Cleanups, separate normal flow from errors, add sensible
3379 Don't try to renegotiate when allocating an output buffer.
3380 Also copy DISCONT buffer flag when copying a buffer.
3381 Reset the transform after we finish streaming, not during.
3383 2006-03-08 Wim Taymans <wim@fluendo.com>
3385 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3386 Use last buffer timestamp in qos message.
3388 2006-03-07 Wim Taymans <wim@fluendo.com>
3390 Patch by: Christophe Fergeau
3392 * docs/pwg/advanced-tagging.xml:
3393 * docs/pwg/building-pads.xml:
3396 2006-03-07 Wim Taymans <wim@fluendo.com>
3398 * docs/libs/gstreamer-libs-sections.txt:
3399 Added basesink new methods.
3403 Docs updates. Flesh out the QoS docs.
3405 * libs/gst/base/gstadapter.c:
3406 Small doc clarification about ownership and flushing.
3408 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
3409 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
3410 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
3411 (gst_base_sink_get_property), (gst_base_sink_do_sync):
3412 * libs/gst/base/gstbasesink.h:
3414 Added new methods to allow subclass to control max-lateness
3416 Generate very basic QoS events based on last sync observation.
3417 Updated docs, fix typo, added some QoS blurb.
3419 * libs/gst/base/gstbasesrc.c:
3420 Remove obsolete _get_state() calls from docs.
3422 2006-03-07 Wim Taymans <wim@fluendo.com>
3424 * docs/libs/gstreamer-libs-sections.txt:
3425 * libs/gst/base/gstbasetransform.h:
3426 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
3427 Fix docs for GstBaseSrc.
3429 2006-03-07 Wim Taymans <wim@fluendo.com>
3431 * docs/gst/gstreamer-sections.txt:
3434 * libs/gst/base/gstbasetransform.h:
3435 Small documentation fixes.
3437 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
3440 Document thread-unsafety of gst_value_register_foo_func()
3441 when used at the same time as gst_value_foo() (#322628).
3443 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
3445 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
3446 (gst_push_src_check_get_range):
3447 Push sources don't support pull mode by default.
3449 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
3451 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3452 (gst_base_src_init), (gst_base_src_pad_check_get_range),
3453 (gst_base_src_default_check_get_range):
3454 * libs/gst/base/gstbasesrc.h:
3455 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
3456 provide default implementation, and rename
3457 gst_base_src_check_get_range() to
3458 gst_base_src_pad_check_get_range() for clarity.
3460 2006-03-06 Wim Taymans <wim@fluendo.com>
3462 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3463 Make property overridable.
3465 2006-03-06 Wim Taymans <wim@fluendo.com>
3467 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3468 (gst_base_sink_init), (gst_base_sink_set_property),
3469 (gst_base_sink_get_property), (gst_base_sink_do_sync):
3470 * libs/gst/base/gstbasesink.h:
3471 API addition: Make max-lateness a property.
3473 2006-03-06 Wim Taymans <wim@fluendo.com>
3475 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
3476 (gst_base_sink_do_sync), (gst_base_sink_render_object):
3477 Don't ever draw a frame that is >10ms late.
3479 2006-03-06 Michael Smith <msmith@fluendo.com>
3481 * gst/gstmessage.c: (_gst_message_copy):
3482 When copying a message, set the parent_refcount of the enclosed
3483 structure to point at the copy, not the original message.
3485 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
3487 Patch by: Christophe Fergeau
3490 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
3491 usable in c++ code (#333417)
3493 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
3496 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
3498 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
3500 * libs/gst/base/gstbasetransform.c:
3501 (gst_base_transform_transform_caps):
3502 Make sure caps are writable before passing them to
3505 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
3508 Fix some minor docs errors.
3510 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
3512 Patch by: Ross Burton <ross at burtonini dot com>
3514 * gst/gsterror.c: (_gst_resource_errors_init):
3516 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
3518 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
3521 Add a check and output a g_warning when GStreamer is built
3522 against GLib 2.6 but running against 2.8 or higher, and vice
3523 versa. (Closes: #323542)
3525 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
3527 * gst/parse/parse.l:
3528 Commit patch for parse_launch syntax from #331255. Removes
3529 support for quoted strings and mimetypes when writing filtered
3530 caps. See the bug report for more details - I'm pretty sure this
3531 obscure feature is not in use by _anyone_ anywhere.
3533 With this simple change, the size of the gstreamer.so here
3534 drops from 2193KB to 1565KB.
3536 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
3538 * plugins/elements/gsttypefindelement.h:
3539 * plugins/elements/gsttypefindelement.c:
3540 (gst_type_find_element_src_event), (start_typefinding),
3541 (stop_typefinding), (gst_type_find_element_handle_event),
3542 (gst_type_find_element_chain),
3543 (gst_type_find_element_chain_do_typefinding):
3544 Use gst_type_find_helper_for_buffer() for chain-based
3547 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
3549 * plugins/elements/gsttypefindelement.c:
3550 (gst_type_find_element_class_init),
3551 (gst_type_find_element_set_property),
3552 (gst_type_find_element_get_property):
3553 Deprecate "maximum" property (not only was it only taken into
3554 account for typefinding in push-mode anyway, it also was never
3555 actually possible to set it in the first place because the
3556 property was registered with the numeric property ID for the
3557 "minimum" property). Register "maximum" property correctly,
3558 for the sake of future copy'n'pasters. Remove some cruft
3559 from property get/set functions.
3561 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
3563 * plugins/elements/gsttypefindelement.c:
3564 (gst_type_find_element_activate):
3565 Use gst_type_find_helper_get_range() here, so we
3566 can honour the "minimum" property and also emit
3567 the signal with the correct probability of the found caps.
3569 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
3571 * docs/libs/gstreamer-libs-sections.txt:
3572 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3573 (helper_find_suggest), (gst_type_find_helper_get_range),
3574 (gst_type_find_helper):
3575 * libs/gst/base/gsttypefindhelper.h:
3576 New API: gst_type_find_helper_get_range() (#333042).
3578 2006-03-02 Michael Smith <msmith@fluendo.com>
3580 * gst/gstregistryxml.c: (load_feature):
3581 Asserting on a failure to read part of the registry is Not Cool.
3582 Just log a warning and return NULL (which is already handled)
3584 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
3586 * win32/common/libgstbase.def:
3587 added export of gst_type_find_helper_for_buffer
3588 * win32/common/libgstbase.def:
3589 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
3590 gst_ghost_pad_get_target
3592 2006-02-28 Wim Taymans <wim@fluendo.com>
3594 * docs/design/draft-klass.txt:
3596 Added Connector to mark elements that are only used to
3597 allow pipeline connections.
3598 Moved Debug to extra feature since most of them are
3599 functionally something else.
3601 2006-02-28 Wim Taymans <wim@fluendo.com>
3603 * docs/design/draft-klass.txt:
3604 Some updates and clarifications.
3606 2006-02-28 Wim Taymans <wim@fluendo.com>
3608 * docs/design/draft-klass.txt:
3609 Proposal for klass field values.
3611 * docs/design/part-streams.txt:
3612 Start of a doc describing stream anatomy.
3614 2006-02-28 Wim Taymans <wim@fluendo.com>
3616 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
3617 Help the compiler a bit with type registration.
3618 Use existing forward cod path instead of duplicating it when
3621 * gst/gstbus.c: (gst_bus_get_type):
3622 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
3623 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
3624 * gst/gstclock.c: (gst_clock_get_type):
3625 * gst/gstelement.c: (gst_element_get_type),
3626 * gst/gstelementfactory.c: (gst_element_factory_get_type):
3627 * gst/gstindexfactory.c: (gst_index_factory_get_type):
3628 * gst/gstminiobject.c: (gst_mini_object_get_type):
3629 * gst/gstpad.c: (gst_pad_get_type):
3630 * gst/gstsegment.c: (gst_segment_get_type):
3631 * gst/gststructure.c: (gst_structure_get_type):
3632 * gst/gstsystemclock.c: (gst_system_clock_get_type):
3633 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
3635 Help compiler with type registration.
3637 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3640 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3642 * plugins/elements/gsttypefindelement.c:
3643 (gst_type_find_element_handle_event):
3644 When we get an EOS event and have not found a type yet
3645 (most likely because we had not yet accumulated
3646 TYPE_FIND_MIN_SIZE of data yet), try to determine the
3647 type given the data we have so far. Fixes typefinding
3648 for very short streams again, most notably quicktime
3649 redirections as used on Apple's trailer site (#331701).
3651 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3653 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
3654 (gst_type_find_helper):
3655 Try typefinding factories with the highest rank first.
3657 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3659 * docs/libs/gstreamer-libs-docs.sgml:
3660 * docs/libs/gstreamer-libs-sections.txt:
3661 * libs/gst/base/gsttypefindhelper.c:
3662 Add section for typefind helper and add documentation
3663 for the old and the new function.
3665 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3667 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
3668 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
3669 (gst_type_find_helper_for_buffer):
3670 * libs/gst/base/gsttypefindhelper.h:
3671 New API: gst_type_find_helper_for_buffer() (#332723).
3673 2006-02-27 Michael Smith <msmith@fluendo.com>
3675 Patch by: Loïc Minier
3679 * docs/slides/Makefile.am:
3680 prevent CVS directories getting disted.
3682 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3684 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
3685 Use the REFCOUNTING category for caps refcounting.
3687 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
3689 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
3690 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
3692 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
3694 * plugins/elements/gsttypefindelement.c:
3695 (gst_type_find_element_activate):
3696 Use gst_pad_check_pull_range() before _activate_pull()
3697 to avoid unnecessary open/close (see #331690).
3699 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
3702 Docs enhancement: make it crystal clear what the
3703 gst_pad_add_*_probe() callbacks should look like.
3705 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
3707 * libs/gst/base/gstbasesrc.c:
3708 Document how applications can stop recording from
3709 live sources (see #330996).
3711 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3713 * tests/check/Makefile.am:
3714 * tests/check/libs/basesrc.c: (eos_event_counter),
3715 (basesrc_eos_events_pull), (basesrc_eos_events_push),
3716 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
3717 (gst_basesrc_suite), (main):
3718 ... and add some tests for the base source EOS stuff.
3720 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3722 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
3723 Test case originally showed the problem fixed below,
3724 but was then amended. Add checks back at the place
3725 where they used to be.
3727 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3729 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3730 (gst_base_src_init), (gst_base_src_loop),
3731 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3732 (gst_base_src_change_state):
3733 * libs/gst/base/gstbasesrc.h:
3734 Don't unconditionally send EOS when going from PAUSED to
3735 READY state, esp. make sure we don't send two EOS events
3736 in some cases (e.g. one when reaching EOS and one when
3737 going from PAUSED to READY). Also, we don't want to send
3738 EOS events when operating in pull mode. However, we do
3739 want to send an EOS event when shutting down a live
3740 source explicitly, for example (fixes #330996).
3742 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3744 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3745 Update src->read_position after a seek when not using mmap.
3746 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
3748 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
3754 Make things work with --disable-parse as they do with
3755 --disable-load-save - the symbols involved disappear, but the
3756 header is still installed and GST_DISABLE_PARSE is included via
3759 2006-02-20 Julien MOUTTE <julien@moutte.net>
3761 * libs/gst/base/gstbasetransform.c:
3762 (gst_base_transform_change_state): Fix a stupid bug. I was
3763 sure I compiled that.
3765 2006-02-20 Julien MOUTTE <julien@moutte.net>
3767 * gst/gstpad.c: (gst_pad_set_blocked_async):
3768 * gst/gstutils.c: (gst_pad_add_data_probe),
3769 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
3770 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
3771 (gst_pad_remove_buffer_probe): Make those function act on the
3772 ghostpad target when it's a ghostpad. (Closes #331727)
3774 2006-02-20 Julien MOUTTE <julien@moutte.net>
3776 * libs/gst/base/gstbasetransform.c:
3777 (gst_base_transform_change_state): Make basetransform reusable.
3780 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
3782 * docs/random/release:
3783 Move the current documentation of how to do a release to the top
3786 * gst/gstbin.c: (gst_bin_class_init),
3787 (gst_bin_handle_message_func):
3788 Allow multiple state-recalculation threads. (Closes #328873)
3790 2006-02-19 Julien MOUTTE <julien@moutte.net>
3792 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
3793 * gst/gstpad.c: (gst_pad_set_event_function),
3794 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3795 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
3796 2 strings. You can't use the STR_NULL macro on that.
3798 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
3800 * gst/gstpad.c: (gst_pad_set_event_function),
3801 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3802 (gst_pad_set_getcaps_function)
3803 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
3804 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
3805 So now, we can use --gst-debug-level=5 on Windows
3806 * win32/common/libgstcontroller.def:
3807 Added export of gst_controller_init
3808 * win32/vs6/libgstcontroller.dsp:
3809 Fixed Release post build configuration
3811 2006-02-17 Wim Taymans <wim@fluendo.com>
3813 * tests/check/gst/gstquery.c: (GST_START_TEST):
3814 Added another check.
3816 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
3818 * plugins/elements/gsttypefindelement.c: (find_peek):
3819 We can do peeks at non-zero offsets, as long as they
3820 fall within the buffer we have.
3822 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
3824 * tests/check/Makefile.am:
3825 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
3826 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
3827 (parse_suite), (main):
3828 Add testsuite for parse launch syntax
3830 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
3832 * plugins/elements/gsttypefindelement.c:
3833 (gst_type_find_element_chain):
3834 When typefinding is unsuccessful in the chain function, don't
3835 error out immediately. Only error out with NO_CAPS_FOUND if
3836 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
3837 otherwise simply wait for more data so we can try typefinding
3838 again with more data later. Also, don't attempt to typefind
3839 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
3840 this should improve typefinding from network sources where the
3841 size of the first buffer can be somewhat random.
3843 2006-02-14 Wim Taymans <wim@fluendo.com>
3845 * docs/gst/gstreamer-sections.txt:
3846 * gst/gstpadtemplate.c:
3847 * gst/gstpadtemplate.h:
3848 Fix padtemplate docs, fixes #328805.
3850 2006-02-14 Wim Taymans <wim@fluendo.com>
3852 * tools/gst-launch.c: (main):
3853 NO_PREROLL is not an ERROR so don't send confusing messages
3856 2006-02-14 Wim Taymans <wim@fluendo.com>
3858 Patch by: Torsten Schoenfeld
3860 * gst/gstregistry.c: (gst_registry_get_default),
3861 (_gst_registry_cleanup):
3862 Protect default registry with lock and ref/sink it.
3865 2006-02-14 Wim Taymans <wim@fluendo.com>
3868 * gst/gstquery.c: (gst_query_list_add_format),
3869 (gst_query_set_formatsv), (gst_query_parse_formats_length),
3870 (gst_query_parse_formats_nth):
3871 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3874 2006-02-14 Wim Taymans <wim@fluendo.com>
3876 * docs/gst/gstreamer-sections.txt:
3877 Reworked query docs.
3879 * gst/gstquery.c: (gst_query_new_formats),
3880 (gst_query_list_add_format), (gst_query_set_formats),
3881 (gst_query_set_formatsv), (gst_query_parse_formats_length),
3882 (gst_query_parse_formats_nth):
3884 Flesh out formats query, added some new methods.
3885 Fix part of #324398.
3887 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
3888 Added query creation tests.
3890 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
3892 * gst/gstpad.c: (fixate_value):
3893 Add a default fixation for fraction lists.
3895 2006-02-13 Wim Taymans <wim@fluendo.com>
3897 * gst/gsttask.c: (gst_task_init), (gst_task_func),
3898 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
3901 Detect and warn for obvious deadlocks. fixes #320340
3902 Fix error case where lock was not released.
3904 * tests/check/Makefile.am:
3905 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
3906 (task_func), (gst_element_suite), (main):
3909 2006-02-13 Wim Taymans <wim@fluendo.com>
3911 * docs/gst/gstreamer-sections.txt:
3913 Add new functions to docs.
3915 2006-02-13 Wim Taymans <wim@fluendo.com>
3917 * docs/design/part-TODO.txt:
3918 Updated TODO list, basesrc supports seeking to non-bytes
3921 * docs/design/part-element-sink.txt:
3924 * gst/gstbin.c: (bin_replace_message),
3925 (gst_bin_handle_message_func):
3926 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
3927 * gst/gstevent.c: (gst_event_finalize):
3928 * gst/gstpad.c: (gst_pad_event_default_dispatch),
3929 (gst_pad_send_event):
3930 Use shiny new _TYPE_NAME macros.
3932 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3933 Move debug statement up.
3935 * gst/gstelement.c: (gst_element_set_locked_state):
3938 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
3940 * docs/gst/gstreamer-sections.txt:
3943 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
3944 macros (#330906). Also, document the already existing
3945 GST_QUERY_TYPE macro.
3947 2006-02-13 Wim Taymans <wim@fluendo.com>
3949 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
3950 (event_probe), (GST_START_TEST):
3951 Only events up to the pipeline EOS are counted, there are
3952 some more when going to NULL currently which we don't care
3955 2006-02-13 Wim Taymans <wim@fluendo.com>
3957 * gst/gstpad.c: (gst_pad_send_event):
3958 Correctly check flushing and emit probes. fixes #330125
3960 2006-02-10 Andy Wingo <wingo@pobox.com>
3962 * gst/gstbus.c (gst_bus_class_init): Declare our private data
3964 (gst_bus_init): Cache the location of the private data in the
3966 (gst_bus_enable_sync_message_emission)
3967 (gst_bus_disable_sync_message_emission): Implement new public
3969 (gst_bus_post): Emit the sync-message signal if the user asked for
3972 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
3973 location of the bus-private structure.
3974 (gst_bus_enable_sync_message_emission)
3975 (gst_bus_disable_sync_message_emission): API addition
3977 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
3979 Patch by: Vincent Torri
3981 * docs/pwg/building-boiler.xml:
3982 PWG patch from #326800
3984 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
3988 * docs/design/Makefile.am:
3991 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
3996 === release 0.10.3 ===
3998 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
4001 releasing 0.10.3, "Like a virgin"
4003 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
4006 2nd prerelease of 0.10.3
4007 Bump libtool versioning.
4009 2006-02-07 Andy Wingo <wingo@pobox.com>
4011 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
4012 update last_stop if we're in TIME format and the timestamp is
4015 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
4016 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
4017 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
4018 If we get a new newsegment with a different format, adapt
4021 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
4022 of 0. Not a problem, really.
4024 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
4027 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
4032 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
4035 project files updated to the default vs7 configuration
4036 * win32/common/libgstbase.def:
4037 * win32/common/libgstreamer.def:
4039 removed empty lines,
4040 sorted all exported symbols alphabetically
4041 * win32/common/dirent.c:
4042 * win32/common/dirent.h:
4043 * win32/common/gchar.h:
4044 use windows line end.
4046 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
4048 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4049 Send EOS event when stopping.
4051 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
4054 Tell folks what to do if the plugin-foobar.xml file
4055 hasn't been generated for a newly-added plugin.
4057 2006-02-05 Julien MOUTTE <julien@moutte.net>
4059 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4060 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4061 (gst_collect_pads_start), (gst_collect_pads_stop),
4062 (gst_collect_pads_event): Collectpads now holds a reference
4063 to the GstPad that was added. Indeed we don't want to look
4064 at pads that might just go away with no warning...
4066 2006-02-05 Julien MOUTTE <julien@moutte.net>
4068 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
4069 (gst_collect_pads_start), (gst_collect_pads_stop),
4070 (gst_collect_pads_event), (gst_collect_pads_chain):
4071 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
4072 Mark Nauwelaerts's patch on bug #328491.
4074 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
4076 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
4078 Add some simple tests for gst_parse_bin_from_description() and
4079 gst_bin_find_unconnected_pad() (#329069).
4081 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
4083 * tools/gst-launch.c: (event_loop), (main):
4084 Catch errors during preroll (#320084).
4086 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
4088 * plugins/elements/gsttypefindelement.c:
4089 (gst_type_find_element_activate):
4090 Post TYPE_NOT_FOUND error message when typefinding
4091 is unsuccessful in the activate function as well.
4093 2006-02-02 Wim Taymans <wim@fluendo.com>
4095 * docs/design/part-element-sink.txt:
4098 2006-02-02 Wim Taymans <wim@fluendo.com>
4100 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4101 (gst_base_sink_render_object),
4102 (gst_base_sink_queue_object_unlocked):
4103 Only keep track of prerollable items when we are
4105 Before rendering after preroll, always check if we
4107 Added some more debugging.
4109 2006-02-02 Wim Taymans <wim@fluendo.com>
4111 * gst/gstelement.c: (gst_element_continue_state),
4112 (gst_element_set_state_func), (gst_element_change_state):
4113 Fixed #326576, been running this for quite some time with
4114 no regressions at all.
4116 2006-02-02 Wim Taymans <wim@fluendo.com>
4119 Added more suppressions
4121 2006-02-02 Wim Taymans <wim@fluendo.com>
4123 * docs/design/part-element-sink.txt:
4126 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4127 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
4128 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
4129 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4130 (gst_base_sink_do_sync), (gst_base_sink_render_object),
4131 (gst_base_sink_preroll_object),
4132 (gst_base_sink_queue_object_unlocked),
4133 (gst_base_sink_queue_object), (gst_base_sink_event),
4134 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
4135 (gst_base_sink_loop), (gst_base_sink_activate_pull),
4136 (gst_base_sink_get_position), (gst_base_sink_change_state):
4137 * libs/gst/base/gstbasesink.h:
4138 Totally refactored matching the design doc.
4139 Use two segments, one to clip incomming buffers and another to
4141 Handle queueing correctly, bypass the queue when playing.
4142 Make EOS cancelable.
4143 Handle errors correctly when operating in pull based mode.
4145 * tests/check/elements/fakesink.c: (GST_START_TEST),
4147 Added new check for sinks.
4149 2006-02-02 Wim Taymans <wim@fluendo.com>
4151 * gst/gstsegment.c: (gst_segment_clip):
4152 No reason to refuse to clip when start == -1
4154 2006-02-02 Stefan Kost <ensonic@users.sf.net>
4157 * docs/manual/intro-basics.xml:
4158 * docs/manual/intro-preface.xml:
4159 * docs/manual/manual.xml:
4160 * docs/pwg/advanced-dparams.xml:
4161 * docs/pwg/intro-basics.xml:
4162 * docs/pwg/intro-preface.xml:
4164 describe dparams (controller) for plugins
4165 unify docs a little more
4167 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
4169 * docs/gst/gstreamer-sections.txt:
4170 * gst/gstutils.c: (element_find_unconnected_pad),
4171 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
4173 Add new API: gst_parse_bin_from_description() and
4174 gst_bin_find_unconnected_pad() (#329069).
4176 2006-02-01 Stefan Kost <ensonic@users.sf.net>
4178 * docs/manual/README:
4179 uncover a nasty detail of the docs build
4181 2006-01-31 Wim Taymans <wim@fluendo.com>
4183 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
4184 Don't cache duration messages if we're not going to use or
4187 2006-01-31 Stefan Kost <ensonic@users.sf.net>
4189 * docs/manual/advanced-dparams.xml:
4190 * docs/pwg/advanced-dparams.xml:
4194 * libs/gst/controller/lib.c: (gst_controller_init):
4197 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
4199 * gst/gstelement.c: (gst_element_message_full):
4200 also show file/line/func if no additional debug was given
4202 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
4204 * win32/vs7/grammar.vcproj:
4205 activate copy of autogenerated files for Release mode
4207 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
4209 * win32/common/libgstreamer.def:
4210 export gst_value_compare
4212 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
4214 * plugins/elements/Makefile.am:
4215 * plugins/elements/gstelements.c:
4216 * plugins/elements/gstfdsink.c: (_do_init),
4217 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
4218 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
4219 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
4220 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
4221 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
4222 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
4223 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
4224 * plugins/elements/gstfdsink.h:
4225 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
4227 2006-01-30 Stefan Kost <ensonic@users.sf.net>
4229 * docs/manual/advanced-dparams.xml:
4231 * docs/manual/advanced-position.xml:
4232 * docs/manual/basics-init.xml:
4233 * docs/manual/manual.xml:
4234 * docs/manual/titlepage.xml:
4236 * docs/pwg/titlepage.xml:
4237 cleanup xml (more to come)
4238 * libs/gst/controller/gstcontroller.c:
4241 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
4243 * win32/vs6/grammar.dsp:
4244 add autogen of gstmarshal.c,h for Release mode
4246 2006-01-30 Wim Taymans <wim@fluendo.com>
4248 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4249 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
4250 (gst_base_sink_handle_object), (gst_base_sink_event),
4251 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
4252 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4253 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
4254 (gst_base_sink_deactivate), (gst_base_sink_activate),
4255 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
4256 (gst_base_sink_query), (gst_base_sink_change_state):
4257 Basesink cleanups, remove some old code.
4258 Handle the case where a subclass can preroll in the render
4259 method (mostly audiosinks).
4261 Remove some locks around variables that are now protected
4262 with the PREROLL_LOCK (clock_id, flushing, ..).
4263 Optimize position query some more, do correct locking.
4264 Remove old code to push queue in state change, this is not
4265 needed anymore since preroll blocks on all prerollable items
4267 Almost implemented as described in design doc.
4269 2006-01-30 Wim Taymans <wim@fluendo.com>
4271 * tests/check/gst/gstbin.c: (GST_START_TEST):
4272 Wait for refcount to settle down before checking.
4274 2006-01-30 Wim Taymans <wim@fluendo.com>
4276 * docs/design/part-element-sink.txt:
4277 Pseudo code overview of desired sink behaviour regarding
4280 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
4281 * win32/vs6/grammar.dsp:
4282 fix some bugs in Release mode for autogenerated files
4284 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
4285 * win32/common/libgstbase.def:
4286 * win32/common/libgstreamer.def:
4287 export some new symbols: gst_base_src_set_format,
4288 gst_iterator_next, gst_structure_set_valist
4290 2006-01-29 Julien MOUTTE <julien@moutte.net>
4292 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4293 Set pad functions unconditionally. Fixes #329105.
4295 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
4297 add vs8 project files created by Sergey Scobich
4299 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
4301 * gst/gstutils.c: (gst_element_unlink_pads):
4302 Don't leak pad references.
4304 * tests/check/elements/fakesink.c: (GST_START_TEST):
4305 * tests/check/generic/sinks.c: (GST_START_TEST):
4306 * tests/check/generic/states.c: (GST_START_TEST):
4307 * tests/check/gst/gstbin.c: (GST_START_TEST):
4308 * tests/check/gst/gstcaps.c: (GST_START_TEST):
4309 * tests/check/gst/gstelement.c: (GST_START_TEST):
4310 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4311 * tests/check/gst/gstiterator.c: (GST_START_TEST):
4312 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4313 Fix a bunch of leaks. Make generic/sinks.c
4314 use a bit less cpu by slowing the buffer rate
4315 between fakesrc and fakesink.
4317 2006-01-27 Stefan Kost <ensonic@users.sf.net>
4319 * gst/gstelement.c: (gst_element_send_event):
4322 * gst/gstiterator.c:
4323 * gst/gstiterator.h:
4324 * gst/gstpad.c: (gst_pad_send_event):
4325 * gst/gststructure.c:
4329 * libs/gst/base/gstadapter.c:
4330 doc fixes, to link to function, just write gst_cool_function(), don't
4333 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
4335 * plugins/elements/gsttee.c: (gst_tee_do_push),
4336 (gst_tee_handle_buffer):
4337 Always prefer an actual return value from a src
4338 pad in place of NOT_LINKED. This means we return
4339 WRONG_STATE when all src pads are WRONG_STATE
4340 instead of NOT_LINKED.
4342 Lock when replacing the last message to prevent
4343 racing with the get_property method.
4347 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
4349 * tests/check/Makefile.am:
4350 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
4352 Add a very simple check that should have caught the memleak I fixed
4353 last night (if not for the slice allocator hiding it)
4355 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
4357 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4358 (gst_bin_remove_func), (gst_bin_handle_message_func),
4359 (bin_query_duration_fold), (bin_query_generic_fold):
4360 Clean up references to the clock provider when disposed or when
4361 handling a clock-lost message from it.
4363 Unref sinks when performing a query via gst_iterator_fold, as the
4364 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
4366 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
4367 (gst_clock_set_master):
4368 Drop our reference to the master clock, if any, when we are disposed.
4370 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
4371 Chain up in dispose.
4373 2006-01-26 Wim Taymans <wim@fluendo.com>
4375 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4378 2006-01-26 Julien MOUTTE <julien@moutte.net>
4380 * plugins/elements/gsttee.c: (gst_tee_do_push),
4381 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
4382 handles pad being NOT_LINKED or in WRONG_STATE.
4384 2006-01-26 Stefan Kost <ensonic@users.sf.net>
4389 2006-01-26 Stefan Kost <ensonic@users.sf.net>
4392 remove obsolete entry
4394 2006-01-26 Stefan Kost <ensonic@users.sf.net>
4396 * docs/gst/gstreamer-sections.txt:
4397 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
4398 (gst_bin_iterate_sources), (gst_bin_send_event):
4400 * gst/gstelement.c: (gst_element_send_event):
4402 * gst/gstpad.c: (gst_pad_send_event):
4403 added code for downstream events, reviewed docs in gstevent.c
4405 2006-01-25 Julien MOUTTE <julien@moutte.net>
4407 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4408 We only query position using the clock in the playing state.
4409 Query peer in the other cases.
4410 * win32/common/config.h: Updates.
4412 2006-01-24 Wim Taymans <wim@fluendo.com>
4414 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
4415 A clock entry that is scheduled for the exact time of the
4416 clock is still in time.
4418 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4419 (gst_base_sink_do_sync):
4420 Add some more debug info.
4422 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
4425 Add new vs7 project files and solution.
4427 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
4430 all files removed as they were out-dated.
4432 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
4434 * docs/random/release:
4436 * gst/gstbin.c: (gst_bin_init):
4437 * gst/gstbus.c: (gst_bus_new):
4439 * gst/gstpipeline.c: (gst_pipeline_init):
4440 use gst_bus_new(), improve logging, fix docs
4441 * win32/common/config.h:
4442 update for cvs build
4444 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
4447 up required version of automake to 1.7
4449 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
4451 * win32/common/libgstreamer.def:
4452 export gst_buffer_is_metadata_writable
4454 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
4456 * docs/gst/gstreamer-sections.txt:
4458 Add gst_event_replace() (#327001)
4460 2006-01-20 Wim Taymans <wim@fluendo.com>
4462 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4463 Make it actually compile too..
4465 2006-01-20 Wim Taymans <wim@fluendo.com>
4468 Clarify behaviour of _is_equal() when passing NULL parameters.
4470 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
4472 Cleanups. Don't unref NULL caps.
4473 When setting the same caps, protect caps of the pad with
4475 Use full functionality of _is_equal() when comparing caps.
4477 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
4479 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4480 Don't loop infinitely if there are no buffers to present. Partially
4481 fixes #327197, but collectpads is just broken for reusing elements
4482 to do multiple encodes atm.
4484 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
4486 * tools/gst-inspect.c: (print_element_features):
4487 * tools/gst-xmlinspect.c: (main):
4488 URL_HANDLER is not a plugin feature we can search for in
4491 2006-01-19 Edward Hervey <edward@fluendo.com>
4493 * gst/gstelement.c: (gst_element_pads_activate):
4494 When activating, do src pads first, then sink pads.
4495 When de-activating, do sink pads first, then src pads.
4497 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
4499 * docs/gst/gstreamer-sections.txt:
4500 Add gst_index_add_associationv to the docs
4502 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
4507 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
4508 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
4509 Do some refactoring. Doesn't actually change functionality,
4510 but makes landing the DRAIN event easier later.
4512 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
4514 * docs/pwg/advanced-scheduling.xml:
4515 Update from 0.9.x to 0.10 API and make example a bit
4518 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
4520 * docs/gst/gstreamer-sections.txt:
4521 Add gst_buffer_(is|make)_metadata_writable methods.
4523 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
4525 * docs/design/part-sparsestreams.txt:
4526 Update sparse streams doc, hopefully for greater clarity
4528 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
4530 * docs/design/part-events.txt:
4531 Remove mention of FILLER events.
4534 * docs/design/part-sparsestreams.txt:
4535 Write some things about using NEWSEGMENT to keep sparse streams
4538 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
4540 * gst/gstbin.c: (gst_bin_dispose):
4541 Guard gst_object_unref call against a NULL object (dispose
4542 can theoretically be called multiple times).
4544 2006-01-18 Wim Taymans <wim@fluendo.com>
4546 * gst/gstbin.c: (gst_bin_element_set_state):
4547 * gst/gstclock.c: (gst_clock_id_wait):
4548 Added some more debug info.
4550 * libs/gst/base/gstadapter.c:
4553 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4554 (gst_base_sink_do_sync), (gst_base_sink_chain):
4555 Added some comments.
4557 2006-01-18 Wim Taymans <wim@fluendo.com>
4559 * tests/check/Makefile.am:
4560 * tests/check/elements/fakesink.c: (chain_async_buffer),
4561 (chain_async), (chain_async_return), (GST_START_TEST),
4562 (fakesink_suite), (main):
4563 Added fakesink test that checks prerolling and clipping
4566 * tests/check/gst/gstutils.c: (GST_START_TEST):
4567 Make check run faster so that buildbots don't timeout.
4569 2006-01-18 Wim Taymans <wim@fluendo.com>
4571 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4572 (gst_base_sink_do_sync):
4574 When the sink finishes blocking on the preroll buffer, it can
4575 immediatly render it instead of rendering when the next buffer
4578 2006-01-18 Wim Taymans <wim@fluendo.com>
4580 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
4581 (gst_base_sink_get_property), (gst_base_sink_do_sync),
4582 (gst_base_sink_chain):
4584 GST_ELEMENT_CLOCK and sync are protected with LOCK.
4585 Don't store _last_stop if the buffer is dropped.
4587 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
4589 * plugins/elements/gsttypefindelement.c:
4590 (gst_type_find_element_class_init):
4591 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
4592 object method handler that sets the caps on the pad and we want
4593 that to happen before we emit the signal (fixes e.g. feeding a
4594 plain text file to decodebin).
4596 2006-01-18 Christian Schaller <Christian@fluendo.com>
4598 * gst/gstplugin.c: Add MPL and Proprietary as license options
4600 2006-01-18 Andy Wingo <wingo@pobox.com>
4602 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
4603 symbol was exported before, it appears this was just an oversight.
4605 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
4607 * gst/gstindex.c (gst_index_add_associationv): Changed int in
4608 prototype to gint. OK since this prototype was not in the header.
4610 2006-01-17 Andy Wingo <wingo@pobox.com>
4612 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
4613 registry while we remove plugins.
4615 * tools/gst-inspect.c (print_element_info): Don't unref the
4616 factory arg, that should be the responsibility of whatever code
4617 received the ref. Fixes a double-free when called from
4618 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
4619 (main): Unref the factory if we have one.
4620 (print_element_list): No change -- relies on the
4621 plugin_feature_list_free to free the list of features.
4623 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
4625 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
4626 (gst_buffer_make_metadata_writable):
4628 * libs/gst/base/gstbasetransform.c:
4629 (gst_base_transform_prepare_output_buf):
4630 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4631 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4632 Replace gst_buffer_(make|is)_metadata_writable patch now
4633 that the release is out.
4635 2006-01-17 Andy Wingo <wingo@pobox.com>
4637 * gst/gstregistry.c: Reflow design comment. Update so as to speak
4638 in the present tense without reference to versions.
4640 * gst/gstregistry.c (gst_registry_add_plugin)
4641 (gst_registry_remove_plugin, gst_registry_remove_feature)
4642 (gst_registry_find_feature, gst_registry_get_feature_list)
4643 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
4644 (gst_registry_lookup, gst_registry_scan_path)
4645 (_gst_registry_remove_cache_plugins)
4646 (gst_registry_get_feature_list_by_plugin): Add argument
4649 === release 0.10.2 ===
4651 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
4654 releasing 0.10.2, "If man is five"
4656 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
4660 * libs/gst/base/gstbasetransform.c:
4661 (gst_base_transform_prepare_output_buf):
4662 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4663 * tests/check/gst/gstbuffer.c: (gst_test_suite):
4664 Back out patch until after the release.
4666 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
4668 * gst/gstminiobject.c:
4669 Spelling fix in docs.
4670 * ChangeLog - remove conflict indicator
4672 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
4674 Reviewed By: Andy Wingo
4676 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
4677 (gst_buffer_make_metadata_writable):
4679 Add gst_buffer_(is|make)_metadata_writable as analogues of
4680 gst_buffer_(is|make)_writable.
4682 * libs/gst/base/gstbasetransform.c:
4683 (gst_base_transform_prepare_output_buf):
4684 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4685 Use name gst_buffer_(is|make)_metadata_writable functions.
4687 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4688 Test gst_buffer_(is|make)_metadata_writable
4692 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
4694 * docs/manual/Makefile.am:
4695 don't do parallel make
4698 * win32/common/config.h.in:
4699 add generations for HOST_CPU and GST_MAJORMINOR
4700 * win32/common/config.h:
4701 commit generated result
4703 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
4705 * docs/manual/appendix-integration.xml:
4706 Update GNOME integration section to use gst_init_get_option_group()
4707 instead of the old popt stuff (#322911). Also, GNOME applications
4708 should now use gconf*sink and gconf*src instead of the old gconf
4711 2006-01-13 Stefan Kost <ensonic@users.sf.net>
4714 * docs/gst/gstreamer-docs.sgml:
4715 * docs/gst/gstreamer-sections.txt:
4716 * docs/libs/gstreamer-libs-sections.txt:
4717 add new API entries to the docs
4718 * libs/gst/controller/Makefile.am:
4719 * libs/gst/controller/gstcontroller.c:
4720 * libs/gst/controller/gstcontroller.h:
4721 * libs/gst/controller/gstcontrollerprivate.h:
4722 * libs/gst/controller/gsthelper.c:
4723 * libs/gst/controller/gstinterpolation.c:
4724 move private structs to private header
4726 gstreamer-0.7 -> gstreamer-0.10
4727 * tests/check/libs/struct_i386.h:
4728 remove private structs
4730 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
4732 * plugins/indexers/Makefile.am:
4733 Fixes as part of #317048
4735 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
4737 * plugins/indexers/Makefile.am:
4738 fix #316086 - compilation when mmap is missing
4740 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
4742 * libs/gst/base/gstbasesink.c:
4743 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
4744 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
4745 * win32/common/config.h:
4746 added some defines GST_MAJORMINOR and HOST_CPU
4747 * win32/common/libgstbase.def:
4748 * win32/common/libgstreamer.def:
4749 added some exported functions.
4751 2006-01-12 Stefan Kost <ensonic@users.sf.net>
4753 * libs/gst/controller/gstcontroller.c:
4754 (gst_controlled_property_set_interpolation_mode),
4755 (gst_controlled_property_new):
4756 * libs/gst/controller/gstcontroller.h:
4757 * libs/gst/controller/gstinterpolation.c:
4758 (interpolate_none_get_string_value_array):
4759 make G_TYPE_STRING controlable
4761 2006-01-12 Stefan Kost <ensonic@users.sf.net>
4764 * tools/gst-feedback.1.in:
4765 * tools/gst-inspect.1.in:
4766 * tools/gst-launch.1.in:
4767 * tools/gst-md5sum.1.in:
4768 * tools/gst-typefind.1.in:
4769 * tools/gst-xmlinspect.1.in:
4770 * tools/gst-xmllaunch.1.in:
4771 cleanup man-pages, remove reference to gst-register, document env-vars
4773 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
4775 * gst/gstbuffer.c: (gst_buffer_span):
4776 gst_buffer_span should copy the timestamp of the first buffer
4777 if they were both originally overlapping subbuffers of the
4778 same parent, using the same logic as the 'slow copy' case.
4780 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
4782 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
4783 Need to awaken ALL the pads when we pop a buffer, otherwise
4784 collectpads only works when there is 2 input streams.
4786 2006-01-11 Stefan Kost <ensonic@users.sf.net>
4788 * docs/random/ensonic/media-device-daemon.txt:
4791 fix doc example, add clarification
4792 * tools/gst-launch.1.in:
4793 add initial info about GST_PLUGIN_PATH, needs more work
4795 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
4797 * docs/manual/basics-bins.xml:
4798 * docs/manual/basics-elements.xml:
4799 * docs/manual/intro-basics.xml:
4800 Some more minor docs additions and updates.
4802 2006-01-11 Wim Taymans <wim@fluendo.com>
4804 * docs/manual/basics-bins.xml:
4805 * docs/manual/basics-elements.xml:
4806 Some small fixes as pointed out by Ser-ver on IRC.
4808 2006-01-10 Edward Hervey <edward@fluendo.com>
4810 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4811 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
4812 the single-segment mode.
4814 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
4816 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4818 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
4819 (gst_base_src_perform_seek), (gst_base_src_send_event),
4820 (gst_base_src_set_property), (gst_base_src_get_property),
4821 (gst_base_src_loop), (gst_base_src_start),
4822 (gst_base_src_activate_push):
4823 * libs/gst/base/gstbasesrc.h:
4824 Name (private) union; makes Sun's Forte compiler happy (#324900).
4826 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
4829 gst-register is gone.
4831 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
4833 * gst/gstvalue.c: (_gst_value_initialize):
4834 make the G_TYPE_DATE instantiation work if debug is disabled
4836 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
4838 * gst/gstmessage.c: (gst_message_parse_tag),
4839 (gst_message_parse_error), (gst_message_parse_warning):
4840 Don't crash when return location for error/warning debug
4841 string is NULL; add fact that return locations can be
4842 NULL to docs where appropriate.
4844 2006-01-05 Wim Taymans <wim@fluendo.com>
4846 * gst/gstplugin.c: (gst_plugin_load_file):
4847 Replace strdup by g_strdup.
4849 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
4851 * docs/pwg/advanced-types.xml:
4854 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
4856 submitted by: Abel Cheung
4860 Added Chinese (traditional) translation
4862 2006-01-04 Wim Taymans <wim@fluendo.com>
4864 * docs/manual/basics-pads.xml:
4865 * docs/plugins/Makefile.am:
4866 * docs/plugins/gstreamer-plugins-docs.sgml:
4867 * docs/plugins/gstreamer-plugins-sections.txt:
4868 * docs/pwg/advanced-clock.xml:
4869 * docs/pwg/advanced-scheduling.xml:
4870 * docs/pwg/advanced-types.xml:
4871 * plugins/elements/gstfdsink.c:
4872 * plugins/elements/gstfdsrc.c:
4873 * plugins/elements/gstfdsrc.h:
4874 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4875 * plugins/elements/gstidentity.h:
4876 * plugins/elements/gstqueue.h:
4877 * plugins/elements/gsttee.c:
4878 * plugins/elements/gsttee.h:
4879 * plugins/elements/gsttypefindelement.c:
4880 (gst_type_find_element_class_init):
4881 * plugins/elements/gsttypefindelement.h:
4882 Small updates to various docs.
4883 Added core plugins to docs.
4885 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4888 add a suppression for liboil's uninitialized variable
4890 2006-01-02 James Livingston <jrl at ids dot org dot au>
4892 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4895 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
4896 macro, so that gcc doesn't complain if the -Wmissing-prototypes
4897 compiler switch is being used (#325429).
4899 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
4901 * gst/gstbin.c: (gst_bin_query):
4902 Disable duration query caching in bins until it gets
4903 fixed (see #324807).
4905 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
4907 * tools/gst-inspect.c: (print_element_properties_info):
4908 Handle properties of POINTER and BOXED type.
4910 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
4912 * gst/gst.c: (init_post):
4913 Init tags stuff and some other things before loading
4914 any static plugins (there may be other static plugins
4915 than just the GStreamer ones, and they may want to
4916 register their own tags or formats or whatever, and
4917 preferably without segfaulting).
4919 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4920 Print at least a warning in the debug logs if we drop a
4921 query just because we don't know how to adjust the value
4922 in the particular format.
4924 2005-12-24 David Schleef <ds@schleef.org>
4926 * tools/gstreamer-completion:
4927 Replacement for gst-complete written in sh and sed. Only
4928 completes names of features, but that's 90% of what I want
4929 it for. Properties are not available in registry.xml. (Maybe
4932 === release 0.10.1 ===
4934 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
4937 releasing 0.10.1, "Nollaig chridheil"
4939 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
4942 Add missing quote, should be make ERROR_CFLAGS="".
4944 2005-12-20 Wim Taymans <wim@fluendo.com>
4946 * docs/design/part-trickmodes.txt:
4947 More documentation on trickmodes.
4949 2005-12-20 Edward Hervey <edward@fluendo.com>
4951 * gst/gstcaps.c: (gst_static_caps_get_type):
4953 API addition: GST_TYPE_STATIC_CAPS
4954 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
4955 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
4956 * gst/gstpadtemplate.h:
4957 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
4958 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
4961 2005-12-18 Wim Taymans <wim@fluendo.com>
4963 * libs/gst/base/gstadapter.c:
4964 * libs/gst/base/gstadapter.h:
4965 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4966 (gst_base_sink_get_position):
4967 * libs/gst/base/gstbasesink.h:
4968 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4969 (gst_base_src_default_query), (gst_base_src_default_do_seek),
4970 (gst_base_src_do_seek), (gst_base_src_perform_seek),
4971 (gst_base_src_send_event), (gst_base_src_update_length),
4972 (gst_base_src_get_range), (gst_base_src_loop),
4973 (gst_base_src_start):
4974 * libs/gst/base/gstbasesrc.h:
4975 * libs/gst/base/gstbasetransform.h:
4976 * libs/gst/base/gstcollectpads.h:
4977 * libs/gst/base/gstpushsrc.c:
4978 * libs/gst/base/gstpushsrc.h:
4979 * libs/gst/dataprotocol/dataprotocol.c:
4980 * libs/gst/dataprotocol/dataprotocol.h:
4981 * libs/gst/net/gstnetclientclock.h:
4982 * libs/gst/net/gstnettimeprovider.h:
4983 Documentation updates.
4985 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
4987 * docs/manual/basics-helloworld.xml:
4988 Remove superfluous closing bracket in helloworld example.
4990 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
4992 * tools/gst-launch.1.in:
4993 Update gst-launch man page; add a section with useful
4994 environment variables. Fixes #323882.
4996 2005-12-16 Stefan Kost <ensonic@users.sf.net>
4999 * gst/gst_private.h:
5000 change some char* into char[]
5002 2005-12-16 Wim Taymans <wim@fluendo.com>
5004 * gst/gstregistryxml.c: (load_feature):
5006 Don't use g_object_unref on GstObjects so that we avoid
5007 leaks on unsafe glibs.
5009 2005-12-16 Wim Taymans <wim@fluendo.com>
5011 * gst/gstbin.c: (gst_bin_recalc_state):
5014 2005-12-16 Wim Taymans <wim@fluendo.com>
5017 Added make forever target for check.
5019 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
5021 * gst/gst.c: (init_post):
5022 make the registry cache file HOST_CPU-dependent
5024 2005-12-16 Andy Wingo <wingo@pobox.com>
5026 * plugins/elements/gstbufferstore.c
5027 (gst_buffer_store_cleared_func): Pay attention to g_list_append
5030 * tests/check/gst/gstobject.c
5031 (test_fake_object_name_threaded_unique): Pay attention to
5032 g_list_sort return value.
5034 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
5036 * tools/gst-feedback-m.m:
5037 Update for 0.9/0.10 (fixes #323870).
5039 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
5041 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
5042 Fix lcopy for mini objects, the mini object needs to be ref'ed.
5044 * tests/check/gst/gstminiobject.c: (my_foo_init),
5045 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
5046 (test_value_collection), (gst_mini_object_suite):
5047 Add test to ensure refcounts end up as expected when passing
5048 GstMiniObjects through g_object_get() and g_object_set().
5050 2005-12-14 Julien MOUTTE <julien@moutte.net>
5052 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5053 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
5054 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
5055 of collectpads. This version removes a lot of races without
5056 touching API/ABI. Yay !
5058 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
5060 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
5061 Don't allow activation of a srcpad in pull_range if it has no
5063 Change some debug statements to be a little clearer
5065 * plugins/elements/gsttypefindelement.c:
5066 (gst_type_find_handle_src_query):
5067 Check that we have a peer before executing queries thereupon.
5069 * tests/examples/metadata/read-metadata.c: (message_loop):
5070 Use gst_bus_pop instead of gst_bus_poll when we just want it to
5071 immediately return us any available message with 0 timeout.
5073 2005-12-12 Michael Smith <msmith@fluendo.com>
5075 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5076 Don't unref factories after calling them.
5077 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
5078 * plugins/elements/gsttypefindelement.c:
5079 (gst_type_find_element_chain):
5080 Free lists of factories after using them. Fixing typefinding memory
5083 2005-12-12 Stefan Kost <ensonic@users.sf.net>
5085 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5086 (gst_plugin_feature_load):
5087 more meaningful debug output
5089 * tests/Makefile.am:
5090 * tests/old/examples/Makefile.am:
5091 make make distcheck happy again
5093 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
5095 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5096 Catch the special case where we are operating chain-based,
5097 but the downstream peer pad has no chain function. Emit a
5098 custom error message in this case instead of letting the
5099 core generate one implying that this is some sort of core
5100 bug. It's not, it just means that whatever got plugged
5101 into the pipeline downstream when we announced the type
5102 can only operate pull-based, while our source can only
5103 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
5104 Error string has not been marked for translation yet, as
5105 it probably needs some more work first.
5107 (gst_type_find_element_get_best_possibility):
5108 Add helper function to find the best of all available
5109 found possibilities that qualify given the min. threshold.
5111 (gst_type_find_element_handle_event):
5112 Fix the case where we get an EOS while still in TYPEFIND
5113 mode (we want to chose the best of all possible types,
5114 not just the first type that happens to be in our unsorted
5115 list of possible types).
5117 (gst_type_find_element_chain):
5118 Make sure we return GST_FLOW_ERROR when we errored out
5119 in stop_typefinding(); also, don't just find the best of
5120 all found type entries and then use the last examined
5121 type entry, but actually use the best entry.
5123 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
5125 * tests/examples/typefind/typefind.c: (type_found):
5126 * tests/examples/xml/runxml.c: (xml_loaded):
5127 More gcc4 fixes and a mem leak fix.
5129 2005-12-12 Stefan Kost <ensonic@users.sf.net>
5131 * tests/examples/xml/createxml.c: (object_saved):
5134 2005-12-12 Stefan Kost <ensonic@users.sf.net>
5136 * tests/Makefile.am:
5137 enable the examples even more
5139 2005-12-12 Andy Wingo <wingo@pobox.com>
5141 * libs/gst/net/gstnettimeprovider.c
5142 (gst_net_time_provider_class_init, gst_net_time_provider_init)
5143 (gst_net_time_provider_set_property)
5144 (gst_net_time_provider_get_property):
5145 API addition: Export "active" as a GObject property.
5146 (gst_net_time_provider_thread): Only respond to time queries if
5147 the time provider is active.
5149 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
5150 NetTimeProvider, preserving binary compat.
5152 2005-12-12 Stefan Kost <ensonic@users.sf.net>
5154 * tests/examples/controller/audio-example.c: (main):
5155 * tests/examples/launch/Makefile.am:
5156 convert comments again
5158 2005-12-12 Wim Taymans <wim@fluendo.com>
5160 * libs/gst/base/gstpushsrc.c:
5163 2005-12-12 Wim Taymans <wim@fluendo.com>
5165 * docs/libs/gstreamer-libs-sections.txt:
5166 Added new symbol to docs.
5168 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5169 (gst_base_src_init), (gst_base_src_set_format),
5170 (gst_base_src_default_query), (gst_base_src_query),
5171 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
5172 (gst_base_src_perform_seek), (gst_base_src_send_event),
5173 (gst_base_src_default_event), (gst_base_src_event_handler),
5174 (gst_base_src_set_property), (gst_base_src_get_property),
5175 (gst_base_src_wait), (gst_base_src_do_sync),
5176 (gst_base_src_update_length), (gst_base_src_get_range),
5177 (gst_base_src_check_get_range), (gst_base_src_loop),
5178 (gst_base_src_default_negotiate), (gst_base_src_start),
5179 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5180 (gst_base_src_change_state):
5181 * libs/gst/base/gstbasesrc.h:
5182 Implement seeking to other formats than _BYTES.
5183 Implement more seeking methods correctly.
5185 Added query vmethod.
5186 Added do_seek vmethod to make life easier for subclasses
5188 API addition: gst_base_src_set_format()
5190 2005-12-12 Stefan Kost <ensonic@users.sf.net>
5192 * tests/examples/Makefile.am:
5195 2005-12-12 Stefan Kost <ensonic@users.sf.net>
5198 * docs/random/ensonic/media-device-daemon.txt:
5199 * tests/examples/controller/.cvsignore:
5200 * tests/examples/controller/Makefile.am:
5201 * tests/examples/controller/audio-example.c: (main):
5202 * tests/examples/helloworld/.cvsignore:
5203 * tests/examples/helloworld/Makefile.am:
5204 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
5205 * tests/examples/launch/.cvsignore:
5206 * tests/examples/launch/Makefile.am:
5207 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
5208 * tests/examples/metadata/.cvsignore:
5209 * tests/examples/metadata/Makefile.am:
5210 * tests/examples/metadata/read-metadata.c: (message_loop),
5211 (make_pipeline), (print_tag), (main):
5212 * tests/examples/queue/.cvsignore:
5213 * tests/examples/queue/Makefile.am:
5214 * tests/examples/queue/queue.c: (event_loop), (main):
5215 * tests/examples/typefind/.cvsignore:
5216 * tests/examples/typefind/Makefile.am:
5217 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
5219 * tests/examples/xml/.cvsignore:
5220 * tests/examples/xml/Makefile.am:
5221 * tests/examples/xml/createxml.c: (object_saved), (main):
5222 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
5223 * tests/old/examples/Makefile.am:
5224 * tests/old/examples/TODO:
5225 * tests/old/examples/controller/.cvsignore:
5226 * tests/old/examples/controller/Makefile.am:
5227 * tests/old/examples/controller/audio-example.c:
5228 * tests/old/examples/helloworld/.cvsignore:
5229 * tests/old/examples/helloworld/Makefile.am:
5230 * tests/old/examples/helloworld/helloworld.c:
5231 * tests/old/examples/launch/.cvsignore:
5232 * tests/old/examples/launch/Makefile.am:
5233 * tests/old/examples/launch/mp3parselaunch.c:
5234 * tests/old/examples/launch/mp3play:
5235 * tests/old/examples/manual/Makefile.am:
5236 * tests/old/examples/metadata/Makefile.am:
5237 * tests/old/examples/metadata/read-metadata.c:
5238 * tests/old/examples/queue/.cvsignore:
5239 * tests/old/examples/queue/Makefile.am:
5240 * tests/old/examples/queue/queue.c:
5241 * tests/old/examples/typefind/.cvsignore:
5242 * tests/old/examples/typefind/Makefile.am:
5243 * tests/old/examples/typefind/typefind.c:
5244 * tests/old/examples/xml/.cvsignore:
5245 * tests/old/examples/xml/Makefile.am:
5246 * tests/old/examples/xml/createxml.c:
5247 * tests/old/examples/xml/runxml.c:
5248 applied some simple fixing to some examples
5249 re-enabled the working examples
5251 2005-12-12 Wim Taymans <wim@fluendo.com>
5253 * gst/gstsegment.c: (gst_segment_init),
5254 (gst_segment_set_last_stop), (gst_segment_set_seek),
5255 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
5256 (gst_segment_to_running_time):
5257 Added more documentation.
5258 Make sure the last_pos value is updated properly.
5259 Make sure to_stream_time and to_running_time don't
5260 operate on wrong values.
5262 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5265 2005-12-12 Michael Smith <msmith@fluendo.com>
5267 * plugins/elements/gsttypefindelement.c: (free_entry),
5268 (gst_type_find_element_chain):
5269 Now that we're not leaking factories, make sure we keep references
5270 to them while we need them.
5272 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
5274 * tests/check/gst/struct_i386.h:
5275 ifdef out the XML structs
5277 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
5279 * gst/gstvalue.c: (gst_value_transform_double_fraction):
5280 floor is not needed, F is always positive; this obviates the
5281 need for adding -lm when building without libxml
5283 2005-12-12 Wim Taymans <wim@fluendo.com>
5285 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5286 Take current playback rate into account when reporting
5289 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
5291 * docs/manual/mime-world.fig:
5292 Let's try this again, this time with a file that is
5293 actually in XFig format.
5295 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
5297 * docs/manual/mime-world.fig:
5298 Add audioconvert element to diagram so that it
5299 matches the text and the code (fixes #319526).
5301 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
5303 * docs/pwg/building-chainfn.xml:
5304 * docs/pwg/building-pads.xml:
5305 * docs/pwg/building-state.xml:
5306 * docs/pwg/other-source.xml:
5307 Update state change stuff for 0.10 (fixes #322969).
5309 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
5311 * docs/manual/advanced-dataaccess.xml:
5312 * docs/manual/appendix-checklist.xml:
5313 * docs/manual/appendix-programs.xml:
5314 * docs/manual/basics-pads.xml:
5315 * docs/manual/highlevel-components.xml:
5316 * docs/manual/manual.xml:
5317 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
5318 add converters in front of pipelines; remove curly
5319 brackets for threads stuff, they no longer exist; use
5320 GST_TYPE_FRACTION for framerates; update some pieces of
5321 code to 0.10, but there's plenty more to do.
5323 * docs/manual/appendix-porting.xml:
5324 Expand on asynchroneous state changes; s/0.9/0.10/;
5325 mention disappearance of gst_init_get_popt_table()
5328 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
5330 * docs/faq/using.xml:
5331 Spider no longer exists, and neither does gst-launch-ext.
5332 Update examples to use decodebin and playbin and put
5333 converters in front of sinks (fixes #323726).
5335 2005-12-09 Michael Smith <msmith@fluendo.com>
5337 * plugins/elements/gsttypefindelement.c: (find_peek),
5338 (gst_type_find_element_chain):
5339 Fix leaking element factories in typefinding.
5340 Fix problem where we forgot about a probable type on non-seekable
5341 files, and thus later mis-typefound it.
5343 2005-12-09 Michael Smith <msmith@fluendo.com>
5345 * common/m4/gst-makecontext.m4:
5346 * common/m4/gst-mcsc.m4:
5348 * win32/common/config.h:
5349 * win32/common/config.h.in:
5350 Remove makecontext stuff; not used in 0.10 and causes problems on
5351 HPUX according to bug #322441
5353 2005-12-07 Wim Taymans <wim@fluendo.com>
5355 * tests/check/Makefile.am:
5356 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
5358 * tests/check/libs/struct_i386.h:
5359 Added ABI check for libs
5361 2005-12-07 Wim Taymans <wim@fluendo.com>
5363 * tests/check/Makefile.am:
5364 And add the struct_i386.h to dist.
5366 2005-12-07 Wim Taymans <wim@fluendo.com>
5368 * tests/check/Makefile.am:
5369 * tests/check/gst/.cvsignore:
5370 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
5372 * tests/check/gst/struct_i386.h:
5373 Added check for ABI compatibility.
5375 2005-12-07 Wim Taymans <wim@fluendo.com>
5377 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
5378 (gst_fake_src_get_times), (gst_fake_src_create):
5379 Fix broken sync option, fixes #323259
5381 2005-12-07 Wim Taymans <wim@fluendo.com>
5386 * gst/gstcaps.c: (gst_caps_is_equal):
5387 Don't assert on NULL <--> X. Fixes #323260
5389 * gst/gstminiobject.c: (gst_mini_object_replace):
5390 If we're doing atomic operations, we might just as well use
5391 the proper way to get an atomic pointer.
5393 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5396 2005-12-07 Michael Smith <msmith@fluendo.com>
5398 * gst/parse/grammar.y:
5399 Remove handling of { } for threads.
5401 2005-12-06 David Schleef <ds@schleef.org>
5403 * libs/gst/base/gstbasetransform.c: speling fix.
5405 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
5407 * docs/libs/tmpl/gstdataprotocol.sgml:
5408 * docs/random/omega/testing/gstobject.c:
5412 * gst/gstelementfactory.c:
5415 * gst/gstghostpad.c:
5417 * gst/gstpadtemplate.c:
5418 * gst/gstregistryxml.c:
5420 * gst/gsttagsetter.c:
5421 * gst/gsttypefind.c:
5423 * libs/gst/base/gstbasesrc.c:
5424 * libs/gst/net/gstnetclientclock.c:
5425 * libs/gst/net/gstnettimeprovider.c:
5426 * plugins/elements/gstfakesrc.c:
5427 * plugins/elements/gstfdsrc.c:
5428 * plugins/elements/gstfilesrc.c:
5429 * plugins/elements/gstidentity.c:
5430 * plugins/elements/gstqueue.c:
5431 * plugins/elements/gsttypefindelement.c:
5432 * plugins/indexers/gstfileindex.c:
5433 * plugins/indexers/gstmemindex.c:
5434 * tests/check/gst/gsttag.c:
5435 * tests/old/examples/cutter/cutter.c:
5436 * tests/old/examples/mixer/mixer.c:
5437 * tests/old/examples/xml/runxml.c: (main):
5438 * tests/old/testsuite/caps/normalisation.c:
5439 * tests/old/testsuite/debug/global.c:
5440 * tests/old/testsuite/parse/parse1.c:
5441 * tools/gst-xmlinspect.c:
5442 * win32/common/dirent.c:
5445 === release 0.10.0 ===
5447 2005-12-05 <thomas (at) apestaart (dot) org>
5450 releasing 0.10.0, "Maroilles"
5452 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
5454 submitted by: Funda Wang <fundawang@linux.net.cn>
5458 added Chinese (Traditional) translation
5460 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
5462 * docs/gst/gstreamer-sections.txt:
5463 * docs/libs/tmpl/gstdataprotocol.sgml:
5464 * docs/random/thomasvs/TODO:
5469 2005-12-05 Andy Wingo <wingo@pobox.com>
5471 patch by: Wim Taymans <wim@fluendo.com>
5473 * libs/gst/base/gstbasetransform.c
5474 (gst_base_transform_prepare_output_buf)
5475 (gst_base_transform_buffer_alloc):
5476 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
5477 alloc_buffer_and_set_caps.
5479 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
5480 set_caps on the source pad.
5481 (gst_pad_alloc_buffer_and_set_caps): New function, does what
5482 alloc_buffer used to do. Fixes #322874.
5484 * docs/gst/gstreamer-sections.txt:
5485 * docs/design/part-negotiation.txt:
5486 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
5489 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
5491 patch by: Sebastien Moutte
5494 * win32/common/config.h.in:
5495 * win32/vs6/libgstcontroller.dsp:
5498 2005-12-05 Wim Taymans <wim@fluendo.com>
5500 * gst/gstcaps.c: (gst_caps_is_equal):
5501 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
5502 (gst_fake_src_create):
5503 Back out previous code changes, leave doc updates, file bugs
5506 2005-12-05 Wim Taymans <wim@fluendo.com>
5508 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
5509 (gst_fake_src_get_times), (gst_fake_src_create):
5510 * plugins/elements/gstfakesrc.h:
5511 Fix broken sync code.
5513 2005-12-05 Wim Taymans <wim@fluendo.com>
5515 * gst/gstcaps.c: (gst_caps_is_equal):
5516 Comparing NULL against !NULL yields different caps, not a
5519 2005-12-05 Wim Taymans <wim@fluendo.com>
5521 * gst/gstpipeline.c:
5522 Fix small typo in docs.
5524 2005-12-05 Andy Wingo <wingo@pobox.com>
5526 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
5528 * gst/gst.c (init_post): remove hard-coded 0.9 location for
5529 registries/plugins with a MAJORMINOR one.
5530 (plugin_desc): Rename library from gstcoreleements to
5531 staticelements. Fixes #323222.
5533 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
5535 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
5536 Change debug category to 'collectpads' from 'collect_pads'
5539 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
5541 patch by: Sebastien Moutte
5543 * libs/gst/controller/gstinterpolation.c:
5544 use convert function for uint64/double
5545 * win32/vs6/libgstcontroller.dsp:
5548 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
5550 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
5551 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
5553 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5554 add tests that seem to show that the guint64/gdouble conversions
5557 2005-12-02 Wim Taymans <wim@fluendo.com>
5559 * gst/gstregistry.c: (gst_registry_add_path):
5560 * gst/gstregistry.h:
5561 * gst/gstregistryxml.c:
5564 2005-12-02 Wim Taymans <wim@fluendo.com>
5566 * gst/gstutils.c: (gst_util_uint64_scale_int64),
5567 (gst_util_uint64_scale_int):
5570 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5573 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
5576 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
5579 * win32/common/config.h:
5580 * win32/vs6/gstreamer.dsw:
5581 * win32/vs6/libgstcoreelements.dsp:
5582 * win32/vs6/libgstelements.dsp:
5583 renamed core elements plugin
5585 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
5587 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
5589 do piece-wise major/minor comparison so 0.9 < 0.10
5590 also allow .exe extensions for tools
5592 2005-12-02 Michael Smith <msmith@fluendo.com>
5595 Escape a % to make gtkdoc happier; bug 322958.
5597 === release 0.9.7 ===
5599 2005-12-01 <thomas (at) apestaart (dot) org>
5602 releasing 0.9.7, "My Dog Has No Nose"
5604 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5606 * common/gst-xmlinspect.py:
5608 * docs/libs/tmpl/gstdataprotocol.sgml:
5609 * docs/random/release:
5628 * win32/common/config.h:
5629 * win32/common/config.h.in:
5630 * win32/vs6/gst_inspect.dsp:
5631 * win32/vs6/gst_launch.dsp:
5632 * win32/vs6/libgstbase.dsp:
5633 * win32/vs6/libgstelements.dsp:
5634 * win32/vs6/libgstreamer.dsp:
5635 * win32/vs7/GStreamer.vcproj:
5636 * win32/vs7/gst-inspect.vcproj:
5637 * win32/vs7/gst-launch.vcproj:
5638 * win32/vs7/libgstbase.vcproj:
5639 bump GST_MAJORMINOR to 0.10
5640 reset libtool version
5642 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5646 Added Bulgarian translation by (Alexander Shopov)
5648 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5650 * tests/check/gst/gstplugin.c:
5653 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5655 * common/gst-xmlinspect.py:
5656 * common/gtk-doc-plugins.mak:
5659 * docs/gst/Makefile.am:
5660 * docs/gst/gstreamer-docs.sgml:
5661 * docs/gst/gstreamer-sections.txt:
5662 * docs/gst/gstreamer.types:
5663 * docs/gst/gstreamer.types.in:
5664 * docs/plugins/Makefile.am:
5665 * docs/plugins/gstreamer-plugins-docs.sgml:
5666 * docs/plugins/gstreamer-plugins-sections.txt:
5667 * docs/plugins/gstreamer-plugins.types:
5668 * docs/plugins/inspect.stamp:
5669 * docs/plugins/inspect/plugin-coreelements.xml:
5670 * docs/plugins/inspect/plugin-coreindexers.xml:
5671 * docs/plugins/scanobj-build.stamp:
5672 * gstreamer.spec.in:
5673 * plugins/elements/Makefile.am:
5674 * plugins/elements/gstelements.c:
5675 * plugins/elements/gstfakesink.c:
5676 * plugins/elements/gstfakesrc.c:
5677 * plugins/elements/gstfilesink.c:
5678 * plugins/elements/gstfilesrc.c:
5679 * plugins/elements/gstqueue.c:
5680 * plugins/indexers/Makefile.am:
5681 * plugins/indexers/gstindexers.c:
5682 document core plugins in a separate document just like all the
5684 rename these plugins to something starting with core
5686 2005-12-01 Andy Wingo <wingo@pobox.com>
5688 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
5689 padding here before, but it missed the commit.
5691 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5693 * libs/gst/controller/gstinterpolation.c:
5694 whitespace prices have crashed, we should feel free to use some now
5695 use gst_guint64_to_gdouble
5697 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5699 * libs/gst/controller/gstcontroller.c:
5700 * libs/gst/controller/gsthelper.c:
5701 * libs/gst/controller/gstinterpolation.c:
5702 * libs/gst/controller/lib.c:
5703 wrap config.h include
5705 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5707 * docs/gst/gstreamer-sections.txt:
5710 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5712 * plugins/elements/gstelements.c:
5713 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
5714 (gst_fd_sink__class_init), (gst_fd_sink__init),
5715 (gst_fd_sink__chain), (gst_fd_sink__set_property),
5716 (gst_fd_sink__get_property):
5717 * plugins/elements/gstfdsink.h:
5718 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
5719 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
5720 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
5721 (gst_fd_src_unlock), (gst_fd_src_set_property),
5722 (gst_fd_src_get_property), (gst_fd_src_create),
5723 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
5724 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
5725 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
5726 (gst_fd_src_uri_handler_init):
5727 * plugins/elements/gstfdsrc.h:
5728 * plugins/elements/gstqueue.c: (gst_queue_get_type):
5731 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5733 * docs/gst/Makefile.am:
5734 * docs/gst/gstreamer.types.in:
5738 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5744 * gst/gstregistry.h:
5745 * tests/benchmarks/complexity.c:
5746 * tests/benchmarks/mass-elements.c:
5747 * tests/check/Makefile.am:
5748 * tools/Makefile.am:
5749 * tools/gst-inspect.c:
5750 * tools/gst-xmlinspect.c:
5751 various fixes to make
5752 --disable-nls --disable-registry --disable-loadsave
5753 --disable-parse --disable-gst-debug
5754 work and get the core .so down to 360444 bytes after stripping
5756 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5761 * docs/random/thomasvs/TODO:
5762 * tests/Makefile.am:
5766 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5768 * win32/GStreamer.vcproj:
5771 * win32/Makefile.inspect:
5772 * win32/Makefile.launch:
5773 * win32/Makefile.register:
5775 * win32/gst-inspect.vcproj:
5776 * win32/gst-launch.vcproj:
5777 * win32/gst-register.vcproj:
5778 * win32/gstelements.vcproj:
5779 * win32/gstgetbits.def:
5780 * win32/gstgetbits.vcproj:
5781 * win32/gstreamer-dbg.def:
5782 * win32/gstreamer.def:
5783 * win32/libgstbase.def:
5784 * win32/libgstbase.vcproj:
5785 * win32/link_oldruntime.c:
5790 move even more stuff, win32/ is nice and clean now
5792 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5794 * libs/gst/control/.cvsignore:
5799 * win32/gstbytestream.def:
5800 * win32/gstbytestream.vcproj:
5801 * win32/gstconfig.h:
5802 * win32/gstenumtypes.c:
5803 * win32/gstenumtypes.h:
5804 * win32/gstoptimalscheduler.vcproj:
5805 * win32/gstversion.h:
5807 * win32/testsuite/bins.vcproj:
5808 * win32/testsuite/bytestream.vcproj:
5809 * win32/testsuite/caps.vcproj:
5810 * win32/testsuite/cleanup.vcproj:
5811 * win32/testsuite/clock.vcproj:
5812 * win32/testsuite/debug.vcproj:
5813 * win32/testsuite/dlopen.vcproj:
5814 * win32/testsuite/dynparams.vcproj:
5815 * win32/testsuite/elements.vcproj:
5816 * win32/testsuite/ghostpads.vcproj:
5817 * win32/testsuite/indexers.vcproj:
5818 * win32/testsuite/negotiation.vcproj:
5819 * win32/testsuite/parse.vcproj:
5820 * win32/testsuite/plugin.vcproj:
5821 * win32/testsuite/refcounting.vcproj:
5822 * win32/testsuite/schedulers.vcproj:
5823 * win32/testsuite/states.vcproj:
5824 * win32/testsuite/tags.vcproj:
5825 * win32/testsuite/threads.vcproj:
5826 remove old win32 stuff that isn't maintained and should be
5829 2005-11-30 Andy Wingo <wingo@pobox.com>
5831 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
5832 loading the gst.interfaces python module bork.
5834 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
5835 available since GLib 2.2. Fixes #318031.
5837 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5841 * check/Makefile.am:
5842 * check/elements/.cvsignore:
5843 * check/elements/fakesrc.c:
5844 * check/elements/fdsrc.c:
5845 * check/elements/identity.c:
5846 * check/generic/.cvsignore:
5847 * check/generic/states.c:
5848 * check/gst-libs/.cvsignore:
5849 * check/gst-libs/controller.c:
5850 * check/gst-libs/gdp.c:
5851 * check/gst/.cvsignore:
5852 * check/gst/capslist.h:
5854 * check/gst/gstbin.c:
5855 * check/gst/gstbuffer.c:
5856 * check/gst/gstbus.c:
5857 * check/gst/gstcaps.c:
5858 * check/gst/gstelement.c:
5859 * check/gst/gstevent.c:
5860 * check/gst/gstghostpad.c:
5861 * check/gst/gstiterator.c:
5862 * check/gst/gstmessage.c:
5863 * check/gst/gstminiobject.c:
5864 * check/gst/gstobject.c:
5865 * check/gst/gstpad.c:
5866 * check/gst/gstpipeline.c:
5867 * check/gst/gstplugin.c:
5868 * check/gst/gstsegment.c:
5869 * check/gst/gststructure.c:
5870 * check/gst/gstsystemclock.c:
5871 * check/gst/gsttag.c:
5872 * check/gst/gstutils.c:
5873 * check/gst/gstvalue.c:
5874 * check/net/.cvsignore:
5875 * check/net/gstnetclientclock.c:
5876 * check/net/gstnettimeprovider.c:
5877 * check/pipelines/.cvsignore:
5878 * check/pipelines/cleanup.c:
5879 * check/pipelines/simple_launch_lines.c:
5880 * check/pipelines/stress.c:
5881 * check/states/.cvsignore:
5882 * check/states/sinks.c:
5884 * examples/Makefile.am:
5885 * examples/appreader/.cvsignore:
5886 * examples/appreader/Makefile.am:
5887 * examples/appreader/appreader.c:
5888 * examples/controller/.cvsignore:
5889 * examples/controller/Makefile.am:
5890 * examples/controller/audio-example.c:
5891 * examples/cutter/.cvsignore:
5892 * examples/cutter/Makefile.am:
5893 * examples/cutter/cutter.c:
5894 * examples/cutter/cutter.h:
5895 * examples/events/Makefile.am:
5896 * examples/events/seek.c:
5897 * examples/helloworld/.cvsignore:
5898 * examples/helloworld/Makefile.am:
5899 * examples/helloworld/helloworld.c:
5900 * examples/helloworld2/.cvsignore:
5901 * examples/helloworld2/Makefile.am:
5902 * examples/helloworld2/helloworld2.c:
5903 * examples/launch/.cvsignore:
5904 * examples/launch/Makefile.am:
5905 * examples/launch/mp3parselaunch.c:
5906 * examples/launch/mp3play:
5907 * examples/manual/.cvsignore:
5908 * examples/manual/Makefile.am:
5909 * examples/manual/extract.pl:
5910 * examples/metadata/Makefile.am:
5911 * examples/metadata/read-metadata.c:
5912 * examples/mixer/.cvsignore:
5913 * examples/mixer/Makefile.am:
5914 * examples/mixer/mixer.c:
5915 * examples/mixer/mixer.h:
5916 * examples/pingpong/.cvsignore:
5917 * examples/pingpong/Makefile.am:
5918 * examples/pingpong/pingpong.c:
5919 * examples/plugins/.cvsignore:
5920 * examples/plugins/Makefile.am:
5921 * examples/plugins/example.c:
5922 * examples/plugins/example.h:
5923 * examples/pwg/.cvsignore:
5924 * examples/pwg/Makefile.am:
5925 * examples/pwg/extract.pl:
5926 * examples/queue/.cvsignore:
5927 * examples/queue/Makefile.am:
5928 * examples/queue/queue.c:
5929 * examples/queue2/.cvsignore:
5930 * examples/queue2/Makefile.am:
5931 * examples/queue2/queue2.c:
5932 * examples/queue3/.cvsignore:
5933 * examples/queue3/Makefile.am:
5934 * examples/queue3/queue3.c:
5935 * examples/queue4/.cvsignore:
5936 * examples/queue4/Makefile.am:
5937 * examples/queue4/queue4.c:
5938 * examples/retag/.cvsignore:
5939 * examples/retag/Makefile.am:
5940 * examples/retag/retag.c:
5941 * examples/retag/transcode.c:
5942 * examples/thread/.cvsignore:
5943 * examples/thread/Makefile.am:
5944 * examples/thread/thread.c:
5945 * examples/typefind/.cvsignore:
5946 * examples/typefind/Makefile.am:
5947 * examples/typefind/typefind.c:
5948 * examples/xml/.cvsignore:
5949 * examples/xml/Makefile.am:
5950 * examples/xml/createxml.c:
5951 * examples/xml/runxml.c:
5952 * tests/Makefile.am:
5953 * tests/check/Makefile.am:
5954 * testsuite/.cvsignore:
5955 * testsuite/Makefile.am:
5957 * testsuite/caps/.cvsignore:
5958 * testsuite/caps/Makefile.am:
5959 * testsuite/caps/app_fixate.c:
5960 * testsuite/caps/audioscale.c:
5961 * testsuite/caps/caps.c:
5962 * testsuite/caps/caps.h:
5963 * testsuite/caps/caps_strings:
5964 * testsuite/caps/compatibility.c:
5965 * testsuite/caps/deserialize.c:
5966 * testsuite/caps/enumcaps.c:
5967 * testsuite/caps/eratosthenes.c:
5968 * testsuite/caps/filtercaps.c:
5969 * testsuite/caps/fixed.c:
5970 * testsuite/caps/fraction-convert.c:
5971 * testsuite/caps/fraction-multiply-and-zero.c:
5972 * testsuite/caps/intersect2.c:
5973 * testsuite/caps/intersection.c:
5974 * testsuite/caps/normalisation.c:
5975 * testsuite/caps/random.c:
5976 * testsuite/caps/renegotiate.c:
5977 * testsuite/caps/sets.c:
5978 * testsuite/caps/simplify.c:
5979 * testsuite/caps/string-conversions.c:
5980 * testsuite/caps/structure.c:
5981 * testsuite/caps/subtract.c:
5982 * testsuite/caps/union.c:
5983 * testsuite/debug/.cvsignore:
5984 * testsuite/debug/Makefile.am:
5985 * testsuite/debug/category.c:
5986 * testsuite/debug/commandline.c:
5987 * testsuite/debug/global.c:
5988 * testsuite/debug/output.c:
5989 * testsuite/debug/printf_extension.c:
5990 * testsuite/dlopen/.cvsignore:
5991 * testsuite/dlopen/Makefile.am:
5992 * testsuite/dlopen/dlopen_gst.c:
5993 * testsuite/dlopen/loadgst.c:
5994 * testsuite/elements/.cvsignore:
5995 * testsuite/elements/Makefile.am:
5996 * testsuite/elements/gst-inspect-check.in:
5997 * testsuite/elements/struct_i386.h:
5998 * testsuite/elements/struct_size.c:
5999 * testsuite/indexers/.cvsignore:
6000 * testsuite/indexers/Makefile.am:
6001 * testsuite/indexers/cache1.c:
6002 * testsuite/indexers/indexdump.c:
6003 * testsuite/parse/.cvsignore:
6004 * testsuite/parse/Makefile.am:
6005 * testsuite/parse/parse1.c:
6006 * testsuite/parse/parse2.c:
6007 * testsuite/plugin/.cvsignore:
6008 * testsuite/plugin/Makefile.am:
6009 * testsuite/plugin/README:
6010 * testsuite/plugin/dynamic.c:
6011 * testsuite/plugin/linked.c:
6012 * testsuite/plugin/loading.c:
6013 * testsuite/plugin/registry.c:
6014 * testsuite/plugin/static.c:
6015 * testsuite/plugin/static2.c:
6016 * testsuite/plugin/testplugin.c:
6017 * testsuite/plugin/testplugin2.c:
6018 * testsuite/plugin/testplugin2_s.c:
6019 * testsuite/plugin/testplugin_s.c:
6020 * testsuite/refcounting/.cvsignore:
6021 * testsuite/refcounting/Makefile.am:
6022 * testsuite/refcounting/bin.c:
6023 * testsuite/refcounting/element.c:
6024 * testsuite/refcounting/element_pad.c:
6025 * testsuite/refcounting/mainloop.c:
6026 * testsuite/refcounting/mem.c:
6027 * testsuite/refcounting/mem.h:
6028 * testsuite/refcounting/object.c:
6029 * testsuite/refcounting/pad.c:
6030 * testsuite/refcounting/sched.c:
6031 * testsuite/refcounting/thread.c:
6032 * testsuite/states/.cvsignore:
6033 * testsuite/states/Makefile.am:
6034 * testsuite/states/bin.c:
6035 * testsuite/states/locked.c:
6036 * testsuite/states/parent.c:
6037 * testsuite/threads/.cvsignore:
6038 * testsuite/threads/159566.c:
6039 * testsuite/threads/159852.c:
6040 * testsuite/threads/Makefile.am:
6041 * testsuite/threads/queue.c:
6042 * testsuite/threads/signals.c:
6043 * testsuite/threads/staticrec.c:
6044 * testsuite/threads/thread.c:
6045 * testsuite/threads/threadb.c:
6046 * testsuite/threads/threadc.c:
6047 * testsuite/threads/threadd.c:
6048 * testsuite/threads/threade.c:
6049 * testsuite/threads/threadf.c:
6050 * testsuite/threads/threadg.c:
6051 * testsuite/threads/threadh.c:
6052 * testsuite/threads/threadi.c:
6053 move all of these under tests
6055 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6058 * tests/Makefile.am:
6061 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6063 * docs/gst/gstreamer-sections.txt:
6064 * tests/sched/.cvsignore:
6065 * tests/sched/Makefile.am:
6066 * tests/sched/cases/(fs-fs).xml:
6067 * tests/sched/cases/(fs-i-fs).xml:
6068 * tests/sched/cases/(fs-i-i-fs).xml:
6069 * tests/sched/cases/(fs-i-q[i-fs]).xml:
6070 * tests/sched/dynamic-pipeline.c:
6071 * tests/sched/interrupt1.c:
6072 * tests/sched/interrupt2.c:
6073 * tests/sched/interrupt3.c:
6074 * tests/sched/runtestcases:
6075 * tests/sched/runxml.c:
6076 * tests/sched/sched-stress.c:
6077 * tests/sched/sort.c:
6078 * tests/sched/testcases:
6079 * tests/sched/testcases1.tc:
6080 * tests/seeking/.cvsignore:
6081 * tests/seeking/Makefile.am:
6082 * tests/seeking/seeking1.c:
6083 * tests/threadstate/.cvsignore:
6084 * tests/threadstate/Makefile.am:
6085 * tests/threadstate/test1.c:
6086 * tests/threadstate/test2.c:
6087 * tests/threadstate/threadstate1.c:
6088 * tests/threadstate/threadstate2.c:
6089 * tests/threadstate/threadstate3.c:
6090 * tests/threadstate/threadstate4.c:
6091 * tests/threadstate/threadstate5.c:
6092 remove obsolete tests
6094 * tests/bench-complexity.scm:
6095 * tests/bench-mass_elements.scm:
6096 * tests/complexity.c:
6097 * tests/complexity.gnuplot:
6098 * tests/instantiate/.cvsignore:
6099 * tests/instantiate/Makefile.am:
6100 * tests/instantiate/caps.c:
6101 * tests/mass_elements.c:
6102 * tests/network-clock-utils.scm:
6103 * tests/network-clock.scm:
6105 First pass at cleaning up tests/ dir before moving the rest
6106 Combined with CVS surgery
6108 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6111 queue has moved, update
6113 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6115 * docs/gst/gstreamer-sections.txt:
6116 remove double entries from the docs
6117 * gst/gst_private.h:
6118 * gst/gstinfo.c: (_gst_debug_init):
6119 remove the THREAD debug category
6123 * docs/gst/gstreamer.types:
6124 * plugins/elements/gstqueue.c: (gst_queue_get_type),
6125 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
6126 completely move queue and fix up debugging categories
6128 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6130 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6131 make initialization portable, using LL is not
6133 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6135 * win32/common/gstconfig.h:
6138 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6140 * win32/common/libgstreamer.def:
6141 rename symbols; sort base section
6143 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6145 * gst/gstclock.c: (do_linear_regression):
6146 remove crack non-portable handrolled DEBUG macro
6148 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6150 * docs/random/release:
6152 * win32/common/gstenumtypes.c: (register_gst_object_flags),
6153 (gst_object_flags_get_type), (register_gst_bin_flags),
6154 (gst_bin_flags_get_type), (register_gst_buffer_flag),
6155 (gst_buffer_flag_get_type), (register_gst_bus_flags),
6156 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
6157 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
6158 (gst_caps_flags_get_type), (register_gst_clock_return),
6159 (gst_clock_return_get_type), (register_gst_clock_entry_type),
6160 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
6161 (gst_clock_flags_get_type), (register_gst_state),
6162 (gst_state_get_type), (register_gst_state_change_return),
6163 (gst_state_change_return_get_type), (register_gst_state_change),
6164 (gst_state_change_get_type), (register_gst_element_flags),
6165 (gst_element_flags_get_type), (register_gst_core_error),
6166 (gst_core_error_get_type), (register_gst_library_error),
6167 (gst_library_error_get_type), (register_gst_resource_error),
6168 (gst_resource_error_get_type), (register_gst_stream_error),
6169 (gst_stream_error_get_type), (register_gst_event_type_flags),
6170 (gst_event_type_flags_get_type), (register_gst_event_type),
6171 (gst_event_type_get_type), (register_gst_seek_type),
6172 (gst_seek_type_get_type), (register_gst_seek_flags),
6173 (gst_seek_flags_get_type), (register_gst_format),
6174 (gst_format_get_type), (register_gst_index_certainty),
6175 (gst_index_certainty_get_type), (register_gst_index_entry_type),
6176 (gst_index_entry_type_get_type),
6177 (register_gst_index_lookup_method),
6178 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
6179 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
6180 (gst_index_resolver_method_get_type), (register_gst_index_flags),
6181 (gst_index_flags_get_type), (register_gst_debug_level),
6182 (gst_debug_level_get_type), (register_gst_debug_color_flags),
6183 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
6184 (gst_iterator_result_get_type), (register_gst_iterator_item),
6185 (gst_iterator_item_get_type), (register_gst_message_type),
6186 (gst_message_type_get_type), (register_gst_mini_object_flags),
6187 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
6188 (gst_pad_link_return_get_type), (register_gst_flow_return),
6189 (gst_flow_return_get_type), (register_gst_activate_mode),
6190 (gst_activate_mode_get_type), (register_gst_pad_direction),
6191 (gst_pad_direction_get_type), (register_gst_pad_flags),
6192 (gst_pad_flags_get_type), (register_gst_pad_presence),
6193 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
6194 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
6195 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
6196 (gst_plugin_error_get_type), (register_gst_plugin_flags),
6197 (gst_plugin_flags_get_type), (register_gst_rank),
6198 (gst_rank_get_type), (register_gst_query_type),
6199 (gst_query_type_get_type), (register_gst_tag_merge_mode),
6200 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
6201 (gst_tag_flag_get_type), (register_gst_task_state),
6202 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
6203 (gst_alloc_trace_flags_get_type),
6204 (register_gst_type_find_probability),
6205 (gst_type_find_probability_get_type), (register_gst_uri_type),
6206 (gst_uri_type_get_type), (register_gst_parse_error),
6207 (gst_parse_error_get_type):
6208 * win32/common/gstenumtypes.h:
6209 * win32/common/gstversion.h:
6210 update visual studio generated files
6212 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6214 * win32/vs6/libgstbase.dsp:
6215 * win32/vs6/libgstelements.dsp:
6216 update project files for new locations
6218 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6223 reinstate and update
6228 * docs/random/LICENSE:
6231 2005-11-30 Edward Hervey <edward@fluendo.com>
6233 * gst/gsttypefind.c: (gst_type_find_register):
6234 * gst/gsttypefind.h:
6235 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
6236 (gst_type_find_factory_dispose):
6237 * gst/gsttypefindfactory.h:
6238 Fix memory leak in GstTypeFindFactory.
6240 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6243 * plugins/elements/Makefile.am:
6244 * plugins/elements/gstelements.c:
6245 * plugins/elements/gstqueue.c:
6246 move queue from core to the elements plugin
6248 2005-11-29 Andy Wingo <wingo@pobox.com>
6250 * libs/gst/base/gstbasetransform.h:
6251 * libs/gst/base/gstbasesrc.h:
6252 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
6254 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
6255 of pointers by which to pad very extensible base classes (like the
6256 ones in libs/gst/base).
6258 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6260 * docs/gst/gstreamer-docs.sgml:
6261 * docs/gst/gstreamer-sections.txt:
6262 * docs/libs/gstreamer-libs-docs.sgml:
6263 * docs/libs/gstreamer-libs-sections.txt:
6264 moving documentation from core to lib
6266 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6268 * check/Makefile.am:
6270 * docs/gst/Makefile.am:
6272 * gst/base/.cvsignore:
6273 * gst/base/Makefile.am:
6275 * gst/base/gstadapter.c:
6276 * gst/base/gstadapter.h:
6277 * gst/base/gstbasesink.c:
6278 * gst/base/gstbasesink.h:
6279 * gst/base/gstbasesrc.c:
6280 * gst/base/gstbasesrc.h:
6281 * gst/base/gstbasetransform.c:
6282 * gst/base/gstbasetransform.h:
6283 * gst/base/gstcollectpads.c:
6284 * gst/base/gstcollectpads.h:
6285 * gst/base/gstpushsrc.c:
6286 * gst/base/gstpushsrc.h:
6287 * gst/base/gsttypefindhelper.c:
6288 * gst/base/gsttypefindhelper.h:
6289 * gst/check/Makefile.am:
6290 * gst/check/gstcheck.c:
6291 * gst/check/gstcheck.h:
6292 * gst/net/Makefile.am:
6294 * gst/net/gstnetclientclock.c:
6295 * gst/net/gstnetclientclock.h:
6296 * gst/net/gstnettimepacket.c:
6297 * gst/net/gstnettimepacket.h:
6298 * gst/net/gstnettimeprovider.c:
6299 * gst/net/gstnettimeprovider.h:
6300 * libs/gst/Makefile.am:
6301 * libs/gst/base/Makefile.am:
6302 * libs/gst/base/gstbasetransform.c:
6303 * libs/gst/check/Makefile.am:
6304 * plugins/elements/Makefile.am:
6306 CVS surgery + support to move base, check, and net out of gst
6309 2005-11-29 Andy Wingo <wingo@pobox.com>
6311 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
6313 * gst/gststructure.h (struct _GstStructure): Only one pointer of
6316 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
6318 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
6320 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
6322 * gst/gstobject.h: (struct _GstObject): Only one pointer of
6323 padding; reduces object size by about 30%. We don't expect
6324 anything else to go into gstobject.
6326 * gst/gstminiobject.h (struct _GstMiniObject)
6327 (struct _GstMiniObjectClass): Only one pointer of padding; the
6328 payload is only a pointer and two ints anyway. For the class there
6329 are only two methods as well.
6331 * gst/gstelement.h (struct _GstElementClass): Removed
6332 the state_changed signal callback, it is not used.
6334 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
6336 * docs/gst/gstreamer.types:
6337 fix includes, though they are a little dinky
6339 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6341 * check/Makefile.am:
6342 look in the right place for elements, a lot more chance of
6345 remove indexers and elements subdirs
6346 * plugins/Makefile.am:
6347 make indexers conditional
6349 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6353 * plugins/elements/Makefile.am:
6354 * plugins/elements/gstcapsfilter.c:
6355 * plugins/elements/gstfilesink.c:
6356 * plugins/elements/gstfilesrc.c:
6357 * plugins/elements/gstidentity.c:
6358 * plugins/indexers/Makefile.am:
6359 do CVS surgery and related build fixery to move elements
6360 and indexers in a new gstreamer/plugins directory, out of the
6363 2005-11-29 Andy Wingo <wingo@pobox.com>
6365 * check/Makefile.am:
6366 * pkgconfig/gstreamer-net-uninstalled.pc.in:
6367 * pkgconfig/gstreamer-net.pc.in:
6368 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
6371 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
6373 * tools/Makefile.am:
6374 * tools/gst-complete.1.in:
6375 * tools/gst-complete.c:
6376 * tools/gst-compprep.1.in:
6377 * tools/gst-compprep.c:
6378 removing -compprep and -complete
6380 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
6382 * gst/gstevent.c: (gst_event_new_new_segment),
6383 (gst_event_parse_new_segment):
6385 fix #320529 - clean up new_segment API and structure.
6386 Let's hope everyone was using the methods, and not the structure.
6388 2005-11-29 Edward Hervey <edward@fluendo.com>
6390 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6391 (gst_base_sink_event), (gst_base_sink_do_sync),
6392 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6393 Properly handle non GST_FORMAT_TIME segment
6394 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6395 Properly handle non GST_FORMAT_TIME segment
6397 This function is valid if the accumulator is 0 and the format
6398 is different from the requested format.
6400 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
6402 * docs/gst/gstreamer-sections.txt:
6403 Add gst_query_new_seeking and gst_query_parse_seeking to the
6406 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
6408 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
6409 Treat a pad alloc with new caps the same as if we were not
6410 negotiated, in order to allow a changing upstream output
6411 to produce a new format of data.
6413 2005-11-29 Edward Hervey <edward@fluendo.com>
6415 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6416 (gst_base_transform_event), (gst_base_transform_eventfunc):
6417 The event virtual method is now properly implemented, with a default
6419 Sub classes should call the parent_class event method. They should
6420 return FALSE if they had a problem handling the given event, or don't
6421 want GstBaseTransform to send that even downstream
6422 * gst/elements/gstidentity.c: (gst_identity_class_init),
6423 (gst_identity_init), (gst_identity_event),
6424 (gst_identity_transform_ip), (gst_identity_set_property),
6425 (gst_identity_get_property):
6426 * gst/elements/gstidentity.h:
6427 Added the single-segment boolean property.
6428 If set to TRUE, it will output a single segment of data, starting from
6429 0, will eat up all incoming newsegment, and modify the timestamp of the
6432 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
6434 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
6435 Don't ref NULL target pad (#322751). Improve docs.
6437 2005-11-29 Michael Smith <msmith@fluendo.com>
6439 * gst/gstregistryxml.c: (load_plugin):
6440 Don't crash if we failed to load a feature from a plugin.
6442 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
6444 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
6446 use more check API and less GLib API
6448 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
6451 don't run checks if we don't have check
6453 remove the registry when running make torture
6454 * docs/gst/gstreamer-sections.txt:
6455 remove second multiply
6456 * gst/gstqueue.c: (gst_queue_loop):
6457 fix a compile warning when disabling debug
6459 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
6462 Hey! Let's print the pad name if the pointer != NULL instead
6463 of when it == NULL :-)
6465 2005-11-28 Wim Taymans <wim@fluendo.com>
6467 * check/gst/gstutils.c: (GST_START_TEST):
6468 Updated check, add some scaling accuracy checking code.
6470 * gst/gstutils.c: (gst_util_div128_64),
6471 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
6472 (gst_util_uint64_scale_int):
6473 Fix 6 times faster division code. Optimize for common
6474 1/1 and less common X/1 cases.
6476 2005-11-28 Wim Taymans <wim@fluendo.com>
6478 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6481 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
6482 (do_linear_regression), (gst_clock_add_observation):
6484 Release lock when the clock cannot be slaved.
6485 Catch the case where the regression returned an invalid denominator.
6487 * gst/gstutils.c: (gst_util_div128_64_iterate),
6488 (gst_util_div128_64), (gst_util_uint64_scale_int64),
6489 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
6490 Add protentially more performant non-iterative 128/64 divide function
6491 that unfortunatly does not work yet.
6492 Shortcut the trivial 0/X = 0 case.
6493 Remove the warnings on overflow.
6495 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
6497 * gst/gstplugin.c: (gst_plugin_register_func):
6498 everything causing a plugin not to load should be at least a WARNING
6500 2005-11-28 Stefan Kost <ensonic@users.sf.net>
6502 * docs/random/ensonic/dparams.txt:
6503 some TODOs for the next dev cycle
6504 * libs/gst/controller/gstcontroller.c:
6505 (gst_controlled_property_set_interpolation_mode),
6506 (gst_controlled_property_new):
6507 * libs/gst/controller/gstcontroller.h:
6508 use base type to assign acccessor functions
6510 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
6512 * check/Makefile.am:
6513 Oops, that should have been top_srcdir
6515 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
6517 * check/Makefile.am:
6518 * check/elements/fdsrc.c: (GST_START_TEST):
6519 Use a cmdline define to specify the location of a file to use for
6520 testing, to avoid breaking distcheck.
6522 2005-11-28 Andy Wingo <wingo@pobox.com>
6524 * gst/gstpad.c (fixate_value): Use array functions for arrays.
6526 2005-11-28 Edward Hervey <edward@fluendo.com>
6528 * tools/gst-launch.c: (main):
6529 Clarify the output strings, makes it easier to translate.
6532 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
6535 don't try and build net if we don't even have <sys/socket.h>
6537 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
6539 * check/Makefile.am:
6540 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
6541 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
6542 Add tests for fdsrc seekability
6544 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6545 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
6546 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
6547 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
6548 * gst/elements/gstfdsrc.h:
6549 fdsrc should not be a 'live' source.
6550 Implement seeking on seekable fd's.
6552 * gst/gstquery.c: (gst_query_new_seeking),
6553 (gst_query_parse_seeking):
6555 Implement SEEKING query functions:
6556 *_new_seeking and *_parse_seeking
6558 2005-11-27 Stefan Kost <ensonic@users.sf.net>
6560 * gst/gstelement.c: (gst_element_dispose):
6563 * gst/gstiterator.c:
6564 * gst/gststructure.c:
6567 * libs/gst/controller/gstcontroller.c:
6568 (gst_controlled_property_set_interpolation_mode):
6569 * libs/gst/controller/gstcontroller.h:
6570 * libs/gst/controller/gstinterpolation.c:
6571 (interpolate_none_get_enum_value_array):
6572 support controlling enums
6574 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
6577 Improve documentation for gst_value_union().
6580 Change return value for union, intersect and subtract functions
6581 from gint to gboolean.
6583 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
6585 * gst/gstvalue.c: (gst_value_serialize_any_list),
6586 (gst_value_transform_any_list_string),
6587 (gst_value_deserialize_list), (gst_value_deserialize_array),
6588 (gst_value_set_int_range), (gst_value_deserialize_int_range),
6589 (gst_value_set_double_range), (gst_value_deserialize_double_range),
6590 (gst_value_set_fraction_range_full),
6591 (gst_value_deserialize_fraction_range),
6592 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
6593 (gst_value_deserialize_boolean),
6594 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
6595 (gst_value_serialize_float), (gst_value_deserialize_float),
6596 (gst_string_wrap), (gst_value_deserialize_string),
6597 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
6598 (gst_value_union_int_range_int_range),
6599 (gst_value_intersect_int_range_int_range),
6600 (gst_value_intersect_double_range_double_range),
6601 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
6602 (gst_value_subtract_int_range_int_range),
6603 (gst_value_subtract_double_double_range),
6604 (gst_value_subtract_double_range_double_range),
6605 (gst_value_deserialize_fraction):
6607 Use gint, gdouble and gchar in our API instead of int, double and
6608 char (and make usage in gstvalue.c more consistent).
6610 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
6612 * check/Makefile.am:
6613 * libs/gst/controller/Makefile.am:
6614 * libs/gst/dataprotocol/Makefile.am:
6615 fix up Makefile.am and remove GST_ENABLE_NEW
6617 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
6621 * gst/base/Makefile.am:
6622 * gst/check/Makefile.am:
6623 * gst/elements/Makefile.am:
6624 * gst/net/Makefile.am:
6625 update LDFLAGS use some more
6627 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
6629 * common/m4/gst-doc.m4:
6632 2005-11-26 Edward Hervey <edward@fluendo.com>
6634 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6635 This shouldn't issue a g_warning since it returns NULL if it
6636 couldn't find the plugin, and all functions using this behave
6637 properly on a NULL return. Switching to a GST_WARNING.
6639 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
6641 * gst/gstbin.c: (gst_bin_handle_message_func):
6642 Don't leak clock messages.
6644 2005-11-25 Wim Taymans <wim@fluendo.com>
6646 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6647 (gst_util_uint64_scale_int):
6648 Optimisations, remove unneeded vars.
6650 2005-11-25 Wim Taymans <wim@fluendo.com>
6652 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6653 Added more checks for the high precision uint64 cases.
6655 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6656 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
6657 Implement high precision (guint64 * guint64) / guint64.
6659 2005-11-24 Wim Taymans <wim@fluendo.com>
6661 * gst/base/gstbasesrc.c: (gst_base_src_query):
6662 Fix wrong percentage query.
6664 * gst/gstutils.c: (gst_util_uint64_scale),
6665 (gst_util_uint64_scale_int):
6666 Add some more common cases that can be handled
6667 efficiently to _scale.
6669 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
6671 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
6672 (gst_mini_object_suite):
6673 don't use check calls from threads; check probably isn't
6674 threadsafe and using a lock to make it threadsafe would
6675 defeat the purpose of this check
6676 * gst/check/gstcheck.c:
6677 * gst/check/gstcheck.h:
6678 use GST_DEBUG some more
6680 2005-11-24 Wim Taymans <wim@fluendo.com>
6682 * gst/gstutils.c: (gst_util_uint64_scale),
6683 (gst_util_uint64_scale_int):
6684 Chain trivial case to _scale_int.
6686 2005-11-24 Wim Taymans <wim@fluendo.com>
6688 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6689 Added test for scaling.
6694 * gst/gstutils.c: (gst_util_uint64_scale_int):
6695 Implemented high precision scaling code.
6697 2005-11-24 Stefan Kost <ensonic@users.sf.net>
6700 do not crash on pad==NULL
6702 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
6704 Patch by: Stefan Kost
6706 * common/gtk-doc.mak:
6707 * docs/gst/Makefile.am:
6708 * docs/libs/Makefile.am:
6709 Fix distcheck issues for the libraries docs build
6712 2005-11-24 Michael Smith <msmith@fluendo.com>
6714 * docs/manual/basics-helloworld.xml:
6715 Fix bug #315027: memory leak in example code in docs.
6717 2005-11-24 Michael Smith <msmith@fluendo.com>
6719 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6720 Unlock the PREROLL_LOCK in a failure case.
6722 2005-11-24 Wim Taymans <wim@fluendo.com>
6724 * docs/gst/gstreamer-sections.txt:
6725 * gst/base/gstadapter.h:
6726 * gst/base/gstbasesink.h:
6727 * gst/base/gstbasesrc.h:
6728 * gst/base/gstbasetransform.h:
6729 * gst/base/gstpushsrc.h:
6730 * gst/elements/gstfakesink.h:
6731 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
6732 * gst/elements/gstfakesrc.h:
6733 * gst/elements/gstfilesink.h:
6734 * gst/elements/gstfilesrc.h:
6737 * gst/gstbuffer.c: (_gst_buffer_copy):
6740 * gst/gstchildproxy.c:
6743 * gst/gstelementfactory.c:
6744 * gst/gstelementfactory.h:
6746 * gst/gstghostpad.h:
6748 * gst/gstinterface.h:
6749 * gst/gstminiobject.c:
6750 * gst/gstminiobject.h:
6753 * gst/gstpadtemplate.h:
6754 * gst/gstpipeline.h:
6755 * gst/gstpluginfeature.h:
6760 * gst/gsttagsetter.c:
6761 * gst/gsttagsetter.h:
6764 * gst/gsttypefind.h:
6767 * gst/net/gstnetclientclock.c:
6768 * gst/net/gstnetclientclock.h:
6769 * gst/net/gstnettimepacket.c:
6770 * gst/net/gstnettimeprovider.c:
6771 * gst/net/gstnettimeprovider.h:
6774 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
6776 * configure.ac: back to HEAD
6778 === release 0.9.6 ===
6780 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
6783 releasing 0.9.6, "Always On Time"
6785 2005-11-23 Wim Taymans <wim@fluendo.com>
6787 * docs/gst/gstreamer-sections.txt:
6788 * gst/glib-compat.c:
6789 * gst/gsttagsetter.c:
6791 * gst/net/gstnetclientclock.c:
6792 * gst/net/gstnettimepacket.h:
6795 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
6797 * docs/faq/using.xml:
6798 * docs/libs/tmpl/gstcontrol.sgml:
6799 * docs/manual/advanced-dparams.xml:
6800 * docs/manual/appendix-checklist.xml:
6801 * docs/manual/basics-elements.xml:
6802 * docs/pwg/other-source.xml:
6803 * docs/random/moving-plugins:
6805 * tools/gst-launch.1.in:
6806 remove mentions of sinesrc
6808 2005-11-23 Michael Smith <msmith@fluendo.com>
6810 * docs/gst/gstreamer-sections.txt:
6811 Update for new API and API changes.
6813 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
6815 Documentation typo fix.
6816 * gst/net/gstnettimepacket.c:
6817 Documentation fixes for arguments.
6819 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
6821 * gst/gststructure.c: (gst_structure_get_fraction),
6822 (gst_structure_parse_value),
6823 (gst_structure_fixate_field_nearest_fraction):
6824 * gst/gststructure.h:
6825 * gst/gstutils.c: (gst_util_uint64_scale_int):
6827 * scripts/update-funcnames:
6829 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
6830 Make gst_structure_fixate_field_nearest_fraction take a numerator
6831 and denominator argument instead of a GValue
6832 add gst_structure_get_fraction helper function.
6834 2005-11-23 Wim Taymans <wim@fluendo.com>
6836 * docs/design/part-TODO.txt:
6839 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6840 * gst/net/gstnetclientclock.h:
6841 Use parent fields for timeout and window_size.
6843 2005-11-23 Andy Wingo <wingo@pobox.com>
6845 * check/net/gstnetclientclock.c (test_functioning): Adjust to
6846 rate_num/rate_denom change.
6848 * gst/net/gstnetclientclock.c
6849 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
6850 OBJECT_LOCK. Don't call add_observation with the lock.
6852 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
6854 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
6856 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
6857 deal with rate as a fraction whose numerator and denominator are
6858 GstClockTime values.
6859 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
6860 master; the other fields are protected by the SLAVE_LOCK.
6861 (do_linear_regression): Note that this must be called with the
6863 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
6864 OBJECT_LOCK. Call set_calibration instead of touching the
6866 (gst_clock_set_property, gst_clock_get_property): Protect
6867 master/slave parameters with the SLAVE_LOCK.
6869 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
6870 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
6871 note that all of the instance variables that add_observation and
6872 the set_master functions use are protected by that lock and not
6874 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
6876 * gst/gstclock.c (gst_clock_add_observation): No longer requires
6877 the caller to take the object lock.
6879 2005-11-23 Wim Taymans <wim@fluendo.com>
6881 * gst/gsterror.c: (_gst_core_errors_init):
6883 Add error for clock stuff.
6885 * gst/gstpipeline.c: (gst_pipeline_change_state),
6886 (gst_pipeline_set_clock):
6887 Post clock error when clock cannot be used in a pipeline.
6889 2005-11-23 Stefan Kost <ensonic@users.sf.net>
6891 * docs/gst/gstreamer-sections.txt:
6892 make two symbols from gstinfo private for the docs
6893 * gst/base/gstcollectpads.h:
6895 fix doc typos, update docs
6897 2005-11-22 Wim Taymans <wim@fluendo.com>
6899 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6900 (gst_base_sink_wait), (gst_base_sink_do_sync),
6901 (gst_base_sink_handle_event):
6902 * gst/base/gstbasesink.h:
6903 No need to store the clock, the parent element class already
6906 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
6907 Updates for clock_set returning a gboolean
6909 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
6910 (gst_clock_id_wait_async), (gst_clock_class_init),
6911 (gst_clock_init), (gst_clock_finalize),
6912 (gst_clock_get_internal_time), (gst_clock_get_time),
6913 (gst_clock_slave_callback), (gst_clock_set_master),
6914 (gst_clock_get_master), (do_linear_regression),
6915 (gst_clock_add_observation), (gst_clock_set_property),
6916 (gst_clock_get_property):
6918 Implement master/slave. When setting a clock as a slave, a
6919 periodic timeout is scheduled to sample master and slave times.
6920 Then the slave clock is recalibrated to match offset and rate
6921 of the master clock.
6922 Update logging a bit.
6923 Add flag so that a clock can state that is cannot be slaved to
6926 * gst/gstelement.c: (gst_element_set_clock):
6928 The set clock returns a gboolean for when an element cannot
6929 deal with the selected clock in the pipeline.
6931 * gst/gstpipeline.c: (gst_pipeline_change_state),
6932 (gst_pipeline_set_clock):
6933 * gst/gstpipeline.h:
6934 Handle the case where the selected clock cannot be set on
6937 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
6938 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6939 (gst_net_client_clock_set_property),
6940 (gst_net_client_clock_get_property),
6941 (gst_net_client_clock_observe_times):
6942 * gst/net/gstnetclientclock.h:
6943 Use regression code in GstClock parent, remove duplicated
6946 2005-11-22 Michael Smith <msmith@fluendo.com>
6948 * gst/gstutils.c: (gst_util_clock_time_scale):
6950 * docs/gst/gstreamer-sections.txt:
6951 Rename method to have extra underscore.
6953 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
6955 * gst/elements/Makefile.am:
6956 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
6957 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6958 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6959 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
6960 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
6961 * gst/elements/gstfakesrc.h:
6962 * gst/gstqueue.c: (queue_leaky_get_type):
6963 correctly fix GEnumValues so that nick is the short lowercase
6965 * tools/gst-inspect.c: (print_element_properties_info):
6966 also show the nick, since it's useful to use from parse_launch
6970 2005-11-22 Michael Smith <msmith@fluendo.com>
6972 * gst/gstutils.c: (gst_util_clocktime_scale):
6974 * docs/gst/gstreamer-sections.txt:
6975 Add util method for scaling a clocktime by a fraction. Useful
6976 implementation is left as an exercise for the reader.
6978 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6980 * gst/gstvalue.c: (gst_value_collect_fraction_range):
6981 If needed, allocate storage in the destination value during
6984 2005-11-22 Edward Hervey <edward@fluendo.com>
6986 * docs/gst/gstreamer-sections.txt:
6991 * gst/gstutils.c: (gst_util_set_object_arg):
6992 * tools/gst-compprep.c: (main):
6993 * tools/gst-inspect.c: (print_element_properties_info):
6994 Removed GstURI, closes bug #321061
6996 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6998 * check/gst/gststructure.c: (GST_START_TEST):
6999 * gst/gststructure.c: (gst_structure_parse_value):
7000 Oops, broke automatic string type parsing.
7001 Add a test to catch it in future.
7003 2005-11-22 Andy Wingo <wingo@pobox.com>
7005 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
7006 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
7007 Actually rename the function implementations. Grr.
7009 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7011 * check/gst/capslist.h:
7013 * check/gst/gststructure.c: (GST_START_TEST),
7014 (gst_structure_suite):
7015 Test automatic value type detection in gst_structure_from_string.
7016 * gst/gststructure.c: (gst_structure_parse_value):
7017 Add fraction as a type we try and guess automatically in
7018 caps/structure strings.
7020 2005-11-22 Andy Wingo <wingo@pobox.com>
7022 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
7024 * gst/gsttagsetter.h:
7025 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
7026 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
7027 (gst_tag_setter_add_tag_valist)
7028 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
7029 _add_values, _add_valist, and _add_valist_values. Since this is an
7030 interface the function suffixes should be more explicit so
7031 language binding don't end up with element.add_valist ->
7032 gst_tag_setter_add_valist, for example. Fixes #322069.
7034 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7036 * check/gst/gstcaps.c: (GST_START_TEST):
7037 Extend caps string tests to check that a caps to string
7038 conversion is reversible and produces the same caps.
7040 * gst/gststructure.c: (gst_structure_value_get_generic_type):
7041 Output "fraction" as the generic type fraction range, so caps
7042 serialisation and deserialisation works.
7043 * check/gst/capslist.h:
7044 * gst/gstvalue.c: (gst_value_deserialize_fraction):
7045 Support 'MIN' and 'MAX' for deserialising fractions.
7047 2005-11-22 Andy Wingo <wingo@pobox.com>
7049 * gst/gstevent.h (gst_event_new_new_segment)
7050 (gst_event_parse_new_segment, gst_event_new_buffer_size)
7051 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
7052 Renamed from *_newsegment, *_buffersize, *_notarget.
7054 * scripts/update-funcnames: New script, performs the changes
7057 2005-11-22 Wim Taymans <wim@fluendo.com>
7059 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7060 Make sure the GstFlowReturn is returned.
7062 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
7063 (gst_bus_add_signal_watch):
7065 add gst_bus_add_signal_watch_full.
7067 * gst/gstplugin.c: (gst_plugin_load_file):
7068 Small style cleanup.
7070 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7072 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
7073 Block the fakesrc srcpad when we send an event, to avoid
7074 contention on the stream_lock causing random test failures.
7076 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7078 * check/gst/gstvalue.c: (GST_START_TEST):
7079 * gst/gstvalue.c: (gst_value_fraction_subtract):
7082 2005-11-22 Stefan Kost <ensonic@users.sf.net>
7085 include "gstchildproxy.h"
7086 * gst/gstchildproxy.h:
7087 * libs/gst/controller/gstcontroller.h:
7088 use G_GNUC_NULL_TERMINATED
7090 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7092 * check/gst/capslist.h:
7093 * check/gst/gstcaps.c: (GST_START_TEST):
7094 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7095 * gst/gststructure.c: (gst_structure_parse_range),
7096 (gst_structure_fixate_field_nearest_fraction):
7097 * gst/gststructure.h:
7098 * gst/gstvalue.c: (gst_value_init_fraction_range),
7099 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
7100 (gst_value_collect_fraction_range),
7101 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
7102 (gst_value_set_fraction_range_full),
7103 (gst_value_get_fraction_range_min),
7104 (gst_value_get_fraction_range_max),
7105 (gst_value_serialize_fraction_range),
7106 (gst_value_transform_fraction_range_string),
7107 (gst_value_compare_fraction_range),
7108 (gst_value_deserialize_fraction_range),
7109 (gst_value_intersect_fraction_fraction_range),
7110 (gst_value_intersect_fraction_range_fraction_range),
7111 (gst_value_subtract_fraction_fraction_range),
7112 (gst_value_subtract_fraction_range_fraction),
7113 (gst_value_subtract_fraction_range_fraction_range),
7114 (gst_value_collect_fraction), (gst_value_fraction_multiply),
7115 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
7116 (gst_value_transform_string_fraction), (_gst_value_initialize):
7118 Implement fraction ranges and extend GstFraction to support
7119 arithmetic subtraction, as well as deserialization from integer
7120 strings such as "100"
7121 Add a testsuite as for int and double range set operations
7123 2005-11-21 Andy Wingo <wingo@pobox.com>
7127 * gst/gststructure.h: Add glib-compat.h.
7129 2005-11-21 Wim Taymans <wim@fluendo.com>
7131 * gst/gstbin.c: (gst_bin_change_state_func):
7134 2005-11-21 Wim Taymans <wim@fluendo.com>
7137 And add a nice define too.
7139 2005-11-21 Wim Taymans <wim@fluendo.com>
7141 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
7142 (gst_segment_new), (gst_segment_free), (gst_segment_init),
7143 (gst_segment_set_duration), (gst_segment_set_last_stop),
7144 (gst_segment_set_seek), (gst_segment_set_newsegment),
7145 (gst_segment_to_stream_time), (gst_segment_to_running_time),
7148 Make binding friendly.
7150 2005-11-21 Andy Wingo <wingo@pobox.com>
7152 * gst/gsttagsetter.h:
7154 * gst/gststructure.h:
7156 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
7159 * gst/gsterror.c (_gst_core_errors_init):
7160 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
7163 * gst/Makefile.am (gst_headers): Add glib-compat.h.
7164 (noinst_HEADERS): noinst the -private.
7166 2005-11-21 Michael Smith <msmith@fluendo.com>
7169 * gst/gstregistry.h:
7170 Remove unimplemented declarations for which we can see no sensible
7173 2005-11-21 Andy Wingo <wingo@pobox.com>
7175 * gst/gst.h: Include glib-compat.h.
7177 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
7179 * gst/glib-compat.c: Include the public and the private header.
7181 * gst/glib-compat-private.h: Copied here from glib-compat.h.
7185 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
7187 * check/gst/gstevent.c (create_custom_events): Check that
7188 FLUSH_STOP is serialized.
7190 * check/elements/identity.c (event_func):
7191 * check/elements/fakesrc.c (event_func): No stream lock, the core
7194 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
7195 stream lock taking, yay.
7197 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
7198 ensure that core takes the stream lock.
7200 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
7203 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
7204 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
7205 it already. For the flush start we do take it though so we get the
7206 right preroll state change messages.
7208 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
7209 the stream lock here, the core does it for us.
7211 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
7212 GST_STREAM_GET_LOCK.
7213 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
7214 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
7215 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
7216 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
7217 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
7218 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
7220 * gst/gstpad.c: Update for stream lock name change.
7222 * gst/base/gstbasesink.c: Update for preroll lock name change.
7224 2005-11-21 Wim Taymans <wim@fluendo.com>
7226 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
7227 (gst_clock_get_master):
7229 * gst/gstsystemclock.c: (gst_system_clock_init):
7230 Convert Clock flags to object flags.
7231 Added methods to manage master/slave clocks.
7233 2005-11-21 Wim Taymans <wim@fluendo.com>
7235 * check/gst/gstsegment.c: (GST_START_TEST):
7236 * docs/design/part-TODO.txt:
7237 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7238 (gst_base_sink_event), (gst_base_sink_do_sync),
7239 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
7240 (gst_base_sink_query), (gst_base_sink_change_state):
7241 * gst/base/gstbasesink.h:
7242 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
7243 (gst_base_src_default_newsegment),
7244 (gst_base_src_configure_segment), (gst_base_src_do_seek),
7245 (gst_base_src_get_range), (gst_base_src_loop),
7246 (gst_base_src_change_state):
7247 * gst/base/gstbasesrc.h:
7248 * gst/base/gstbasetransform.c:
7249 (gst_base_transform_prepare_output_buf),
7250 (gst_base_transform_event), (gst_base_transform_change_state):
7251 * gst/base/gstbasetransform.h:
7252 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
7253 (gst_collect_pads_event):
7254 * gst/base/gstcollectpads.h:
7255 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
7256 (gst_fake_src_create):
7257 * gst/elements/gstfakesrc.h:
7258 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7259 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
7260 (gst_segment_set_last_stop), (gst_segment_set_seek),
7261 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
7262 (gst_segment_to_running_time), (gst_segment_clip):
7264 More segment updates, replace code in plugins with segment
7267 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
7269 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
7270 Don't ignore sscanf results
7272 2005-11-21 Andy Wingo <wingo@pobox.com>
7274 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
7277 * *.c: Ran scripts/update-macros. Oh yes.
7279 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
7280 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
7283 * scripts/update-macros: New script. Run it on your files to
7284 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
7287 2005-11-21 Stefan Kost <ensonic@users.sf.net>
7289 * docs/gst/Makefile.am:
7290 * docs/gst/gstreamer-docs.sgml:
7291 * docs/gst/gstreamer-sections.txt:
7292 * docs/gst/gstreamer.types:
7294 more docs fixes, add new api to the docs
7296 2005-11-21 Andy Wingo <wingo@pobox.com>
7298 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
7299 state_broadcast call.
7301 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
7303 2005-11-21 Julien MOUTTE <julien@moutte.net>
7305 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
7306 function calls for arrays.
7308 2005-11-21 Stefan Kost <ensonic@users.sf.net>
7310 * docs/random/ensonic/media-device-daemon.txt:
7311 wild idea, can this be done?
7312 * docs/gst/gstreamer-sections.txt:
7317 * gst/gstpluginfeature.c:
7321 doc fixes and additions
7323 2005-11-21 Andy Wingo <wingo@pobox.com>
7325 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
7326 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
7327 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
7328 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
7329 private to the basesrc implementation.
7331 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
7332 behalf of event function if necessary. It should no longer be
7333 necessary to take the stream lock in pad's event functions. Fixes
7336 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
7337 * docs/gst/gstreamer-sections.txt:
7338 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
7339 (gst_structure_fixate_field_nearest_double),
7340 (gst_structure_fixate_field_boolean):
7341 * gst/gststructure.h:
7342 * win32/common/libgstreamer.def:
7343 * win32/gstreamer.def:
7345 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
7348 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
7350 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
7351 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
7352 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
7353 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
7354 (gst_fdsrc_uri_handler_init):
7355 * gst/elements/gstfdsrc.h:
7356 Port fd:// URI handler from 0.8 to fdsrc
7358 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
7360 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
7361 (gst_value_serialize_fourcc):
7363 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
7364 consistent with our other format defines (#320324).
7366 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
7368 * gst/gstvalue.c: (gst_value_is_fixed):
7369 Revert previous commit. Value lists are by definition
7370 not fixed, as they are a list of possible values.
7372 2005-11-21 Andy Wingo <wingo@pobox.com>
7374 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
7375 during the stable series if we need it. Fixes #319178.
7377 * gst/gstevent.c (gst_event_new_filler): Removed.
7379 * check/gst/gstevent.c: Update comment about filler events.
7381 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
7383 * gst/gstvalue.c: (gst_value_is_fixed):
7384 Should handle both value arrays and value lists.
7386 2005-11-21 Andy Wingo <wingo@pobox.com>
7388 patch by: Alessandro Dessina <alessandro nnva org>
7390 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
7391 functions to access arrays. Fixes #321962.
7393 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
7395 * docs/gst/gstreamer.types:
7396 gst_collectpads_get_type => gst_collect_pads_get_type.
7398 * gst/base/gstbasetransform.c:
7399 Remove unused SIGNAL_HANDOFF enum.
7401 2005-11-21 Andy Wingo <wingo@pobox.com>
7403 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
7404 the event type (upstream, downstream, serialized). Renamed
7405 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
7406 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
7407 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
7409 * gst/gstevent.c: Update for new CUSTOM event names.
7411 * check/gst/gstevent.c: Update check for new CUSTOM event names.
7414 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
7417 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
7419 * docs/gst/gstreamer-sections.txt:
7420 * win32/common/libgstbase.def:
7421 * win32/libgstbase.def:
7422 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
7423 (gst_collect_pads_class_init), (gst_collect_pads_init),
7424 (gst_collect_pads_finalize), (gst_collect_pads_new),
7425 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
7426 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
7427 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
7428 (gst_collect_pads_start), (gst_collect_pads_stop),
7429 (gst_collect_pads_peek), (gst_collect_pads_pop),
7430 (gst_collect_pads_available), (gst_collect_pads_read),
7431 (gst_collect_pads_flush), (gst_collect_pads_event),
7432 (gst_collect_pads_chain):
7433 * gst/base/gstcollectpads.h:
7434 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
7435 unimplemented functions as unimplemented. Add padding to
7436 GstCollectData. (#320766, #320423)
7438 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
7441 Improve docs for DURATION message (usage of duration parameter)
7444 2005-11-20 Wim Taymans <wim@fluendo.com>
7446 * check/Makefile.am:
7447 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
7451 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
7452 (gst_segment_set_seek), (gst_segment_set_newsegment),
7453 (gst_segment_to_stream_time), (gst_segment_to_running_time),
7456 Added segment helper structure and methods. Not fully implemented
7458 Added segment check.
7460 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
7462 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7463 Add a deserialisation test for fractions
7464 * examples/metadata/read-metadata.c: (message_loop),
7465 (make_pipeline), (main):
7466 Fix up metadata reading sample.
7467 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7469 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7470 Don't try and fixate empty caps
7471 * gst/gst_private.h:
7472 Wrap in G_BEGIN_DECLS/G_END_DECLS
7473 * gst/gstvalue.c: (gst_value_collect_fraction),
7474 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
7475 (gst_value_transform_string_fraction),
7476 (gst_value_compare_fraction):
7477 Add some extra guards to ensure that we don't end up
7478 with an invalid denominator of 0 in a gstfraction and
7479 that fractions always get reduced.
7481 2005-11-20 Wim Taymans <wim@fluendo.com>
7483 * docs/gst/gstreamer-sections.txt:
7494 2005-11-20 Wim Taymans <wim@fluendo.com>
7496 * docs/design/part-TODO.txt:
7498 Make a proper enum of the flag.
7500 2005-11-19 Wim Taymans <wim@fluendo.com>
7502 * docs/design/part-TODO.txt:
7503 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
7504 (gst_format_to_quark), (gst_format_register):
7506 * gst/gstquery.c: (_gst_query_initialize),
7507 (gst_query_type_get_name), (gst_query_type_to_quark),
7508 (gst_query_type_register):
7510 Add type to quark and type to string conversions.
7512 2005-11-19 Andy Wingo <wingo@pobox.com>
7514 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
7517 2005-11-19 Wim Taymans <wim@fluendo.com>
7519 * docs/design/part-TODO.txt:
7520 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
7521 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
7522 (gst_bin_handle_message_func):
7524 Make message handling overridable.
7526 2005-11-19 Andy Wingo <wingo@pobox.com>
7528 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
7531 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
7533 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
7534 is a GstClockTime. Fixes #321710.
7536 * gst/gstclock.h (GstClock): Remove offset property. Add
7537 internal_calibration and external_calibration. Fix padding. Pad
7538 also by GstClockTime so we don't run into problems.
7540 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
7541 (gst_clock_get_rate_offset): Remove.
7542 (gst_clock_set_time_adjust): Remove. Fixes #321712.
7545 * gst/gstutils.c (g_static_rec_cond_wait)
7546 (g_static_rec_cond_timed_wait): Removed, no longer needed.
7548 * gst/gstbin.c: Remove terrible continue_state prototype.
7550 * gst/gstelement.h (gst_element_continue_state): Make public.
7553 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
7554 by continue_state. Fixes #319389.
7556 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
7557 Really fixes #168438. However I don't see anywhere where the
7558 filter function is called... stupid GStreamer...
7560 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
7561 don't have a dispose function, so it won't get called when the
7562 object is unreffed, but oh well!
7564 * gst/gstindex.c (gst_index_set_filter_full): New API function,
7565 allows a destroy function to be set so user_data can be freed.
7567 (gst_index_set_filter): Call gst_index_set_filter_full.
7569 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
7571 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
7572 string should produce an error, given the lack of a way to
7573 represent NULL strings. Fixes #165650.
7576 * gst/gstvalue.c (gst_value_array_append_value)
7577 (gst_value_array_prepend_value, gst_value_array_get_size)
7578 (gst_value_array_get_value): New API, copied from
7579 gst_value_list_*, only operates on arrays.
7580 (gst_value_list_append_value, gst_value_list_prepend_value)
7581 (gst_value_list_concat, gst_value_list_get_size)
7582 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
7584 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
7585 init_list, because it works on both.
7586 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
7587 (gst_value_copy_list_or_array): Renamed from copy_list.
7588 (gst_value_free_list_or_array): Renamed from free_list.
7589 (gst_value_collect_list_or_array): Renamed from collect_list.
7590 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
7591 (gst_value_list_or_array_peek_pointer): Renamed from
7593 (_gst_value_array_value_table, _gst_value_list_value_table):
7594 Update value table functions.
7595 (gst_value_compare_list_or_array): Renamed from compare_list.
7597 * gsttaglist.h: Whoops, foreach function returns void. Also fix
7601 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
7602 GstTagList*. Fixes #143472.
7604 * gst/gststructure.h: Clarify what the foreach/map functions can
7605 or can't do to their arguments.
7607 2005-11-18 Wim Taymans <wim@fluendo.com>
7609 * gst/gstclock.c: (gst_clock_set_calibration),
7610 (gst_clock_get_calibration):
7612 Calibration can be set with internal time equal to current
7615 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
7621 2005-11-18 Andy Wingo <wingo@pobox.com>
7624 * pkgconfig/gstreamer-net.pc.in:
7625 * pkgconfig/gstreamer-net-uninstalled.pc.in:
7626 * pkgconfig/Makefile.am: Add net pkgconfig files.
7628 2005-11-18 Stefan Kost <ensonic@users.sf.net>
7631 * gst/gstghostpad.c:
7637 2005-11-18 Andy Wingo <wingo@pobox.com>
7639 * gst/net/gstnetclientclock.c: Turn off debugging.
7641 * check/net/gstnetclientclock.c (test_functioning): Assert that the
7642 times connverge somewhat. Can't make a real test.
7644 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
7645 integer arithmetic. Return the minimum of the domain, which can be
7646 set as "internal" for gst_clock_set_calibration.
7647 (gst_net_client_clock_observe_times): Call _set_calibration.
7648 (gst_net_client_clock_new): Call _set_calibration instead of
7651 * check/net/gstnetclientclock.c (test_functioning): Use the right
7655 * gst/gstclock.c (gst_clock_get_calibration)
7656 (gst_clock_set_calibration): New functions, obsolete the ones I
7657 added yesterday. Doh. Precision issues mean we have to extrapolate
7658 from a point in the more recent past than 1970.
7659 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
7661 (gst_clock_adjust_unlocked): Use the right calibration data.
7663 2005-11-18 Edward Hervey <edward@fluendo.com>
7665 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
7666 Also reset the ->current_* values in READY->PAUSED
7668 2005-11-18 Andy Wingo <wingo@pobox.com>
7670 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
7671 Whoops, check the right fd. Also add some debugging.
7672 (gst_net_client_clock_observe_times): Adjust for int64 offset.
7673 (do_linear_regression): Add a crapload of debugging. Subtract off
7674 the minimum values from the input series to discard unneeded bits.
7675 Use only int arithmetic. There is still double arithmetic when
7676 calculating the intercept that needs fixing. Return boolean to
7677 indicate success; FALSE would mean the domain or range is too
7678 great. Still needs fixes.
7680 2005-11-18 Wim Taymans <wim@fluendo.com>
7682 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
7683 For the current position in stream time, we need to subtract
7686 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
7687 Release lock before calling the callback function of async
7690 2005-11-18 Andy Wingo <wingo@pobox.com>
7692 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
7693 Port goes all the way to MAXUINT16.
7695 * gst/net/gstnettimeprovider.c: Make the port range the same as
7696 for the kernel: 0 assigns, otherwise ports are less than
7699 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
7702 * check/net/gstnetclientclock.c (test_functioning): Add the start
7705 2005-11-18 Wim Taymans <wim@fluendo.com>
7707 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
7708 (gst_bin_remove_func), (bin_bus_handler):
7710 Removing a clock provider from a bin, triggers a clock lost message
7711 so that a new clock will be selected.
7712 Adding a clock to a bin triggers a clock provider message.
7713 Make sure we reselect a clock when we received a clock lost message.
7714 Keep a reference to the element that provided the clock.
7716 2005-11-18 Andy Wingo <wingo@pobox.com>
7718 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
7719 the clock initially so it produces values around the base time.
7720 (gst_net_client_clock_class_init): Typo fix.
7721 (gst_net_client_clock_thread): Add note on when the socket gets
7724 2005-11-17 Wim Taymans <wim@fluendo.com>
7726 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
7727 Free remote and local time arrays.
7729 2005-11-17 Wim Taymans <wim@fluendo.com>
7731 * gst/net/gstnetclientclock.c: (do_linear_regression),
7732 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
7733 Fix compilation, uninitialized vars and a forgotten continue.
7735 2005-11-17 Andy Wingo <wingo@pobox.com>
7737 * check/Makefile.am (check_PROGRAMS):
7738 * check/net/gstnetclientclock.c: Add a most minimal test for the
7739 net client clock. More to come later.
7742 * gst/net/Makefile.am: Add netclientclock.
7744 * gst/net/gstnetclientclock.h:
7745 * gst/net/gstnetclientclock.c: New files, implement an untested
7746 GstClock that takes its time from a network time provider.
7747 Implements the algorithm in network-clock.scm.
7749 * tests/network-clock.scm (*window-size*): Rename from
7751 * tests/network-clock.scm (network-time):
7752 * tests/network-clock-utils.scm (q-push): Update callers.
7754 2005-11-17 Wim Taymans <wim@fluendo.com>
7756 * gst/gstbin.c: (gst_bin_provide_clock_func),
7757 (gst_bin_sort_iterator_new):
7758 And unref the child too..
7760 2005-11-17 Wim Taymans <wim@fluendo.com>
7762 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7763 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
7764 Refactor the sort iterator so it can be used while holding the
7766 Make clock selection select a clock closest to the source.
7768 2005-11-17 Michael Smith <msmith@fluendo.com>
7770 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
7771 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
7773 Anonymous structs are a gcc (and some other compilers) extension, so
7774 don't use them. Since this is only for ABI-compatibility, and our
7775 API/ABI freeze is over in a few days, this whole thing will only
7776 last a few days, so don't bother trying to think up a meaningful
7777 name for the struct.
7779 2005-11-17 Andy Wingo <wingo@pobox.com>
7781 * gst/gstclock.h (GstClock): Add rate and offset properties,
7782 preserving ABI stability. Add rate/offset accessors. Will file bug
7783 for the freeze break.
7785 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
7786 and offset, trying to keep precision and avoiding
7788 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
7789 functions. Make gst_clock_set_time_adjust obsolete.
7790 (gst_clock_set_time_adjust): Note that this function is obsolete.
7793 * gst/base/gstbasetransform.h: Make the ABI-stability hack
7794 greppable by using GST_PADDING-1+1.
7796 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
7798 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7800 * gst/gstmessage.c: (gst_message_parse_clock_lost):
7801 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
7803 * gst/gstpadtemplate.h:
7804 * gst/gstpluginfeature.h:
7805 Don't use c++ style comments in headers (#321638).
7807 2005-11-16 Andy Wingo <wingo@pobox.com>
7809 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
7812 * check/net/gstnettimeprovider.c: Check to see that the time
7813 provider actually provides times. Works, yo!
7815 2005-11-16 Wim Taymans <wim@fluendo.com>
7817 * check/Makefile.am:
7820 * check/elements/fakesrc.c: (GST_START_TEST):
7821 Set element to NULL before disposing it.
7823 2005-11-16 Andy Wingo <wingo@pobox.com>
7825 * gst/net/Makefile.am:
7827 * gst/net/gstnettimeprovider.c:
7828 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
7829 provider, include it from gstnet.h, and add it to the build.
7831 * gst/net/gstnettimepacket.h:
7832 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
7833 sending and receiving.
7835 2005-11-16 Wim Taymans <wim@fluendo.com>
7837 * check/Makefile.am:
7838 Enable valgrind check.
7840 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
7841 (gst_fake_src_alloc_buffer):
7844 2005-11-16 Wim Taymans <wim@fluendo.com>
7846 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
7847 Call parent finalize too.
7849 2005-11-16 Wim Taymans <wim@fluendo.com>
7851 * check/Makefile.am:
7852 Enable valgrind check that should work fine now.
7854 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7855 * gst/gstqueue.c: (gst_queue_init):
7856 Fix memleaks in pad allocation.
7858 2005-11-16 Andy Wingo <wingo@pobox.com>
7860 * gst/net/Makefile.am:
7861 * gst/net/gstnet.h: New part of core to hold network elements and
7862 objects. Put in core because it exposes API that applications want
7863 to use. The library is named libgstnet-tempname right now because
7864 of the existing libgstnet in gst-plugins-base. Solution is
7865 probably to rename the one in plugins-base; will file a bug for
7868 * gst/net/gstnettimeprovider.c:
7869 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
7870 get_time call over the network.
7873 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
7875 * check/Makefile.am:
7876 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
7877 get additions shortly.
7879 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7881 * gst/gstpad.c: (gst_pad_new_from_static_template):
7883 add gst_pad_new_from_static_template functions
7884 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
7885 (gst_check_setup_sink_pad):
7886 * gst/elements/gsttee.c: (gst_tee_init):
7889 2005-11-16 Wim Taymans <wim@fluendo.com>
7891 * gst/gstpad.c: (gst_pad_pause_task):
7892 Removed warning, it's not really an error either.
7894 2005-11-16 Wim Taymans <wim@fluendo.com>
7896 * gst/base/gstbasetransform.c:
7897 (gst_base_transform_prepare_output_buf),
7898 (gst_base_transform_event):
7899 Check if the caps are NULL, this can happen if the element
7900 is shutting down and the pad caps are set to NULL.
7902 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7904 * gst/elements/gsttee.c: (gst_tee_init):
7905 fix pad template leak in tee
7907 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7909 * gst/glib-compat.c: (g_value_dup_gst_object):
7910 * gst/glib-compat.h:
7911 * gst/gstpad.c: (gst_pad_set_property):
7912 use gst_object_ref when setting the pad template; this will
7913 trigger the pad template leaks on GLib 2.6 and the slaves
7915 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7917 * gst/glib-compat.c: (gst_flags_get_first_value):
7918 * gst/glib-compat.h:
7919 * gst/gstregistryxml.c:
7920 remove functions copied from GLib 2.6
7922 2005-11-16 Michael Smith <msmith@fluendo.com>
7925 Don't link against VALGRIND_LIBS. That was always the wrong thing to
7926 do, but only breaks with newer valgrind versions. We're not a
7927 valgrind tool, we have no link-time dependencies on libcoregrind.
7929 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7931 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7936 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7938 * gst/base/gstbasesrc.c: (gst_base_src_init):
7939 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7940 * gst/gstqueue.c: (gst_queue_init):
7941 * gst/gstregistryxml.c: (load_feature):
7942 Revert all these unrefs, they don't even pass make check !
7944 2005-11-15 Johan Dahlin <johan@gnome.org>
7946 * gst/base/gstbasesrc.c: (gst_base_src_init):
7947 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7948 * gst/gstqueue.c: (gst_queue_init):
7949 Free pad templates, fixes a couple of leaks.
7951 2005-11-15 Daniel Fischer <dan at f3c dot com>
7953 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7955 * gst/gstpad.c: (gst_pad_get_property):
7956 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
7957 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
7960 2005-11-15 Wim Taymans <wim@fluendo.com>
7965 2005-11-15 Andy Wingo <wingo@pobox.com>
7967 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
7969 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
7970 using GST_CLOCK_TIME_NONE to disable base time management.
7971 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
7972 time if it was NONE before.
7973 (gst_pipeline_change_state): Only munge the base time if
7974 stream_time != GST_CLOCK_TIME_NONE.
7976 * check/gst/gstpipeline.c (test_base_time): Punt around the
7977 problem of the probe not being called, because that's not the
7978 issue I'm looking at. Add a check that setting stream_time to NONE
7979 disables base time management.
7981 2005-11-15 Wim Taymans <wim@fluendo.com>
7983 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
7984 segment_stop == -1 at startup.
7986 * gst/base/gstbasetransform.c: (gst_base_transform_event),
7987 (gst_base_transform_change_state):
7988 Init segment values at start.
7990 2005-11-15 Wim Taymans <wim@fluendo.com>
7992 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7993 0 segment values are 0 in any format.
7995 * gst/base/gstbasetransform.c: (gst_base_transform_event):
7996 * gst/base/gstbasetransform.h:
7997 Parse newsegment correctly in basetransform
7999 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8000 Sync to clock using updated segment values.
8002 2005-11-15 Andy Wingo <wingo@pobox.com>
8004 * check/gst/gstpipeline.c (test_base_time): Add check that the
8005 base time and stream time are reset correctly.
8007 2005-11-15 Wim Taymans <wim@fluendo.com>
8009 * docs/design/part-TODO.txt:
8010 Some more TODO items.
8012 2005-11-15 Andy Wingo <wingo@pobox.com>
8014 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
8015 error if the user selected "no clock" as the clocking method.
8017 * check/gst/gstpipeline.c (test_base_time): New test for buffer
8018 timestamps with live capture.
8020 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
8021 is 0 but we are a live source, timestamp the buffers using the
8024 2005-11-14 Stefan Kost <ensonic@users.sf.net>
8026 * docs/gst/gstreamer-sections.txt:
8028 * gst/gstghostpad.c:
8033 2005-11-14 Wim Taymans <wim@fluendo.com>
8036 add suppressions from Wim's Debian machine
8038 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
8041 add suppressions from Andy's AMD64 Ubuntu machine
8043 2005-11-14 Andy Wingo <wingo@pobox.com>
8045 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
8046 STATE_LOCK not necessary. Fixes #311489.
8048 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
8051 * gst/gstindex.c (gst_index_add_object): Note in the docs that
8052 this function is not implemented.
8054 2005-11-14 Julien MOUTTE <julien@moutte.net>
8056 * gst/base/gstbasetransform.c:
8057 (gst_base_transform_prepare_output_buf):
8058 Ref the source pad caps while we need them.
8061 2005-11-11 Wim Taymans <wim@fluendo.com>
8063 * docs/gst/gstreamer-sections.txt:
8064 Added some docs for GstCollectData.
8066 * gst/base/gstadapter.c:
8067 Some small code example fix.
8069 * gst/base/gstcollectpads.c:
8070 * gst/base/gstcollectpads.h:
8073 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
8075 * configure.ac: back to HEAD
8077 === release 0.9.5 ===
8079 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
8082 releasing 0.9.5, "Bike Lunch Day"
8084 2005-11-11 Wim Taymans <wim@fluendo.com>
8086 * gst/gstbuffer.c: (_gst_buffer_copy):
8089 * gst/gstcaps.c: (gst_caps_is_equal):
8091 Make _is_equal fast in the trivial cases.
8093 * gst/gstminiobject.c:
8094 * gst/gstminiobject.h:
8095 More docs. Spifify .h file.
8100 2005-11-11 Wim Taymans <wim@fluendo.com>
8102 * gst/base/gstbasetransform.c:
8103 (gst_base_transform_prepare_output_buf),
8104 (gst_base_transform_handle_buffer):
8106 If we're processing a buffer and need to allocate an output
8107 buffer, we cannot accept a format change. If we did get a
8108 format change, we have to alloc a buffer ourselves of the
8111 2005-11-11 Wim Taymans <wim@fluendo.com>
8113 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
8114 While checking the flag for reentrancy in the gstcaps function
8115 is nice to detect recursive invocations, it also makes it
8116 impossible to call getcaps from multiple threads, which must be
8117 possible. So, checking for recursive calls has to go.
8119 2005-11-11 Michael Smith <msmith@fluendo.com>
8121 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8122 Don't sync on buffers that fall partially outside our current
8123 segment. Prevents an assertion failure/abort playing some files.
8125 2005-11-10 Andy Wingo <wingo@pobox.com>
8127 * check/gst/gstbin.c (test_message_state_changed_children): Style
8130 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
8131 gst_bus_poll with the signal watch. Ensures that poll and a signal
8132 watch see the same messages.
8134 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
8135 a poll and a watch at the same time get the same messages.
8137 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
8139 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
8140 * gst/gstcaps.c: (gst_caps_intersect):
8141 Don't call gst_caps_do_simplify - it doesn't respect order of caps
8142 and it's not needed.
8144 2005-11-10 Wim Taymans <wim@fluendo.com>
8146 * docs/design/part-TODO.txt:
8149 2005-11-10 Wim Taymans <wim@fluendo.com>
8151 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8152 * gst/base/gstbasesrc.c: (gst_base_src_wait),
8153 (gst_base_src_do_sync), (gst_base_src_get_range):
8154 Implement clock sync in base class.
8156 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
8158 patch by: Tim-Philipp Müller <tim at centricular dot net>
8160 * gst/gststructure.c: (gst_structure_parse_field),
8161 (gst_structure_from_string):
8162 Forward-port a 0.8 patch to handle escaped spaces in structure string,
8163 so that gst_parse_launch() can deal with spaces in filtered link
8164 caps (fixes #164479)
8165 * check/gst/capslist.h:
8166 * check/gst/gststructure.c: (GST_START_TEST):
8167 add unit tests for this change
8169 2005-11-10 Wim Taymans <wim@fluendo.com>
8171 * docs/gst/gstreamer-sections.txt:
8174 Fix docs, move some STATE macros to private.
8176 2005-11-10 Wim Taymans <wim@fluendo.com>
8178 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8179 Added check for bug #317341
8183 Some more spiffifying.
8185 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
8186 Call peer linkfunction if we are a source pad. Totally fixes
8190 Update docs, source pads should call the peer linkfunction
8191 so they can atomically perform the pad link.
8193 2005-11-09 Wim Taymans <wim@fluendo.com>
8197 Uber-spiffy-spiffify some more.
8199 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
8201 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
8202 * gst/elements/gstfilesink.c: (gst_file_sink_init):
8203 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8204 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
8205 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
8206 * gst/gstpad.c: (gst_pad_init):
8207 Use GST_DEBUG_FUNCPTR() more extensively.
8209 2005-11-09 Wim Taymans <wim@fluendo.com>
8211 * gst/gstobject.c: (gst_object_class_init):
8213 Documentation fixes.
8215 2005-11-09 Edward Hervey <edward@fluendo.com>
8217 * gst/gsttypefindfactory.c:
8220 2005-11-09 Edward Hervey <edward@fluendo.com>
8222 * gst/base/gsttypefindhelper.c:
8223 * gst/gsttypefind.c:
8224 * gst/gsttypefind.h:
8227 2005-11-09 Wim Taymans <wim@fluendo.com>
8229 * gst/gstiterator.c:
8236 2005-11-09 Wim Taymans <wim@fluendo.com>
8242 2005-11-09 Wim Taymans <wim@fluendo.com>
8244 * docs/gst/gstreamer-sections.txt:
8245 Moved the message async delivery private lock and cond
8246 to the private section.
8252 2005-11-09 Edward Hervey <edward@fluendo.com>
8254 * docs/gst/gstreamer-sections.txt:
8257 Document GstURIHandler
8259 2005-11-09 Wim Taymans <wim@fluendo.com>
8261 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
8262 (gst_iterator_find_custom):
8263 * gst/gstiterator.h:
8266 2005-11-09 Wim Taymans <wim@fluendo.com>
8269 Document another field.
8271 * gst/gststructure.c:
8272 * gst/gststructure.h:
8275 2005-11-09 Wim Taymans <wim@fluendo.com>
8280 2005-11-09 Wim Taymans <wim@fluendo.com>
8282 * docs/gst/gstreamer-sections.txt:
8283 Added some new macros.
8290 2005-11-09 Wim Taymans <wim@fluendo.com>
8292 * docs/design/part-TODO.txt:
8293 Some more items for the TODO
8299 2005-11-09 Andy Wingo <wingo@pobox.com>
8301 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
8302 to work on something else now tho...
8304 * gst/base/gstadapter.c: More adapter docs.
8306 * gst/elements/gstfilesink.c (gst_file_sink_start)
8307 (gst_file_sink_stop): New functions, replace the state change
8309 (gst_file_sink_class_init): Hook up the start and stop functions.
8310 (gst_file_sink_base_init): Don't set the state change handler any
8311 more. It was a bit ugly too, being set from here...
8312 (gst_file_sink_get_property, gst_file_sink_set_property):
8314 (gst_file_sink_set_location): More robust check that doesn't call
8317 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
8319 * gst/base/gstbasetransform.c: (gst_base_transform_event):
8320 Hold STREAM_LOCK while pushing newsegment or tag events as well.
8322 2005-11-08 Wim Taymans <wim@fluendo.com>
8324 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8325 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8326 (gst_base_sink_chain), (gst_base_sink_change_state):
8327 * gst/base/gstbasesink.h:
8328 * gst/base/gstbasesrc.h:
8331 Avoid excessive typechecking in macros.
8333 * gst/gstminiobject.c: (gst_mini_object_get_type),
8334 (gst_mini_object_init), (gst_mini_object_new),
8335 (gst_mini_object_free):
8336 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
8337 (gst_object_finalize):
8338 Remove cruft code, optimize alloc_trace.
8340 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
8342 * docs/faq/gst-uninstalled:
8343 fix up PS1 for systems that try to reset it
8345 2005-11-07 Wim Taymans <wim@fluendo.com>
8347 * gst/base/gstbasesrc.c: (gst_base_src_init),
8348 (gst_base_src_get_range):
8349 Set the segment_end to -1 initially. Fixed typefind.
8351 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
8353 * gst/base/gstadapter.c:
8354 Debug category should be 'adapter', not 'GstAdapter'.
8356 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
8357 (gst_collectpads_class_init), (gst_collectpads_init),
8358 (gst_collectpads_peek), (gst_collectpads_pop),
8359 (gst_collectpads_event), (gst_collectpads_chain):
8360 Add debug category and some debugging output. Use boilerplate
8361 macros. Remove some extraneous words from docs.
8363 2005-11-05 Andy Wingo <wingo@pobox.com>
8365 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
8368 2005-11-04 Stefan Kost <ensonic@users.sf.net>
8370 * docs/gst/gstreamer-sections.txt:
8373 * gst/gstminiobject.h:
8378 2005-11-04 Wim Taymans <wim@fluendo.com>
8380 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8381 Small update to stop at the configured segment_end
8384 2005-11-04 Stefan Kost <ensonic@users.sf.net>
8386 * gst/gstregistry.c:
8387 * gst/gstregistry.h:
8390 2005-11-04 Edward Hervey <edward@fluendo.com>
8392 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8393 Check if we are doing a segment seek and have arrived at the
8394 end of that segment.
8396 2005-11-04 Wim Taymans <wim@fluendo.com>
8398 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
8399 Don't leak a mutex unlock in case of an error.
8404 2005-11-04 Wim Taymans <wim@fluendo.com>
8406 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
8408 Get the context to wake up only once.
8410 2005-11-03 Wim Taymans <wim@fluendo.com>
8412 * check/states/sinks.c: (GST_START_TEST):
8413 Uncomment fixed check.
8415 * docs/design/part-TODO.txt:
8418 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8419 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
8420 (gst_base_sink_get_position):
8421 If we are going to PLAYING, post the right pending state
8422 when we post the intermediate paused message.
8424 * gst/gstelement.c: (gst_element_continue_state),
8425 (gst_element_set_state_func), (gst_element_change_state):
8426 Don't post state changes that were between the same state
8429 2005-11-03 Stefan Kost <ensonic@users.sf.net>
8431 * docs/gst/gstreamer-sections.txt:
8434 * gst/gstminiobject.h:
8437 more docs and doc style fixes
8439 2005-11-03 Stefan Kost <ensonic@users.sf.net>
8441 * docs/gst/gstreamer-sections.txt:
8443 * gst/gstminiobject.c:
8446 2005-11-03 Andy Wingo <wingo@pobox.com>
8448 * check/states/sinks.c (test_livesrc_sink): Add checks that the
8449 state-changed messages actually have the right order and the right
8452 2005-11-03 Wim Taymans <wim@fluendo.com>
8454 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
8455 Added some more checks. Specifically the case where NO_PREROLL
8456 elements are in the pipeline.
8458 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8459 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
8460 (gst_base_sink_get_position):
8461 Post READY->PAUSED state change messages too.
8462 Fix bug where VOID was posted as pending state...
8464 * gst/gstbin.c: (gst_bin_recalc_state):
8465 use _element_continue_state() to continue the state change.
8467 * gst/gstelement.c: (gst_element_continue_state),
8468 (gst_element_commit_state), (gst_element_set_state_func),
8469 (gst_element_change_state), (gst_element_change_state_func):
8470 Lots of state change cleanups, assign the STATE_RETURN in
8471 a new continue_state() function that also propagates the
8472 last return value from a state change to the app.
8473 Update some debug statements with proper category.
8475 2005-11-03 Wim Taymans <wim@fluendo.com>
8477 * docs/design/part-events.txt:
8478 * docs/design/part-gstpipeline.txt:
8479 * docs/design/part-messages.txt:
8480 * docs/design/part-overview.txt:
8481 * docs/design/part-seeking.txt:
8482 * docs/design/part-states.txt:
8483 * docs/design/part-trickmodes.txt:
8484 * docs/manual/advanced-position.xml:
8488 People think !! is ugly, this looks better.
8490 * gst/gstpad.c: (gst_pad_set_blocked_async):
8491 Remove !! since it's fixed elsewhere now.
8493 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
8495 * gst/gstminiobject.h:
8497 Add !! to _FLAG_IS_SET macros to make the result boolean.
8499 2005-11-03 Edward Hervey <edward@fluendo.com>
8501 * gst/gstpad.c: (gst_pad_set_blocked_async):
8502 comparing a flag and a gboolean rarely returns coherent results...
8503 Added two characters (!!) to make that work correctly.
8505 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
8507 * gst/gstbus.c: (gst_bus_class_init):
8510 * gst/gstqueue.c: (gst_queue_loop):
8511 Don't assume a miniobject that isn't a buffer is an
8512 event (it could be that there is a refcounting
8513 problem somewhere and the pointer is stale and
8514 refers to an already destroyed miniobject).
8516 2005-11-03 Julien MOUTTE <julien@moutte.net>
8518 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
8520 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
8522 * docs/manual/advanced-position.xml:
8523 Update seek example and explanations to current 0.9 API.
8525 * gst/elements/gsttypefindelement.c:
8526 (gst_type_find_element_activate):
8527 Remove FIXME comment now that the found caps
8530 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
8532 * gst/gstregistryxml.c: (load_feature):
8533 Add another GST_STR_NULL instance
8535 2005-11-02 Edward Hervey <edward@fluendo.com>
8537 * gst/gstpad.c: (handle_pad_block):
8538 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
8540 2005-11-02 Wim Taymans <wim@fluendo.com>
8545 * gst/gstelement.c: (gst_element_commit_state):
8546 Remove unused value.
8548 * gst/gstiterator.c:
8549 Mention that the returned element is reffed in the docs.
8551 2005-11-02 Wim Taymans <wim@fluendo.com>
8553 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
8554 (gst_pad_push), (gst_pad_push_event):
8555 Unlock blocked pads when they are flushed.
8557 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
8560 * docs/gst/gstreamer-sections.txt:
8563 * gst/gstregistry.c: (gst_registry_scan_path_level):
8564 fix for a nasty little missed situation where an installed plug-in
8565 which was in the cache did not get overridden by an uninstalled one
8566 which was earlier in the plugin path because the newly created plugin
8567 for the uninstalled one (not in the registry) didn't get its
8568 ->registered set to TRUE
8570 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
8572 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
8573 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
8574 (gst_collectpads_is_active), (gst_collectpads_collect),
8575 (gst_collectpads_collect_range), (gst_collectpads_start),
8576 (gst_collectpads_stop), (gst_collectpads_peek),
8577 (gst_collectpads_pop), (gst_collectpads_available),
8578 (gst_collectpads_read), (gst_collectpads_flush):
8579 Guard public API with assertions.
8582 Fix docs for gst_pad_set_link_function().
8584 2005-11-02 Johan Dahlin <johan@gnome.org>
8586 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
8587 Unref found_caps after we used it.
8589 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
8591 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
8592 Don't try to ref NULL.
8594 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
8596 * win32/common/config.h.in:
8597 provide a GST_FUNCTION that just gives a string for now
8599 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
8601 * win32/common/gstenumtypes.c: (register_gst_object_flags),
8602 (gst_object_flags_get_type), (register_gst_bin_flags),
8603 (gst_bin_flags_get_type), (register_gst_buffer_flag),
8604 (gst_buffer_flag_get_type), (register_gst_bus_flags),
8605 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
8606 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
8607 (gst_clock_return_get_type), (register_gst_clock_entry_type),
8608 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
8609 (gst_clock_flags_get_type), (register_gst_state),
8610 (gst_state_get_type), (register_gst_state_change_return),
8611 (gst_state_change_return_get_type), (register_gst_state_change),
8612 (gst_state_change_get_type), (register_gst_element_flags),
8613 (gst_element_flags_get_type), (register_gst_core_error),
8614 (gst_core_error_get_type), (register_gst_library_error),
8615 (gst_library_error_get_type), (register_gst_resource_error),
8616 (gst_resource_error_get_type), (register_gst_stream_error),
8617 (gst_stream_error_get_type), (register_gst_event_type),
8618 (gst_event_type_get_type), (register_gst_seek_type),
8619 (gst_seek_type_get_type), (register_gst_seek_flags),
8620 (gst_seek_flags_get_type), (register_gst_format),
8621 (gst_format_get_type), (register_gst_index_certainty),
8622 (gst_index_certainty_get_type), (register_gst_index_entry_type),
8623 (gst_index_entry_type_get_type),
8624 (register_gst_index_lookup_method),
8625 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
8626 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
8627 (gst_index_resolver_method_get_type), (register_gst_index_flags),
8628 (gst_index_flags_get_type), (register_gst_debug_level),
8629 (gst_debug_level_get_type), (register_gst_debug_color_flags),
8630 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
8631 (gst_iterator_result_get_type), (register_gst_iterator_item),
8632 (gst_iterator_item_get_type), (register_gst_message_type),
8633 (gst_message_type_get_type), (register_gst_mini_object_flags),
8634 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
8635 (gst_pad_link_return_get_type), (register_gst_flow_return),
8636 (gst_flow_return_get_type), (register_gst_activate_mode),
8637 (gst_activate_mode_get_type), (register_gst_pad_direction),
8638 (gst_pad_direction_get_type), (register_gst_pad_flags),
8639 (gst_pad_flags_get_type), (register_gst_pad_presence),
8640 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
8641 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
8642 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
8643 (gst_plugin_error_get_type), (register_gst_plugin_flags),
8644 (gst_plugin_flags_get_type), (register_gst_rank),
8645 (gst_rank_get_type), (register_gst_query_type),
8646 (gst_query_type_get_type), (register_gst_tag_merge_mode),
8647 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
8648 (gst_tag_flag_get_type), (register_gst_task_state),
8649 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
8650 (gst_alloc_trace_flags_get_type),
8651 (register_gst_type_find_probability),
8652 (gst_type_find_probability_get_type), (register_gst_uri_type),
8653 (gst_uri_type_get_type), (register_gst_parse_error),
8654 (gst_parse_error_get_type):
8655 * win32/common/gstversion.h:
8658 2005-11-01 Luca Ognibene <luogni@tin.it>
8661 fix docs. popt is dead, long live GOption.
8663 2005-10-31 Wim Taymans <wim@fluendo.com>
8668 2005-10-31 Andy Wingo <wingo@pobox.com>
8672 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
8674 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
8675 need to serialize property notifications on GLib 2.8. GLib 2.6 has
8676 the possibility of deadlocks here if code calling notify() or
8677 set() has a lock that can be taken in another notify handler (ABBA
8678 with class lock and e.g. python GIL state lock).
8680 2005-10-28 Julien MOUTTE <julien@moutte.net>
8682 * gst/gstbus.c: Doc updates.
8684 2005-10-28 Wim Taymans <wim@fluendo.com>
8686 * docs/design/part-TODO.txt:
8687 * gst/gstiterator.c:
8688 * gst/gstsystemclock.c:
8689 * gst/gstsystemclock.h:
8692 2005-10-28 Edward Hervey <edward@fluendo.com>
8694 * docs/gst/gstreamer-docs.sgml:
8695 * docs/gst/gstreamer-sections.txt:
8696 the GstURIType documentation page is private, it only defines GstURIType
8697 which should be defined in the GstURIHandler page
8699 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
8701 * gst/gstbin.c: (gst_bin_class_init):
8704 Documentation updates.
8706 2005-10-28 Wim Taymans <wim@fluendo.com>
8708 * docs/gst/gstreamer-sections.txt:
8711 Documented the clocks.
8713 2005-10-28 Stefan Kost <ensonic@users.sf.net>
8715 * docs/gst/gstreamer-sections.txt:
8716 move some macros to private sections
8717 * gst/gstminiobject.c:
8718 * gst/gstminiobject.h:
8719 add descriptions provided by ds and some more
8721 mark macro as to be removed
8723 2005-10-28 Wim Taymans <wim@fluendo.com>
8725 * docs/design/part-TODO.txt:
8726 Add an item to TODO.
8728 * gst/gstiterator.c: (gst_iterator_fold),
8729 (gst_iterator_find_custom):
8730 * gst/gstiterator.h:
8733 2005-10-28 Wim Taymans <wim@fluendo.com>
8735 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8736 (gst_base_transform_init):
8739 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
8740 An EOS event marks the queue as completely filled.
8742 2005-10-27 Wim Taymans <wim@fluendo.com>
8744 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8745 (gst_base_sink_do_sync), (gst_base_sink_get_position):
8746 Some more debugging.
8748 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
8749 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
8750 (gst_base_transform_event), (gst_base_transform_getrange),
8751 (gst_base_transform_chain):
8752 * gst/base/gstbasetransform.h:
8754 Protect transform and concurrent buffer alloc with a new lock.
8755 Try not to break ABI/API.
8757 2005-10-27 Wim Taymans <wim@fluendo.com>
8759 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8760 (gst_base_src_init), (gst_base_src_query),
8761 (gst_base_src_default_newsegment),
8762 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8763 (gst_base_src_send_event), (gst_base_src_event_handler),
8764 (gst_base_src_pad_get_range), (gst_base_src_loop),
8765 (gst_base_src_unlock), (gst_base_src_default_negotiate),
8766 (gst_base_src_start), (gst_base_src_deactivate),
8767 (gst_base_src_activate_push), (gst_base_src_change_state):
8768 Move some stuff around and cleanup things.
8770 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
8772 * gst/base/gstbasesrc.c: (gst_base_src_query):
8773 Add missing break statements.
8775 2005-10-27 Wim Taymans <wim@fluendo.com>
8777 * check/gst/gstbin.c: (GST_START_TEST):
8778 An extra refcount is taken in basesrc.
8780 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8781 (gst_base_src_get_range), (gst_base_src_pad_get_range),
8782 (gst_base_src_loop):
8783 Small cleanups, check for flushing after being unlocked from the
8784 LIVE_LOCK. take refcounts correctly (not yet everywhere).
8785 Don't send out EOS when going to READY.
8787 2005-10-27 Wim Taymans <wim@fluendo.com>
8789 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8790 (gst_base_sink_get_position):
8793 * gst/gstbin.c: (message_check), (bin_replace_message),
8794 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8795 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8796 (bin_query_duration_init), (bin_query_duration_fold),
8797 (bin_query_duration_done), (bin_query_generic_fold),
8799 * tools/gst-launch.c: (main):
8802 2005-10-26 Stefan Kost <ensonic@users.sf.net>
8804 * examples/controller/audio-example.c: (main):
8805 * examples/queue/queue.c: (event_loop):
8806 * gst/base/gstbasetransform.h:
8807 * gst/gstelement.c: (gst_element_send_event):
8809 * gst/gstpad.c: (gst_pad_send_event):
8812 changing log priority in error situations
8814 2005-10-25 Wim Taymans <wim@fluendo.com>
8816 * gst/gstbin.c: (message_check), (bin_replace_message),
8817 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8818 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8819 (bin_query_duration_init), (bin_query_duration_fold),
8820 (bin_query_duration_done), (bin_query_generic_fold),
8822 Some doc and debug updates.
8823 Cache previously requested query DURATION for speed. invalidate
8824 cached duration if element posts a DURATION message.
8826 2005-10-25 Wim Taymans <wim@fluendo.com>
8828 * docs/design/part-TODO.txt:
8831 * gst/gstbin.c: (message_check), (bin_replace_message),
8832 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8833 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8834 (bin_query_duration_init), (bin_query_duration_fold),
8835 (bin_query_duration_done), (bin_query_generic_fold),
8837 Handle SEGMENT_START/DONE messages correctly.
8838 More evolved query algorithm that handles duration queries
8841 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
8842 (gst_element_get_state_func), (gst_element_abort_state),
8843 (gst_element_commit_state), (gst_element_lost_state):
8844 Some more debugging.
8849 2005-10-25 Wim Taymans <wim@fluendo.com>
8851 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8852 Don't use invalid stream_time.
8854 * gst/gstevent.c: (gst_event_new_newsegment):
8855 stream_time in newsegment cannot be undefined.
8857 2005-10-24 Wim Taymans <wim@fluendo.com>
8862 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8864 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
8866 2005-10-24 Stefan Kost <ensonic@users.sf.net>
8868 * docs/libs/tmpl/gstdparam.sgml:
8869 * docs/libs/tmpl/gstdplinint.sgml:
8870 * docs/libs/tmpl/gstdpman.sgml:
8871 * docs/libs/tmpl/gstdpsmooth.sgml:
8872 * docs/libs/tmpl/gstunitconvert.sgml:
8875 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
8880 === release 0.9.4 ===
8882 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
8885 releasing 0.9.4, "Tyrannosaurus Rex"
8887 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
8889 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
8890 (gst_file_sink_get_current_offset):
8891 Use fseeko() and ftello() if available. When falling back on
8892 lseek() to get the current offset, fflush() first to make sure
8893 everything is up-to-date and we get the right offset.
8895 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
8897 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8898 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8899 * gst/gsterror.c: (_gst_stream_errors_init):
8901 * gst/gstqueue.c: (gst_queue_loop):
8903 remove prematurely added error category and clean up the instances
8905 2005-10-21 Wim Taymans <wim@fluendo.com>
8907 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8908 (gst_base_sink_get_position), (gst_base_sink_query),
8909 (gst_base_sink_change_state):
8910 Simply set the right flag when going to playing, that's all
8911 we need to do instead of calling a function inside the object
8912 lock (that could take the lock as well and deadlock)
8914 2005-10-21 Wim Taymans <wim@fluendo.com>
8916 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
8917 (gst_base_src_loop):
8918 Don't warn, the peer element knows what to do best when
8919 the seek failed, it might try something else.
8921 2005-10-21 Wim Taymans <wim@fluendo.com>
8923 * gst/base/gstbasesrc.c: (gst_base_src_init),
8924 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8927 2005-10-21 Wim Taymans <wim@fluendo.com>
8929 * docs/design/part-segments.txt:
8932 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8933 Correctly set caps, even on the subbufer.
8935 2005-10-21 Wim Taymans <wim@fluendo.com>
8937 * docs/gst/gstreamer-docs.sgml:
8938 * docs/gst/gstreamer-sections.txt:
8945 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
8949 And 2% more doc coverage.
8951 2005-10-21 Andy Wingo <wingo@pobox.com>
8953 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
8956 2005-10-20 Wim Taymans <wim@fluendo.com>
8958 * gst/gsterror.c: (gst_error_get_message):
8961 * gst/gststructure.c:
8966 2005-10-20 Wim Taymans <wim@fluendo.com>
8971 Another 1% more coverage.
8973 2005-10-20 Wim Taymans <wim@fluendo.com>
8975 * docs/gst/gstreamer-sections.txt:
8976 * gst/gstelement.c: (gst_element_get_state_func),
8977 (gst_element_abort_state), (gst_element_commit_state),
8978 (gst_element_lost_state):
8980 * gst/gstquery.c: (gst_query_set_position),
8981 (gst_query_parse_position), (gst_query_set_duration),
8982 (gst_query_parse_duration), (gst_query_new_convert):
8984 Yay! 1% more docs coverage.
8986 2005-10-20 Wim Taymans <wim@fluendo.com>
8989 * gst/gstquery.c: (gst_query_set_position),
8990 (gst_query_parse_position), (gst_query_set_duration),
8991 (gst_query_parse_duration), (gst_query_new_convert):
8993 * gst/gstutils.c: (gst_element_query_convert):
8995 Docs and consistency fixes.
8997 2005-10-20 Wim Taymans <wim@fluendo.com>
9003 2005-10-20 Wim Taymans <wim@fluendo.com>
9005 * gst/gstbin.c: (message_check), (bin_replace_message),
9006 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9007 (update_degree), (gst_bin_sort_iterator_next),
9008 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
9009 Reworked the message handling a bit, cache the messages instead of
9010 only the senders. alows us to do more in the future.
9012 2005-10-20 Wim Taymans <wim@fluendo.com>
9014 * docs/design/part-TODO.txt:
9017 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
9018 (gst_base_sink_query):
9019 Don't use clock time to report position when in EOS.
9021 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
9023 * tools/gst-inspect.c: (print_interfaces),
9024 (print_element_properties_info), (print_element_info):
9025 Fix interface output with gst-inspect -a; don't print
9026 newlines after double/float properties.
9028 2005-10-20 Wim Taymans <wim@fluendo.com>
9030 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
9031 (gst_base_sink_query):
9032 Speed up current position calculation.
9034 * gst/base/gstbasesrc.c: (gst_base_src_query),
9035 (gst_base_src_default_newsegment):
9036 Correctly set stream position in newsegment.
9038 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
9039 (update_degree), (gst_bin_sort_iterator_next),
9040 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
9041 * gst/gstmessage.c: (gst_message_new_custom):
9042 Clean up debugging info
9044 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9045 (gst_queue_loop), (gst_queue_handle_src_query):
9048 2005-10-19 Wim Taymans <wim@fluendo.com>
9050 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9051 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
9052 Fix query handling again.
9054 2005-10-19 Wim Taymans <wim@fluendo.com>
9056 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9057 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
9058 * gst/base/gstbasesrc.c: (gst_base_src_query):
9059 * gst/elements/gstfilesink.c: (gst_file_sink_query):
9060 * gst/elements/gsttypefindelement.c:
9061 (gst_type_find_handle_src_query), (find_element_get_length),
9062 (gst_type_find_element_activate):
9065 * gst/gstquery.c: (gst_query_new_position),
9066 (gst_query_set_position), (gst_query_parse_position),
9067 (gst_query_new_duration), (gst_query_set_duration),
9068 (gst_query_parse_duration), (gst_query_set_segment),
9069 (gst_query_parse_segment):
9071 Bundling query position/duration is not a good idea since duration
9072 does not change much and we don't want to recalculate it for every
9073 position query, so they are separated again..
9074 Base value in segment query is not needed.
9076 * gst/gstqueue.c: (gst_queue_handle_src_query):
9077 * gst/gstutils.c: (gst_element_query_position),
9078 (gst_element_query_duration), (gst_pad_query_position),
9079 (gst_pad_query_duration):
9081 Updates for query API change.
9082 Added some docs here and there.
9084 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
9086 * check/gst/gstbin.c: (GST_START_TEST):
9087 * check/gst/gstghostpad.c: (GST_START_TEST):
9088 * check/pipelines/cleanup.c: (GST_START_TEST):
9089 wait on thread to die so we can check refcount correctly
9091 2005-10-18 Wim Taymans <wim@fluendo.com>
9093 * check/pipelines/stress.c: (GST_START_TEST):
9094 Make check a little more time consuming.
9096 2005-10-18 Wim Taymans <wim@fluendo.com>
9098 * check/Makefile.am:
9099 * check/pipelines/stress.c: (GST_START_TEST),
9100 (simple_launch_lines_suite), (main):
9101 Small state change torture test.
9103 * docs/design/part-states.txt:
9104 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9105 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
9106 (gst_base_sink_change_state):
9107 Never take state lock from streaming thread, clean up ugly
9108 hacks. Unfortunatly core does not yet support nice ways to
9111 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
9113 Start state recalc if a STATE_DIRTY message is posted, but only
9114 on the toplevel bin.
9116 * gst/gstelement.c: (gst_element_sync_state_with_parent),
9117 (gst_element_get_state_func), (gst_element_abort_state),
9118 (gst_element_commit_state), (gst_element_lost_state),
9119 (gst_element_set_state_func), (gst_element_change_state):
9121 State variables are now protected with the LOCK, the state
9122 lock is only used to serialize _set_state().
9124 2005-10-18 Wim Taymans <wim@fluendo.com>
9126 * check/gst/gstbin.c: (GST_START_TEST):
9127 * check/gst/gstmessage.c: (GST_START_TEST):
9128 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9129 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
9131 * gst/gstelement.c: (gst_element_abort_state),
9132 (gst_element_commit_state), (gst_element_lost_state):
9133 * gst/gstmessage.c: (gst_message_new_state_changed),
9134 (gst_message_new_state_dirty), (gst_message_new_segment_start),
9135 (gst_message_new_segment_done), (gst_message_new_duration),
9136 (gst_message_parse_state_changed),
9137 (gst_message_parse_segment_start),
9138 (gst_message_parse_segment_done), (gst_message_parse_duration):
9140 * tools/gst-launch.c: (event_loop):
9141 Seriously, this is better than a previous commit as we only need
9142 to notify the fact that an element changed state in a streaming
9143 thread, marking the state of the parents dirty, hence the
9144 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
9147 2005-10-18 Wim Taymans <wim@fluendo.com>
9149 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
9150 (gst_bin_recalc_func):
9151 * gst/gstelement.c: (gst_element_set_clock),
9152 (gst_element_abort_state), (gst_element_lost_state):
9153 Cleanups, prepare for state change fixes.
9155 2005-10-18 Wim Taymans <wim@fluendo.com>
9158 * gst/gstelement.c: (gst_element_class_init),
9159 (gst_element_set_state), (gst_element_set_state_func):
9161 Pending ABI changes.
9162 GThreadPool in GstBinClass to monitor async state changes.
9163 state_cookie in GstElement to detect concurrent gst/set state.
9164 set_state is now virtual too in case a very complicated element
9165 has to be constructed.
9167 2005-10-18 Wim Taymans <wim@fluendo.com>
9169 * check/gst/gstbin.c: (GST_START_TEST):
9170 * check/gst/gstmessage.c: (GST_START_TEST):
9171 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9172 * gst/gstbin.c: (bin_bus_handler):
9173 * gst/gstelement.c: (gst_element_commit_state),
9174 (gst_element_lost_state):
9175 * gst/gstmessage.c: (gst_message_new_state_changed),
9176 (gst_message_new_segment_start), (gst_message_new_segment_done),
9177 (gst_message_new_duration), (gst_message_parse_state_changed),
9178 (gst_message_parse_segment_start),
9179 (gst_message_parse_segment_done), (gst_message_parse_duration):
9181 * tools/gst-launch.c: (event_loop):
9182 Make messages future proof.
9183 state-change gets a flag if it was a message comming from the
9185 segment-start/stop can also be specified in other formats.
9186 A message to notify an app that a pipeline changed playback
9188 Also fix a GstMessage leak in -launch
9190 2005-10-18 Andy Wingo <wingo@pobox.com>
9192 * gst/gstelement.c (gst_element_dispose): More helpful message.
9194 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
9196 reviewed by: <delete if not using a buddy>
9198 * common/gtk-doc.mak:
9200 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
9202 * gst/gstregistry.c: (gst_registry_scan_path_level):
9203 unref a plug-in we get that was already initialized
9205 2005-10-18 Stefan Kost <ensonic@users.sf.net>
9207 * docs/gst/gstreamer-sections.txt:
9208 * docs/libs/gstreamer-libs-sections.txt:
9213 2005-10-17 Andy Wingo <wingo@pobox.com>
9215 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
9218 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
9220 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
9222 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
9223 (gst_element_get_state_func): Better debug message.
9224 (gst_element_commit_state): s/INFO/DEBUG/.
9225 (gst_element_lost_state, gst_element_change_state):
9227 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
9228 (gst_message_new_custom): s/INFO/LOG/.
9230 2005-10-17 Michael Smith <msmith@fluendo.com>
9232 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9233 Check if end time is valid using end time, not start time.
9235 2005-10-17 Stefan Kost <ensonic@users.sf.net>
9237 * check/gst-libs/controller.c: (GST_START_TEST),
9238 (gst_controller_suite):
9239 * libs/gst/controller/gstcontroller.c:
9240 (gst_controlled_property_set_interpolation_mode):
9241 * libs/gst/controller/gstcontroller.h:
9242 * libs/gst/controller/gstinterpolation.c:
9243 * testsuite/controller/.cvsignore:
9244 * testsuite/controller/Makefile.am:
9245 * testsuite/controller/interpolator.c:
9246 merge controller testsuites
9248 remove mem-chunk from docs
9250 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
9252 * gst/gstmemchunk.c:
9253 * gst/gstmemchunk.h:
9254 * gst/gsttrashstack.c:
9255 * gst/gsttrashstack.h:
9256 out. get out. you're fired. to the Attic !
9258 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
9260 * gst/gstcaps.c: (gst_caps_intersect):
9261 fix signedness issues in a (hopefully) correct way
9262 * gst/gstelement.c: (gst_element_pads_activate):
9264 * gst/gstobject.c: (gst_object_set_parent):
9267 2005-10-17 Julien MOUTTE <julien@moutte.net>
9269 * gst/gstvalue.h: Fix prototypes.
9271 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9273 * docs/gst/gstreamer-sections.txt:
9274 * gst/gst.c: (gst_version_string):
9276 * gst/gstversion.h.in:
9277 * win32/common/libgstreamer.def:
9278 add gst_version_string ()
9280 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9284 * gst/gst.c: (init_post):
9285 * win32/common/config.h.in:
9287 * gst/gstcaps.c: (gst_caps_intersect):
9288 use gint64, the range could be bigger than a guint
9290 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9293 document potential problem in 2038
9295 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9297 * gst/gstcaps.c: (gst_caps_intersect):
9298 Fix guint j diving under 0
9300 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9303 * win32/common/config.h:
9304 * win32/common/config.h.in:
9305 check for process.h, declares getpid() on Windows
9307 include process.h if we have it
9308 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
9309 * gst/gstmemchunk.h:
9310 fix signedness issues
9311 * win32/common/libgstreamer.def:
9314 2005-10-16 Julien MOUTTE <julien@moutte.net>
9316 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
9317 fix. Because of unsigned ints, caps intersection was going nuts and
9318 trying to access structures with G_MAXUINT index. That fixes
9319 videotestsrc ! ffmpegcolorspace ! fakesink
9320 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
9323 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9326 use the gettext macro
9327 * gst/elements/gstelements.c:
9329 * gst/indexers/gstindexers.c:
9330 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
9331 * win32/common/config.h:
9333 * win32/common/config.h.in:
9334 add the template to generate config.h
9335 * win32/common/gstenumtypes.c:
9336 * win32/common/gstversion.h:
9339 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9341 * gst/gst.c: (gst_version):
9342 * gst/gstversion.h.in:
9345 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
9348 Oops, add missing closing bracket.
9350 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9353 use common m4's for argument checking
9355 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
9357 * docs/gst/gstreamer-sections.txt:
9359 Add GST_EVENT_TYPE_NAME() macro.
9361 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9364 * gst/gstpluginfeature.c:
9366 privatize more symbols
9368 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9371 add srcdir, builddir includes to GST_ALL_CFLAGS, since
9372 everything that uses GStreamer API should have the includes
9374 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9376 * docs/gst/gstreamer-sections.txt:
9377 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9379 give each value a _get_type, removes the DATA exports
9381 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9385 remove _gst_registry_auto_load, not used anymore
9386 * gst/gstbin.c: (gst_bin_get_type):
9388 * gst/gstelement.c: (gst_element_get_type):
9390 * gst/gstobject.c: (gst_object_get_type):
9392 * gst/gstpad.c: (gst_pad_get_type):
9394 make _get_type functions similar, fixes data export from library
9396 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9399 correctly make conditionals
9400 * gst/elements/Makefile.am:
9401 * gst/elements/gstelements.c:
9402 fix typo causing fdsrc not to build
9404 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9406 * testsuite/Makefile.am:
9407 * testsuite/bytestream/.cvsignore:
9408 * testsuite/bytestream/Makefile.am:
9409 * testsuite/bytestream/filepadsink.c:
9410 * testsuite/bytestream/gstbstest.c:
9411 * testsuite/bytestream/test1.c:
9412 * testsuite/bytestream/testfile1:
9413 * testsuite/caps/normalisation.c:
9414 * testsuite/caps/random.c: (main):
9415 * testsuite/cleanup/.cvsignore:
9416 * testsuite/cleanup/Makefile.am:
9417 * testsuite/cleanup/cleanup1.c:
9418 * testsuite/cleanup/cleanup2.c:
9419 * testsuite/cleanup/cleanup3.c:
9420 * testsuite/cleanup/cleanup4.c:
9421 * testsuite/cleanup/cleanup5.c:
9422 * testsuite/controller/interpolator.c:
9423 * testsuite/debug/printf_extension.c: (main):
9424 * testsuite/elements/tee.c:
9425 * testsuite/negotiation/.cvsignore:
9426 * testsuite/negotiation/Makefile.am:
9427 * testsuite/negotiation/pad_link.c:
9428 * testsuite/pad/Makefile.am:
9429 * testsuite/pad/chainnopull.c:
9430 * testsuite/pad/getnopush.c:
9431 * testsuite/pad/link.c:
9432 * testsuite/refcounting/sched.c: (create_pipeline):
9433 * testsuite/registry/Makefile.am:
9434 * testsuite/registry/gst-print-formats.c:
9435 * testsuite/schedulers/.cvsignore:
9436 * testsuite/schedulers/142183-2.c:
9437 * testsuite/schedulers/142183.c:
9438 * testsuite/schedulers/143777-2.c:
9439 * testsuite/schedulers/143777.c:
9440 * testsuite/schedulers/147713.c:
9441 * testsuite/schedulers/147819.c:
9442 * testsuite/schedulers/147894-2.c:
9443 * testsuite/schedulers/147894.c:
9444 * testsuite/schedulers/Makefile.am:
9445 * testsuite/schedulers/group_link.c:
9446 * testsuite/schedulers/queue_link.c:
9447 * testsuite/schedulers/relink.c:
9448 * testsuite/schedulers/unlink.c:
9449 * testsuite/schedulers/unref.c:
9450 * testsuite/schedulers/useless_iteration.c:
9451 * testsuite/states/bin.c:
9452 clean out/remove some stuff from the testsuite directories
9454 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9457 check for some headers
9458 * gst/elements/Makefile.am:
9459 * gst/elements/gstelements.c:
9460 don't compile fdsrc without sys/socket.h
9461 * gst/indexers/Makefile.am:
9462 * gst/indexers/gstindexers.c: (plugin_init):
9463 don't compile fileindex without mmap
9465 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9472 * check/Makefile.am:
9473 * docs/gst/Makefile.am:
9474 * examples/helloworld/Makefile.am:
9476 * gst/base/Makefile.am:
9477 * gst/check/Makefile.am:
9478 * gst/elements/Makefile.am:
9479 * gst/indexers/Makefile.am:
9480 * gst/parse/Makefile.am:
9481 * libs/gst/controller/Makefile.am:
9482 * libs/gst/dataprotocol/Makefile.am:
9483 * examples/helloworld/helloworld.c: (event_loop):
9484 compile fixes, though it's not being compiled currently
9486 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
9488 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
9489 Add some simple tests for the new taglist date API.
9491 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
9493 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
9494 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
9495 Beautify 'last-message' output: print 'none' for buffer timestamps
9496 and durations if none is set; improve alignment with next messages.
9498 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
9500 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
9501 * gst/gstpluginfeature.h:
9502 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
9503 * gst/gstregistry.h:
9504 * docs/gst/gstreamer-sections.txt:
9505 Add new API to check plugin feature version requirements.
9507 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
9508 Some basic tests for the above.
9510 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
9512 * gst/gststructure.c: (gst_structure_to_string):
9513 guard against NULL printf - happens when for example
9514 a message structure with GstClock gets serialized
9516 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
9518 * gst/base/gstcollectpads.c: (gst_collectpads_event):
9519 Fix presumable copy'n'pasto.
9521 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
9523 * gst/elements/gstfakesrc.h:
9524 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
9525 * gst/elements/gsttypefindelement.c:
9527 * gst/elements/gstfilesink.c: (gst_file_sink_render):
9528 I wonder if this could actually write +2GB files before
9530 2005-10-13 Andy Wingo <wingo@pobox.com>
9532 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
9533 Fix Timmeke Waymans bug.
9534 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
9535 string of the proper length to gst_caps_from_string. There's a
9536 potential for, before this fix, that this could cause someone
9537 connecting over the network to cause a segfault if the payload is
9540 2005-10-13 Stefan Kost <ensonic@users.sf.net>
9542 * docs/design/draft-push-pull.txt:
9543 * docs/design/part-overview.txt:
9544 * docs/random/TODO-pre-0.9:
9545 * docs/random/old/ChangeLog.gstreamer:
9546 * gst/base/gstpushsrc.c:
9550 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
9552 * gst/glib-compat.c: (gst_flags_get_first_value):
9553 * gst/glib-compat.h:
9554 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
9555 (gst_value_compare_double), (gst_value_serialize_flags):
9556 GLib 2.6 g_flags_get_first_value has a bug that triggers an
9559 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
9561 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9562 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9564 * tools/gst-launch.c: (event_loop):
9565 print out clock nicely
9567 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
9569 * docs/gst/gstreamer-sections.txt:
9571 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
9572 (gst_tag_list_get_date_index):
9573 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
9574 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
9576 2005-10-13 Julien MOUTTE <julien@moutte.net>
9578 * gst/base/gstcollectpads.c: (gst_collectpads_event),
9579 (gst_collectpads_chain):
9580 * gst/base/gstcollectpads.h: Handle newsegment and store informations
9583 2005-10-13 Stefan Kost <ensonic@users.sf.net>
9585 * docs/gst/gstreamer-sections.txt:
9588 * tools/gst-inspect.c: (main):
9589 * tools/gst-launch.c: (main):
9590 * tools/gst-run.c: (main):
9591 * tools/gst-xmlinspect.c: (main):
9592 fix GOption context leaks
9595 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
9599 * win32/common/config.h:
9601 * win32/vs6/grammar.dsp:
9602 * win32/vs6/libgstelements.dsp:
9603 * win32/vs6/libgstreamer.dsp:
9606 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
9608 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9609 * gst/base/gstbasesrc.c: (gst_base_src_query):
9610 fix more guint64<->gdouble conversions
9612 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
9615 add win32-update target
9616 * win32/common/gstconfig.h:
9617 * win32/common/gstenumtypes.c:
9618 * win32/common/gstenumtypes.h:
9619 * win32/common/gstversion.h:
9620 add files that visual studio can't generate
9622 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
9625 add a win32-update target
9628 2005-10-12 Wim Taymans <wim@fluendo.com>
9630 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9631 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
9632 * gst/gstelement.c: (gst_element_commit_state),
9633 (gst_element_set_state):
9634 Protect flags with proper lock.
9635 unref provided cached clock in dispose.
9637 2005-10-12 Stefan Kost <ensonic@users.sf.net>
9640 * gst/gstminiobject.h:
9642 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
9643 removed unused flags from miniobject
9646 2005-10-12 Wim Taymans <wim@fluendo.com>
9648 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9649 (gst_file_sink_event), (gst_file_sink_render):
9650 Flush before seeking.
9652 2005-10-12 Andy Wingo <wingo@pobox.com>
9654 * gst/gst.c (gst_init_check): Ignore unknown options, as has
9655 always been the case.
9657 2005-10-12 Stefan Kost <ensonic@users.sf.net>
9659 * check/gst/gstbin.c: (GST_START_TEST):
9660 * docs/gst/gstreamer-sections.txt:
9661 * gst/base/gstbasesink.c: (gst_base_sink_init):
9662 * gst/base/gstbasesrc.c: (gst_base_src_init),
9663 (gst_base_src_get_range), (gst_base_src_check_get_range),
9664 (gst_base_src_start), (gst_base_src_stop):
9665 * gst/base/gstbasesrc.h:
9666 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
9667 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9668 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
9672 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
9674 * gst/gstelement.c: (gst_element_is_locked_state),
9675 (gst_element_set_locked_state), (gst_element_commit_state),
9676 (gst_element_set_state):
9678 * gst/gstindex.c: (gst_index_init):
9680 * gst/gstminiobject.h:
9681 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
9682 (gst_object_set_parent):
9684 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
9685 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
9687 * gst/gstpadtemplate.h:
9688 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
9689 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9690 * gst/gstpipeline.h:
9691 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9692 (gst_file_index_commit):
9693 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
9694 * testsuite/pad/link.c: (gst_test_src_init),
9695 (gst_test_filter_init), (gst_test_sink_init):
9696 * testsuite/states/locked.c: (main):
9697 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
9698 moved bitshift from macro to enum definition
9700 2005-10-12 Wim Taymans <wim@fluendo.com>
9702 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
9703 * gst/elements/gstfilesink.c: (gst_file_sink_event),
9704 (gst_file_sink_render):
9705 Some more debugging info.
9707 2005-10-12 Wim Taymans <wim@fluendo.com>
9709 * docs/design/part-states.txt:
9710 * tools/gst-launch.c: (main):
9712 Revert non-intentional change.
9714 2005-10-12 Wim Taymans <wim@fluendo.com>
9716 * check/gst/gstbin.c: (GST_START_TEST):
9717 * check/gst/gstelement.c: (GST_START_TEST):
9718 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
9719 * check/gst/gstghostpad.c: (GST_START_TEST):
9720 * check/gst/gstpipeline.c: (GST_START_TEST):
9721 * check/pipelines/simple_launch_lines.c: (run_pipeline):
9722 * check/states/sinks.c: (GST_START_TEST):
9723 * gst/elements/gsttypefindelement.c: (stop_typefinding):
9724 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9725 (gst_bin_remove_func), (gst_bin_get_state_func),
9726 (gst_bin_recalc_state), (gst_bin_change_state_func),
9728 * gst/gstelement.c: (gst_element_get_state_func),
9729 (gst_element_get_state), (gst_element_abort_state),
9730 (gst_element_commit_state), (gst_element_set_state),
9731 (gst_element_change_state), (gst_element_change_state_func):
9733 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
9734 (gst_pipeline_provide_clock_func):
9735 * gst/gstutils.c: (gst_element_link_pads_filtered):
9736 * tools/gst-launch.c: (main):
9737 * tools/gst-typefind.c: (main):
9738 Use GstClockTime in _get_state() instead of GTimeVal.
9739 Remove old code in gstutils.c
9741 2005-10-12 Andy Wingo <wingo@pobox.com>
9743 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
9746 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
9747 there is no task. Shouldn't affect any code, as nothing in our
9748 plugins checks this return value.
9749 (gst_pad_stop_task): Also take the stream lock if the pad has no
9752 2005-10-12 Wim Taymans <wim@fluendo.com>
9754 * gst/gstpad.c: (pre_activate), (post_activate),
9755 (gst_pad_activate_pull), (gst_pad_activate_push):
9756 Cleanup activation code. Reset old state if
9759 2005-10-12 Wim Taymans <wim@fluendo.com>
9761 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9762 (gst_base_sink_change_state):
9763 No need to prerol after receiving EOS.
9765 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9766 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
9767 * gst/elements/gstidentity.c: (gst_identity_event):
9768 Print events more verbosely.
9770 2005-10-12 Wim Taymans <wim@fluendo.com>
9772 * check/Makefile.am:
9773 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9774 * check/states/sinks2.c:
9775 Moved sinks2 testcode in sinks check.
9777 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9778 (gst_bin_remove_func), (gst_bin_recalc_state),
9779 (gst_bin_change_state_func), (bin_bus_handler):
9780 Fix potential race condition when _get_state() iterated over an
9781 ASYNC element right before it posted a state completion.
9784 Do proper cast here.
9786 * gst/gstevent.c: (gst_event_new_newsegment),
9787 (gst_event_parse_newsegment):
9788 A playback rate of 0.0 is not allowed.
9790 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9792 * win32/common/config.h:
9793 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
9794 (_trewinddir), (_ttelldir), (_tseekdir):
9795 * win32/common/dirent.h:
9796 * win32/common/gtchar.h:
9797 * win32/common/libgstbase.def:
9798 * win32/common/libgstreamer.def:
9799 * win32/vs6/grammar.dsp:
9800 * win32/vs6/gst_inspect.dsp:
9801 * win32/vs6/gst_launch.dsp:
9802 * win32/vs6/gstreamer.dsw:
9803 * win32/vs6/libgstbase.dsp:
9804 * win32/vs6/libgstelements.dsp:
9805 * win32/vs6/libgstreamer.dsp:
9806 Visual Studio 6 project files, and a new common directory.
9809 2005-10-11 Wim Taymans <wim@fluendo.com>
9811 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9812 (gst_base_sink_do_sync), (gst_base_sink_query),
9813 (gst_base_sink_change_state):
9814 * gst/base/gstbasesink.h:
9815 Correctly parse newsegment info.
9817 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9819 * gst/gst.c: (init_post):
9820 split plugin paths correctly
9822 2005-10-11 Wim Taymans <wim@fluendo.com>
9824 * check/gst/gstevent.c: (GST_START_TEST):
9825 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9826 (gst_base_sink_change_state):
9827 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
9828 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9829 * gst/elements/gstfilesink.c: (gst_file_sink_event):
9830 * gst/gstevent.c: (gst_event_new_newsegment),
9831 (gst_event_parse_newsegment):
9833 Added extra flag to newsegment for future API freeze.
9834 Updated check and base elements.
9836 2005-10-11 Julien MOUTTE <julien@moutte.net>
9838 * gst/base/gstcollectpads.c: (gst_collectpads_init),
9839 (gst_collectpads_add_pad), (gst_collectpads_pop),
9840 (gst_collectpads_event), (gst_collectpads_chain):
9841 * gst/base/gstcollectpads.h: Handle EOS correctly.
9843 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9845 * tools/gst-launch.c: (main):
9846 more null protecting
9848 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9850 * gst/gst-i18n-lib.h:
9851 check for ENABLE_NLS, not GETTEXT_PACKAGE
9852 * gst/gstregistry.c: (gst_registry_add_plugin),
9853 (gst_registry_scan_path_level),
9854 (_gst_registry_remove_cache_plugins):
9855 protect possibly NULL strings
9856 * gst/parse/types.h:
9857 config.h already included before
9858 * tools/gst-inspect.c: (main):
9859 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
9860 check for ENABLE_NLS, not GETTEXT_PACKAGE
9861 * tools/gst-launch.c: (main):
9862 check for ENABLE_NLS, not GETTEXT_PACKAGE
9864 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9867 if we don't have glib, fail before testing 2.8
9868 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
9869 fix a leak, should fix plugins-base testsuite
9871 2005-10-11 Andy Wingo <wingo@pobox.com>
9873 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
9874 take the mode we're going to as an arg. Go head and set the mode
9875 and flushing flags now, so that if the activate function starts a
9876 thread all the flags will be in the right state.
9877 (post_activate): Renamed also. Just handle making sure streaming
9878 finishes for the deactivation case, and setting the deactivated
9880 (gst_pad_set_active): Complain loudly if deactivation fails.
9881 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
9882 (gst_pad_activate_push): Adapt to pre/post_activate changes,
9883 remove the terrible hack.
9885 2005-10-11 Wim Taymans <wim@fluendo.com>
9887 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9888 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
9889 (gst_bin_recalc_state), (gst_bin_change_state_func),
9890 (gst_bin_dispose), (bin_bus_handler):
9892 Prepare to make current EOS message queue more generic.
9895 * gst/gstevent.c: (gst_event_new_newsegment),
9896 (gst_event_parse_newsegment):
9898 Rename base to stream_time.
9903 2005-10-11 Wim Taymans <wim@fluendo.com>
9905 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9906 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
9907 (gst_bin_change_state_func), (bin_bus_handler):
9909 Work on proper clock selection.
9911 2005-10-11 Edward Hervey <edward@fluendo.com>
9913 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
9914 * libs/gst/controller/gstcontroller.h:
9915 Added GList* version of _remove_properties() in order to be able to wrap
9918 2005-10-11 Wim Taymans <wim@fluendo.com>
9920 * docs/design/part-states.txt:
9923 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
9924 (gst_bin_change_state_func), (bin_bus_handler):
9925 Doc updates. Don't distribute the same clock over and over again.
9931 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
9932 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
9933 (gst_pad_send_event):
9935 Make probe emission threadsafe again.
9936 Register quarks and move _get_name() from utils.
9939 * gst/gstpipeline.c: (gst_pipeline_class_init),
9940 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9941 Only redistribute the clock of it changed.
9943 * gst/gstsystemclock.h:
9948 Moved the _flow_get_name() to GstPad.
9950 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9952 * check/gst-libs/gdp.c: (GST_START_TEST):
9953 * check/gst/gstcaps.c: (GST_START_TEST):
9954 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
9955 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
9956 (gst_dp_packet_from_caps):
9957 fix more valgrind warnings before turning up the heat
9959 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9961 * gst/parse/grammar.y:
9962 some cleanup before the hacking
9964 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9966 * gst/base/gstbasesrc.c: (gst_base_src_query):
9968 * gst/gstutils.c: (gst_guint64_to_gdouble),
9969 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
9971 externalize, basesrc uses it
9972 obviously the implementation needs testing
9974 2005-10-10 Wim Taymans <wim@fluendo.com>
9976 * tests/sched/Makefile.am:
9977 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
9978 (make_pipeline3), (make_pipeline4), (print_elem), (main):
9980 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9982 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
9983 apparently converting from guint64 to double is not implemented
9986 2005-10-10 Wim Taymans <wim@fluendo.com>
9988 * check/Makefile.am:
9989 * check/generic/states.c: (GST_START_TEST):
9990 * check/gst/gstbin.c: (GST_START_TEST):
9991 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
9992 * check/states/sinks.c: (GST_START_TEST):
9993 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
9995 Check fixes, use API as stated in design docs, remove hacks.
9997 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9998 (gst_base_sink_change_state):
9999 Catch stopping our task while we're shutting down.
10001 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
10002 (gst_bin_remove_func), (gst_bin_get_state_func),
10003 (gst_bin_recalc_state), (gst_bin_change_state_func),
10006 * gst/gstelement.c: (gst_element_init),
10007 (gst_element_get_state_func), (gst_element_abort_state),
10008 (gst_element_commit_state), (gst_element_lost_state),
10009 (gst_element_set_state), (gst_element_change_state),
10010 (gst_element_change_state_func):
10011 * gst/gstelement.h:
10012 New state change algorithm (see #318116)
10014 * gst/gstpipeline.c: (gst_pipeline_class_init),
10015 (gst_pipeline_init), (gst_pipeline_set_property),
10016 (gst_pipeline_get_property), (do_pipeline_seek),
10017 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
10018 * gst/gstpipeline.h:
10019 Remove crude state change hacks.
10022 Remove crude hacks.
10024 * tools/gst-launch.c: (main):
10025 Fixes for state change. Needs some more work to fully use the
10028 2005-10-10 Andy Wingo <wingo@pobox.com>
10030 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
10032 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
10033 this flag, but it's not even in GLib 2.6. Odd. Hack around the
10036 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
10038 * gst/gstiterator.c: (gst_iterator_new):
10039 Fix my previous commit: GTypes passed to gst_iterator_new()
10040 can be fundamental types.
10042 2005-10-10 Wim Taymans <wim@fluendo.com>
10044 * gst/gstelement.c: (gst_element_iterate_pad_list),
10045 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
10046 (gst_element_iterate_sink_pads):
10047 Use src/sink pads lists for the respective iterators instead
10050 2005-10-10 Andy Wingo <wingo@pobox.com>
10052 Merged in popt removal + GOption addition patch from Ronald, bug
10055 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
10056 GstElement macros around, remove popt-related symbols, add goption
10059 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
10061 * docs/gst/Makefile.am:
10062 * docs/libs/Makefile.am: No POPT_CFLAGS.
10064 * examples/manual/Makefile.am:
10065 * docs/manual/basics-init.xml: Doc updates with an example.
10067 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10068 (gst_init), (parse_one_option), (parse_goption_arg):
10069 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
10070 bit of hand merging and debugging to get the GOption stuff working
10073 * tests/Makefile.am:
10074 * tools/Makefile.am:
10075 * tools/gst-inspect.c: (main):
10076 * tools/gst-launch.c: (main):
10077 * tools/gst-run.c: (main):
10078 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
10080 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
10082 * gst/gstiterator.c: (gst_iterator_new):
10083 Add assertions to make sure passed GType is likely to really
10084 be a GType (as the compiler won't catch it if the size and
10085 GType arguments get mixed up, see #318447).
10087 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
10089 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10091 * gst/gstbin.c: (gst_bin_iterate_sorted):
10092 Pass GType and size arguments to gst_iterator_new() in the right
10093 order (maybe we should make _new() take the GType as first argument
10094 just like _new_list()?) (#318447).
10097 2005-10-10 Wim Taymans <wim@fluendo.com>
10099 * gst/gstelement.c: (gst_element_finalize):
10100 And free the GStaticRecMutex too
10102 2005-10-10 Andy Wingo <wingo@pobox.com>
10104 * gst/gstelement.c (gst_element_init, gst_element_finalize):
10105 Allocate and free the mutex properly.
10107 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
10109 (GstElement): The state_lock is now recursive. Rebuild your
10110 plugins, suckers. Old macros adapted.
10112 * docs/gst/gstreamer-sections.txt: Doc updates.
10115 * gst/gstutils.c (g_static_rec_cond_timed_wait)
10116 (g_static_rec_cond_wait): Ported from state changes patch, while
10117 we wait on bug #317802 to be solved in a well-distributed GLib.
10119 * gst/gstelement.c (gst_element_change_state_func): Renamed from
10120 gst_element_change_state, variable name changes.
10121 (gst_element_change_state): Split out of gst_element_set_state in
10122 preparation for the state change merge. Doesn't pay attention to
10123 the 'transition' argument.
10124 (gst_element_set_state): Updates, hopefully purely cosmetic.
10125 (gst_element_sync_state_with_parent): MT-safety. Ported from the
10126 state change patch.
10127 (gst_element_get_state_func): Renamed from get_state, cosmetic
10130 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
10132 * gst/elements/gstelements.c:
10133 * win32/GStreamer.vcproj:
10135 * win32/dirent.c: (_tseekdir):
10136 * win32/gst-inspect.vcproj:
10137 * win32/gst-launch.vcproj:
10138 * win32/gstconfig.h:
10139 * win32/gstelements.vcproj:
10140 * win32/gstenumtypes.c: (gst_object_flags_get_type):
10141 * win32/gstreamer.def:
10142 * win32/msvc71.sln:
10143 updates for the win32 build (patch from Sebastien Moutte)
10145 2005-10-10 Andy Wingo <wingo@pobox.com>
10147 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
10148 gst_bin_get_state, cleaned up (but no logic changes).
10149 (bin_element_is_sink): Comment updates.
10150 (sink_iterator_filter): Remove needless cast.
10151 (gst_bin_iterate_sinks): Doc update.
10152 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
10153 cleaned up (but no logic changes).
10155 * check/states/sinks.c (test_src_sink): Cleanups from the state
10157 (test_livesrc_sink): Sync on the state.
10159 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
10160 the state change patch.
10162 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
10165 * check/gst/gstbin.c: Merge in some style fixes and additional
10166 checks from Wim's state change patch.
10168 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
10170 * gst/base/gsttypefindhelper.c: (helper_find_peek),
10171 (gst_type_find_helper):
10172 Check whether we have the requested data already in our list of
10173 cached buffers before pulling a new buffer; also make the buffer
10174 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
10176 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
10181 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10182 don't use long long, it's not portable. Replacing with
10183 gint64 seems to work; let's hope no skeletons fall out of the closet.
10185 2005-10-10 Andy Wingo <wingo@pobox.com>
10187 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
10189 2005-10-09 Stefan Kost <ensonic@users.sf.net>
10191 * docs/gst/gstreamer-sections.txt:
10196 * gst/gstmessage.c: (gst_message_parse_state_changed):
10199 more docs, fix compilation
10201 2005-10-09 Philippe Khalaf <burger@speedy.org>
10202 * gst/gstmessage.c:
10203 Fixed a few forgotten variables on previous commit
10205 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
10207 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10208 Fix evil typefind crasher: getrange() might return a short
10209 buffer at the end of a file, but gst_type_find_peek() must
10210 either return the full data as requested or NULL, but
10211 never a short buffer.
10213 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
10215 * gst/gstmessage.c: (gst_message_new_state_changed),
10216 (gst_message_parse_state_changed):
10217 * gst/gstmessage.h:
10218 don't use "new", it's a C++ keyword
10220 2005-10-08 Wim Taymans <wim@fluendo.com>
10222 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
10223 * gst/gstelement.c: (gst_element_post_message):
10224 * gst/gstpipeline.c: (gst_pipeline_change_state):
10225 Small docs and debug updates.
10227 2005-10-08 Stefan Kost <ensonic@users.sf.net>
10229 * docs/gst/gstreamer-sections.txt:
10230 * gst/gstelementfactory.c:
10232 * gst/gsttaglist.c:
10235 2005-10-08 Wim Taymans <wim@fluendo.com>
10237 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
10238 (gst_bin_dispose), (bin_bus_handler):
10239 Fix typos, add comments.
10240 Clear EOS list when going to PAUSED from any direction and do it
10241 in a threadsafe way.
10242 Get base time in a threadsafe way too.
10243 Fix confusing debug in the change_state function.
10244 Various other small cleanups.
10246 * gst/gstelement.c: (gst_element_post_message):
10247 Fix very verbose bus posting code.
10249 * gst/gstpipeline.c: (gst_pipeline_class_init),
10250 (gst_pipeline_set_property), (gst_pipeline_get_property),
10251 (gst_pipeline_change_state):
10252 Small ARG_ -> PROP_ cleanup
10254 2005-10-08 Wim Taymans <wim@fluendo.com>
10256 * gst/gstbin.c: (is_eos), (bin_bus_handler):
10257 Do a less CPU demanding EOS check because we can.
10259 2005-10-08 Wim Taymans <wim@fluendo.com>
10261 * libs/gst/dataprotocol/dataprotocol.c:
10262 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10263 (gst_dp_packet_from_event):
10264 * libs/gst/dataprotocol/dataprotocol.h:
10265 * libs/gst/dataprotocol/dp-private.h:
10266 It's about time we bump the version number.
10267 Since event types don't fit in the guint8 anymore describing
10268 the payload type, make payload type 16 bits wide.
10270 2005-10-08 Wim Taymans <wim@fluendo.com>
10272 * docs/design/part-TODO.txt:
10273 * docs/design/part-clocks.txt:
10274 * docs/design/part-events.txt:
10275 * docs/design/part-gstbin.txt:
10276 * docs/design/part-gstelement.txt:
10277 * docs/design/part-gstpipeline.txt:
10278 * docs/design/part-live-source.txt:
10279 * docs/design/part-messages.txt:
10280 * docs/design/part-overview.txt:
10281 * docs/design/part-states.txt:
10284 2005-10-08 Wim Taymans <wim@fluendo.com>
10288 Fix event quark registration.
10289 Add some space between events so we can insert them in the
10292 2005-10-08 Wim Taymans <wim@fluendo.com>
10294 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10295 (gst_base_sink_handle_buffer):
10296 Better log message.
10299 * gst/gstelement.h:
10302 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10303 (gst_queue_set_property), (gst_queue_get_property):
10305 Remove old unused properties.
10307 2005-10-08 Stefan Kost <ensonic@users.sf.net>
10308 * docs/gst/gstreamer-sections.txt:
10309 * gst/gstmessage.c:
10310 * gst/gstmessage.h:
10311 * gst/gstminiobject.c:
10312 * gst/gstminiobject.h:
10316 lots of new docs and doc fixes
10318 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
10320 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
10322 * gst/gstregistry.c: (gst_registry_lookup_locked),
10323 (gst_registry_scan_path_level):
10324 * gst/gstregistryxml.c: (load_plugin):
10325 Only ever load one plugin for a given plugin basename.
10326 This ensures correct overriding of GST_PLUGIN_PATH over
10327 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
10328 system installed plugins.
10330 2005-10-08 Wim Taymans <wim@fluendo.com>
10332 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10333 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
10334 Prepare for doing QOS.
10336 2005-10-08 Wim Taymans <wim@fluendo.com>
10338 * check/gst/gstbin.c: (GST_START_TEST):
10339 * check/pipelines/cleanup.c: (GST_START_TEST):
10340 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
10341 Allow new clock message too.
10343 2005-10-08 Wim Taymans <wim@fluendo.com>
10345 * gst/gstmessage.c: (gst_message_new_error),
10346 (gst_message_new_warning), (gst_message_new_tag),
10347 (gst_message_new_state_changed), (gst_message_new_clock_provide),
10348 (gst_message_new_clock_lost), (gst_message_new_new_clock),
10349 (gst_message_new_segment_start), (gst_message_new_segment_done),
10350 (gst_message_parse_state_changed),
10351 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
10352 (gst_message_parse_new_clock):
10353 * gst/gstmessage.h:
10354 Also carry the clock in question.
10356 2005-10-08 Wim Taymans <wim@fluendo.com>
10358 * gst/gstmessage.c: (gst_message_new_custom),
10359 (gst_message_new_eos), (gst_message_new_error),
10360 (gst_message_new_warning), (gst_message_new_tag),
10361 (gst_message_new_state_changed), (gst_message_new_clock_provide),
10362 (gst_message_new_new_clock), (gst_message_new_segment_start),
10363 (gst_message_new_segment_done), (gst_message_parse_state_changed),
10364 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
10365 * gst/gstmessage.h:
10367 Added clock related messages.
10369 * gst/gstpipeline.c: (gst_pipeline_change_state):
10370 Post message when the clock changed.
10372 * tools/gst-launch.c: (event_loop):
10375 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
10377 * tools/gst-inspect.c: (print_element_properties_info):
10378 Can't pass NULL strings to g_print() on windows.
10380 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
10382 * docs/Makefile.am:
10383 * docs/gst/Makefile.am:
10384 * docs/gst/gstreamer-docs.sgml:
10385 * docs/gst/running.xml:
10386 * docs/version.entities.in:
10387 add a chapter on running GStreamer.
10388 document GST_DEBUG and GST_PLUGIN* env vars
10390 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
10395 remove PLUGINS_BUILDDIR stuff
10396 * gst/gst.c: (init_post):
10397 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
10399 remove, it was condescending and not needed
10401 2005-10-08 Wim Taymans <wim@fluendo.com>
10403 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
10404 (gst_base_sink_handle_object), (gst_base_sink_event),
10405 (gst_base_sink_wait), (gst_base_sink_handle_event),
10406 (gst_base_sink_change_state):
10407 * gst/base/gstbasesink.h:
10408 Repost EOS message while going to PLAYING if still EOS.
10409 Make sure that when receiving a FLUSH_START we don't attempt
10410 to sync on the clock anymore.
10412 2005-10-08 Wim Taymans <wim@fluendo.com>
10414 * tools/gst-launch.c: (event_loop):
10415 Better message printout.
10417 2005-10-08 Wim Taymans <wim@fluendo.com>
10419 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
10420 (gst_bin_child_proxy_get_children_count):
10421 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
10422 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
10423 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
10424 (gst_child_proxy_set_valist):
10425 * gst/parse/grammar.y:
10426 Make ChildProxy threadsafe and fix mem leaks.
10428 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
10430 * gst/gst.c: (init_post):
10431 debug the GST_PLUGIN_ env vars
10433 2005-10-08 Wim Taymans <wim@fluendo.com>
10435 * check/gst/gstbin.c: (GST_START_TEST):
10436 * check/gst/gstmessage.c: (GST_START_TEST):
10437 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10438 * gst/gstelement.c: (gst_element_commit_state),
10439 (gst_element_lost_state):
10440 * gst/gstmessage.c: (gst_message_new_state_changed),
10441 (gst_message_parse_state_changed):
10442 * gst/gstmessage.h:
10443 * tools/gst-launch.c: (event_loop):
10444 Added extra field to STATE_CHANGE message with the pending
10445 state, which will be different from the new state soon.
10447 2005-10-08 Wim Taymans <wim@fluendo.com>
10449 * gst/gstbus.c: (gst_bus_pop):
10451 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
10452 Small cleanups and doc updates.
10454 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
10456 * gst/gst.c: (init_pre):
10457 * gst/gstbin.c: (gst_bin_add_func):
10458 log distributing clocks and base time
10459 * gst/gstregistry.c: (gst_registry_add_plugin),
10460 (gst_registry_scan_path_level), (gst_registry_scan_path):
10461 clean up the debugging output a little
10462 * gst/gstutils.c: (gst_element_state_get_name):
10463 warn about a memleak (I've actually seen this be used, though
10464 it was probably a bug)
10466 2005-10-07 Wim Taymans <wim@fluendo.com>
10468 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10469 (gst_base_src_init), (gst_base_src_default_newsegment),
10470 (gst_base_src_newsegment), (gst_base_src_do_seek),
10471 (gst_base_src_loop), (gst_base_src_start):
10472 * gst/base/gstbasesrc.h:
10473 Make the newsegment event customizable by subclasses.
10475 2005-10-07 Wim Taymans <wim@fluendo.com>
10477 * gst/gstevent.c: (gst_event_new_buffersize),
10478 (gst_event_parse_buffersize):
10480 New event for future idea.
10482 2005-10-07 Andy Wingo <wingo@pobox.com>
10484 * gst/gstelement.c (gst_element_post_message): Doc update.
10486 * docs/gst/gstreamer-sections.txt: Update.
10488 * gst/gstmessage.c (gst_message_new_application): Made into a
10489 function like honest API calls.
10490 (gst_message_new_element): New message type.
10492 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
10494 * check/elements/fakesrc.c (test_no_preroll): New check, checks
10495 that setting a live fakesrc to PAUSED returns NO_PREROLL both
10498 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
10499 NO_PREROLL from gst_element_change_state to fall through.
10501 2005-10-07 Wim Taymans <wim@fluendo.com>
10503 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
10504 (gst_ghost_pad_do_activate_push):
10505 Activating a ghostpad with no internal pad in push mode
10508 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
10511 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
10512 Fixes compilation on Windows.
10514 2005-10-07 Michael Smith <msmith@fluendo.com>
10516 * tools/gst-inspect.c:
10517 Print out feature and plugin count at the end when printing out
10520 2005-10-04 Michael Smith <msmith@fluendo.com>
10522 * gst/gsterror.c: (_gst_stream_errors_init):
10523 Add another error string used in a few existing plugins.
10526 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10527 * tools/gst-inspect.c: (print_element_info):
10528 When a feature disappears from a plugin (and the feature exists in
10529 the cached registry file), things went horribly wrong. This isn't a
10530 complete fix, we should actually be removing the 'missing' features
10531 from the features list when we load the actual plugin. That's not
10534 2005-10-04 Johan Dahlin <johan@gnome.org>
10536 * check/gst/gstiterator.c: (GST_START_TEST):
10537 * gst/gstbin.c: (gst_bin_iterate_elements),
10538 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
10539 * gst/gstelement.c: (gst_element_iterate_pads):
10540 * gst/gstformat.c: (gst_format_iterate_definitions):
10541 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10542 (gst_iterator_new_list), (gst_iterator_filter):
10543 * gst/gstiterator.h:
10544 * gst/gstquery.c: (gst_query_type_iterate_definitions):
10545 Add a GType to GstIterator, update callsites and tests.
10547 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
10549 * gst/gstpad.c: (gst_pad_event_default_dispatch):
10550 give events a chance to be handled by event probes when the pad
10553 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
10555 * gst/gstevent.c: (gst_event_type_get_name),
10556 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
10558 add string representations for event types
10560 2005-10-06 Wim Taymans <wim@fluendo.com>
10562 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
10563 Don't use NULL pointers.
10565 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
10567 * gst/gst_private.h:
10569 * gst/gstelement.c:
10571 * gst/gstpluginfeature.c:
10572 widen the debug category in output to fit the biggest one we have
10573 add a bus category and use it
10574 play with the colors
10575 fix up some categories
10577 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
10579 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
10580 add push activation of sink ghost pads.
10581 Andye, please verify
10583 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
10585 * gst/gstutils.c: (gst_element_link_pads):
10586 fix a bug in the case where neither element has a pad
10587 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
10588 add a test for that case
10590 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
10592 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
10593 emit have-data before checking for peers. This allows
10594 for probe handlers to connect elements. This helps autopluggers.
10595 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
10597 add six checks, linked/unlinked with no/true/false probe
10599 2005-10-04 Wim Taymans <wim@fluendo.com>
10601 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
10602 (gst_fake_sink_event), (gst_fake_sink_preroll),
10603 (gst_fake_sink_render), (gst_fake_sink_change_state):
10604 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
10605 (gst_fake_src_get_property), (gst_fake_src_create),
10606 (gst_fake_src_stop):
10607 * gst/elements/gstidentity.c: (gst_identity_stop):
10608 Protect last_message with lock.
10610 2005-10-04 Edward Hervey <edward@fluendo.com>
10613 Added precision in the comments for GST_FORMAT_DEFAULT
10615 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
10617 * tools/gst-launch.c: (main):
10618 Don't try to run erroneous pipelines.
10620 2005-10-04 Julien MOUTTE <julien@moutte.net>
10622 * gst/gstbus.c: We don't need this header.
10624 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
10627 back to development
10629 === release 0.9.3 ===
10631 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
10635 Releasing 0.9.3, "Unregistered"
10637 2005-10-03 Andy Wingo <wingo@pobox.com>
10639 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
10640 whereby calling a pad's activatepush() function can start a thread
10641 that starts to push or pull before the pad gets the FLUSHING flag
10642 unset. Hack around it by holding the stream lock until the flag is
10643 set. Need to replace this with a proper solution. Together with
10644 the ghost pad fixes, this fixes mp3 playing/tagreading.
10646 * docs/design/part-gstghostpad.txt: Add a note about activation of
10647 proxy pads outside of ghost pads.
10649 * gst/gstghostpad.c: Implement the ghost pad activation design.
10651 2005-10-02 Andy Wingo <wingo@pobox.com>
10653 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
10654 It is volatile, after all.
10656 * docs/design/part-gstghostpad.txt: Flesh out activation with
10659 * gst/base/gstbasesrc.c (gst_base_src_init): Use
10662 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
10665 Fix (unused) AM_CONDITIONAL tests.
10667 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
10669 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10671 * gst/gstutils.c: (gst_pad_query_convert):
10672 Add assertion that makes sure src_val is >=0, just like
10673 gst_query_new_convert() has. (#315895)
10675 2005-09-30 Edward Hervey <edward@fluendo.com>
10677 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
10678 Let's not iterate pads we're not interested in, it avoids getting
10679 sky-high refcounts on sinkpad.
10681 2005-09-30 Wim Taymans <wim@fluendo.com>
10683 * gst/gstelement.c: (gst_element_set_state),
10684 (gst_element_change_state):
10685 Small tweak, element in ASYNC remains ASYNC.
10687 2005-09-30 Wim Taymans <wim@fluendo.com>
10689 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
10690 Only error is an error.
10692 * gst/gstbin.c: (gst_bin_change_state):
10695 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
10696 Also call pad_block in pad alloc.
10698 * gst/gstutils.c: (gst_flow_get_name):
10701 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
10703 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10704 (gst_base_src_get_range):
10705 Fix documentation typos. Add some more debug info.
10707 2005-09-29 David Schleef <ds@schleef.org>
10709 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
10710 more end-user friendly.
10711 * tools/gst-inspect.c: (main): Check if command-line argument is
10712 a file and attempt to load that file as a plugin.
10714 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
10716 * check/gst/gstbin.c:
10717 * check/states/sinks.c:
10718 fix tests for the new warning
10719 * check/gst/gstpipeline.c:
10720 add a test for pipeline and bus interaction
10721 * gst/gstelement.c:
10722 elements should be NULL if they get disposed; add a warning if not
10724 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
10727 for 2.6 refcounting, make debug log more correct by printing
10728 the actual refcounts at the time of swap (Wim)
10730 2005-09-29 Andy Wingo <wingo@pobox.com>
10732 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
10733 removes signal watches previously added via
10734 gst_bus_add_signal_watch.
10735 (gst_bus_add_signal_watch): Don't return the source id, just store
10736 it on the bus if there wasn't an id already.
10738 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
10739 add_signal_watch and remove_signal_watch.
10741 2005-09-29 Edward Hervey <edward@fluendo.com>
10743 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10744 Better if we actually iterate the list :)
10746 2005-09-29 Wim Taymans <wim@fluendo.com>
10748 * check/gst/gstbin.c: (GST_START_TEST):
10749 Change for new bus API.
10751 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
10752 (send_messages), (GST_START_TEST), (gstbus_suite):
10753 Change for new bus signal API.
10755 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
10756 (gst_bus_source_prepare), (gst_bus_source_check),
10757 (gst_bus_create_watch), (gst_bus_add_watch_full),
10758 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
10759 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
10761 Remove support for multiple GSources operating on different
10762 message types as it is too complex and unneeded when using
10764 Added support for receiving signals from the bus.
10766 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
10768 * docs/libs/tmpl/gstdataprotocol.sgml:
10769 * docs/manual/advanced-dataaccess.xml:
10770 * gst/elements/gstcapsfilter.c:
10772 rename filter-caps to caps property
10774 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
10776 * gst/gstvalue.c: (gst_value_deserialize_fraction):
10777 More robust fraction string parsing.
10779 * docs/pwg/appendix-porting.xml:
10780 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
10782 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
10784 * gst/gstcaps.c: (gst_caps_do_simplify):
10785 Thou shalt not free a structure and then continue using it
10786 in the next loop iteration.
10788 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
10790 Add test case for caps simplification.
10792 2005-09-29 Wim Taymans <wim@fluendo.com>
10794 * check/gst/gstbin.c: (GST_START_TEST):
10797 2005-09-29 Wim Taymans <wim@fluendo.com>
10799 * check/gst/gstbin.c: (GST_START_TEST):
10802 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
10803 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10804 (find_element), (gst_bin_sort_iterator_next),
10805 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10806 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10807 (gst_bin_change_state), (gst_bin_dispose):
10808 A bin does not have a bus, it gets the bus from the parent.
10810 * gst/gstelement.c: (gst_element_requires_clock),
10811 (gst_element_provides_clock), (gst_element_is_indexable),
10812 (gst_element_is_locked_state), (gst_element_change_state),
10813 (gst_element_set_bus_func):
10816 * gst/gstpipeline.c: (gst_pipeline_class_init),
10817 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
10818 The pipeline provides a bus.
10820 2005-09-28 Johan Dahlin <johan@gnome.org>
10822 * gst/gstmessage.c (gst_message_parse_state_changed): Use
10823 gst_structure_get_enum instead of gst_structure_get_int
10825 * gst/gststructure.c (gst_structure_get_enum): Impl.
10827 * gst/gststructure.h (gst_structure_get_enum): Add
10829 * docs/gst/gstreamer-sections.txt: Ditto
10831 * gst/gstmessage.c (gst_message_new_state_changed): Use
10832 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
10833 which does introspection.
10834 Reviewed by Christian Schaller
10836 2005-09-28 Stefan Kost <ensonic@users.sf.net>
10838 * gst/gstinfo.c: (gst_debug_log_default):
10839 don't do dummy g_strdup()s
10840 * libs/gst/controller/gstcontroller.c:
10841 (on_object_controlled_property_changed),
10842 (gst_controlled_property_new), (gst_controller_new_valist),
10843 (gst_controller_new_list),
10844 (gst_controller_remove_properties_valist), (gst_controller_set),
10845 (gst_controller_get), (gst_controller_sync_values),
10846 (gst_controller_get_value_array), (_gst_controller_class_init),
10847 (gst_controller_get_type):
10848 * libs/gst/controller/gstcontroller.h:
10849 * libs/gst/controller/gstinterpolation.c:
10850 (gst_controlled_property_find_timed_value_node):
10851 convert // to /**/ comments
10853 2005-09-28 Wim Taymans <wim@fluendo.com>
10855 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
10856 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
10857 (gst_bus_sync_signal_handler):
10859 Added async-message and sync-message signals to the bus.
10860 Added helper BusFunc to emit signals for all posted messages.
10862 * gst/gstmessage.c: (gst_message_type_get_name),
10863 (gst_message_type_to_quark), (gst_message_get_type):
10864 * gst/gstmessage.h:
10865 Register quarks for message names.
10867 2005-09-28 Stefan Kost <ensonic@users.sf.net>
10869 * docs/libs/gstreamer-libs-sections.txt:
10870 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10871 (gst_controller_new_list):
10872 * libs/gst/controller/gstcontroller.h:
10873 added another constructor for language bindings
10875 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
10877 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10881 * gst/gstinfo.c: (_gst_debug_init):
10882 slightly more readable color for refcount debugging
10884 2005-09-28 Wim Taymans <wim@fluendo.com>
10886 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
10887 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10888 (find_element), (gst_bin_sort_iterator_next),
10889 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10890 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10891 (gst_bin_change_state), (gst_bin_dispose):
10892 Small doc fixes. get_clock -> provide_clock.
10894 * gst/gstelement.c: (gst_element_class_init),
10895 (gst_element_provides_clock), (gst_element_provide_clock),
10896 (gst_element_get_clock), (gst_element_commit_state),
10897 (gst_element_lost_state):
10898 * gst/gstelement.h:
10899 Make get/set_clock() symetric. Add provide_clock vmethod since
10900 that is actually what this function does.
10902 * gst/gstpipeline.c: (gst_pipeline_class_init),
10903 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
10904 (gst_pipeline_get_clock):
10905 get_clock -> provide_clock.
10907 2005-09-28 Andy Wingo <wingo@pobox.com>
10909 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
10910 lieu of real docs...
10912 * gst/elements/gstfdsrc.c: Cleaned up a bit.
10914 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
10916 * gst/elements/gstcapsfilter.c:
10917 * gst/elements/gstfakesink.c:
10918 * gst/elements/gstfakesrc.c:
10919 * gst/elements/gstfdsink.c:
10920 * gst/elements/gstfdsrc.c:
10921 * gst/elements/gstfilesink.c:
10922 * gst/elements/gstfilesrc.c:
10923 * gst/elements/gstidentity.c:
10924 * gst/elements/gsttee.c:
10925 * gst/elements/gsttypefindelement.c:
10926 Make element details static.
10928 2005-09-28 Wim Taymans <wim@fluendo.com>
10930 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10931 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10932 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10933 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10934 (gst_bin_change_state), (gst_bin_dispose):
10935 Some documentation updates.
10936 Clean up dispose handlers.
10938 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
10939 * gst/gstpad.c: (gst_pad_dispose):
10940 Clean up dispose handler.
10942 * gst/gstpipeline.c: (gst_pipeline_change_state):
10943 Removed spurious UNLOCK.
10945 2005-09-27 Stefan Kost <ensonic@users.sf.net>
10947 * docs/gst/gstreamer-sections.txt:
10948 * gst/base/gstbasesrc.h:
10949 * gst/gstelement.h:
10953 * gst/gstpipeline.c:
10954 * gst/gstpipeline.h:
10957 added two new functions to the docs
10958 documents all undocumented GstXXXFlags
10959 completed some incomplete docs
10961 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
10963 * gst/gstbin.c: (gst_bin_dispose):
10964 * gst/gstelement.c: (gst_element_dispose):
10965 remove now useless and leaky resurrection code in dispose
10966 * gst/base/gstbasesrc.c: (gst_base_src_init):
10967 * gst/gstelementfactory.c: (gst_element_factory_create):
10968 * gst/gstobject.c: (gst_object_set_parent):
10971 2005-09-27 Wim Taymans <wim@fluendo.com>
10973 * docs/design/part-TODO.txt:
10976 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10977 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10978 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10979 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10980 (gst_bin_change_state):
10981 * gst/gstelement.h:
10982 Remove element variable, we keep element info in the iterator now.
10984 2005-09-27 Andy Wingo <wingo@pobox.com>
10986 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
10989 2005-09-27 Wim Taymans <wim@fluendo.com>
10991 * check/gst/gstbin.c: (GST_START_TEST):
10992 Enable check that works now.
10994 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10995 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10996 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10997 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10998 (gst_bin_change_state):
11000 Redid the state change algorithm using a topological sort algo.
11001 Handles all cases correctly.
11002 Exposed iterator for state change order.
11004 * gst/gstelement.h:
11005 Temp storage for state changes. Need to get rid of this soon.
11007 2005-09-27 Wim Taymans <wim@fluendo.com>
11009 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
11010 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
11011 (link_fold_func), (gst_pad_proxy_setcaps):
11012 Leak fixes, the fold functions need to unref the passed object and
11013 _get_parent_*() returns ref to parent.
11015 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
11017 * check/gst/gstbuffer.c: (test_make_writable):
11018 Plug leak in test case and fix 'make check-valgrind'
11020 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
11022 * gst/gstbuffer.c: (gst_subbuffer_init):
11023 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
11024 works correctly in all circumstances (we could have just copied
11025 the parent buffer's readonly flag, but conceptually it seems
11026 cleaner to mark all subbuffers as read-only). (based on patch
11027 by Alessandro Decina, #314710).
11029 * check/gst/gstbuffer.c: (create_read_only_buffer),
11030 (test_make_writable), (test_subbuffer_make_writable),
11032 Add some tests for gst_buffer_make_writable().
11034 2005-09-27 Wim Taymans <wim@fluendo.com>
11036 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
11037 use gst_object_has_ancestor().
11039 * gst/gstobject.c: (gst_object_has_ancestor):
11041 gst_object_has_ancestor() copied from gstbin.c as it is a
11044 * tests/instantiate/create.c: (create_all_elements):
11045 * tests/lat.c: (handoff_src), (handoff_sink):
11046 * tests/sched/runxml.c: (main):
11047 * tests/seeking/seeking1.c: (main):
11048 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
11050 Fix compilation of some tests.
11052 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
11055 Remove comment. GST_TYPE_G_ERROR is here to stay,
11056 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
11057 (#316961, #300610).
11059 2005-09-26 Wim Taymans <wim@fluendo.com>
11061 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11062 Added check that shows error in state change order.
11064 2005-09-26 Wim Taymans <wim@fluendo.com>
11066 * gst/gstbin.c: (gst_bin_change_state):
11067 Make state change function use 3 queues again, we were
11068 adding elements in the wrong order.
11070 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11073 * gst/gstpad.c: (gst_pad_dispose):
11074 Added some debug info first.
11076 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
11078 * docs/design/draft-push-pull.txt:
11079 * docs/design/part-events.txt:
11080 * docs/design/part-overview.txt:
11081 * docs/design/part-scheduling.txt:
11082 Replace all _pull_region() with _pull_range()
11084 2005-09-26 Andy Wingo <wingo@pobox.com>
11086 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
11088 * check/gst-libs/controller.c: Update for controller api change.
11091 * tests/Makefile.am:
11092 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
11093 over by GLib bug 118439.
11095 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
11096 routines to a function.
11098 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
11100 * libs/gst/controller/gsthelper.c:
11101 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
11102 (gst_object_sync_values): Renamed from sink_values. Ugh.
11104 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
11106 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
11107 Renamed from controller_key, as it is exported.
11109 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
11111 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
11116 * gst/gstpadtemplate.h:
11119 * gst/gstqueryutils.c:
11120 * gst/gstqueryutils.h:
11121 remove queryutils headers after moving the two used functions
11122 to gstquery. also fixes build problem for gstsiddec
11124 2005-09-26 Michael Smith <msmith@fluendo.com>
11126 * tools/gst-launch.1.in:
11127 Correct documentation in manpage of debug syntax
11129 2005-09-26 Wim Taymans <wim@fluendo.com>
11131 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
11132 (gst_base_src_is_seekable), (gst_base_src_change_state):
11133 Some more debugging info.
11135 2005-09-25 Stefan Kost <ensonic@users.sf.net>
11137 * docs/gst/gstreamer-sections.txt:
11138 * gst/base/gstbasetransform.h:
11142 2005-09-25 Stefan Kost <ensonic@users.sf.net>
11144 * docs/gst/.cvsignore:
11145 * docs/gst/tmpl/.cvsignore:
11146 * docs/gst/tmpl/gstpipeline.sgml:
11147 * docs/gst/tmpl/gstplugin.sgml:
11148 * gst/gstpipeline.c:
11151 inlined the last two docs files
11152 removed the tmpl directory from cvs (no more conflicts here!)
11154 2005-09-25 Stefan Kost <ensonic@users.sf.net>
11156 * docs/gst/gstreamer-sections.txt:
11157 * docs/gst/tmpl/.cvsignore:
11158 * docs/gst/tmpl/gstpad.sgml:
11159 * docs/gst/tmpl/gstpadtemplate.sgml:
11161 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11162 (gst_pad_finalize), (gst_pad_set_pad_template):
11164 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
11165 (gst_pad_template_class_init), (gst_pad_template_init),
11166 (gst_pad_template_dispose), (name_is_valid),
11167 (gst_static_pad_template_get), (gst_pad_template_new),
11168 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
11169 (gst_pad_template_pad_created):
11170 * gst/gstpadtemplate.h:
11171 inlined two more docs
11172 factored gstpadtemplate out of gstpad
11174 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
11176 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
11177 (test_children_state_change_order_semi_sink):
11178 Fix test case: we can't rely on a fixed state change order when
11179 going from READY => PAUSED because the sink might commit its
11180 new state first when the first buffer created by the source
11181 reaches the sink before the source has finished its change state.
11182 (Test case still fails at times, see #316856, comment 5 onwards)
11184 2005-09-24 Wim Taymans <wim@fluendo.com>
11186 * docs/design/part-events.txt:
11187 * docs/design/part-gstbus.txt:
11188 * docs/design/part-gstpipeline.txt:
11189 * docs/design/part-messages.txt:
11190 * docs/design/part-overview.txt:
11191 * docs/design/part-segments.txt:
11195 * gst/gstelement.c:
11198 * gst/gstiterator.c:
11199 Various documentation updates.
11201 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
11204 Well, that's embarassing. Luckily we weren't using
11205 GST_CLOCK_DIFF anywhere.
11207 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
11209 * common/gtk-doc.mak:
11210 don't fail on building XML, FC4 slave shows a bunch of doc
11211 missing bits that I don't get
11213 * gst/gstpipeline.c:
11214 * gst/gststructure.c:
11217 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
11219 * docs/design/part-gstbin.txt:
11220 * docs/design/part-gstbus.txt:
11222 Add blurb about how the bus goes into flushing mode and
11223 drops all messages when its bin goes from READY into NULL
11226 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
11228 * docs/gst/gstreamer-sections.txt:
11229 * gst/gststructure.c: (gst_structure_get_clock_time):
11230 * gst/gststructure.h:
11231 add a method to get a GstClockTime out of a structure
11233 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
11235 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
11236 (test_children_state_change_order_semi_sink), (gst_bin_suite):
11237 Added test to check state change order in bins (can still be made
11238 to fail here under heavy disk load; bails out with 'Push on pad
11239 fakesink:sink0, but it was not activated in push mode').
11241 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
11242 Fix state change order when there is only a semi sink (#316856)
11244 * gst/gstbus.c: (gst_bus_class_init):
11245 Use _class_peek_parent(), not _class_ref(); fix docs to say
11246 'default main context' instead of 'mainloop' where that is
11249 * gst/gstelement.c: (gst_element_commit_state),
11250 (gst_element_set_state):
11251 Fix typos in debug messages
11253 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
11256 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
11257 * gst/gstpluginfeature.c:
11259 various doc updates
11260 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11261 change an assert into an error until it gets fixed properly
11263 2005-09-23 Stefan Kost <ensonic@users.sf.net>
11265 * docs/gst/gstreamer-sections.txt:
11266 * docs/gst/tmpl/.cvsignore:
11267 * docs/gst/tmpl/gstelement.sgml:
11268 * docs/gst/tmpl/gstinfo.sgml:
11269 * docs/gst/tmpl/gstobject.sgml:
11270 * gst/gstelement.c:
11271 * gst/gstelement.h:
11274 * gst/gstobject.c: (gst_object_class_init):
11276 inlined 3 more biiiig doc files and added some missing docs on the fly
11278 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
11280 * check/gst/.cvsignore:
11281 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
11282 * gst/gstregistryxml.c: (load_plugin),
11283 (gst_registry_xml_save_plugin):
11284 put back source in registry. add checks for find_plugin.
11285 * testsuite/states/bin.c: (assert_state), (empty_bin),
11286 (test_adding_one_element), (main):
11287 * testsuite/states/locked.c: (main):
11288 some compile/run fixes
11290 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
11292 * check/gst/gstvalue.c: (GST_START_TEST):
11293 fix leaks in the test itself
11295 2005-09-22 Wim Taymans <wim@fluendo.com>
11297 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11298 (gst_base_sink_send_event), (gst_base_sink_peer_query),
11299 (gst_base_sink_query):
11300 Prepare for more accurate position reporting and query
11303 * gst/gstelement.c: (gst_element_send_event),
11304 (gst_element_set_state):
11307 2005-09-22 Wim Taymans <wim@fluendo.com>
11309 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
11310 (gst_query_parse_segment):
11312 More documentation.
11313 Add segment query for future use.
11315 2005-09-22 Wim Taymans <wim@fluendo.com>
11317 * gst/gstbin.c: (gst_bin_add_func):
11318 Some more debug info.
11320 * gst/gstelement.c: (gst_element_send_event):
11321 Simplify send_event
11323 * gst/gstelement.h:
11324 Don't know how flags got broken.
11329 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
11331 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
11332 Add simplistic test suite for GST_TYPE_DATE serialisation and
11335 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
11337 * docs/gst/gstreamer-sections.txt:
11338 * gst/gststructure.c: (gst_structure_set_valist),
11339 (gst_structure_get_date):
11340 * gst/gststructure.h:
11341 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
11342 (gst_date_copy), (gst_value_compare_date),
11343 (gst_value_serialize_date), (gst_value_deserialize_date),
11344 (gst_value_transform_date_string),
11345 (gst_value_transform_string_date), (_gst_value_initialize):
11347 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
11348 bunch of utility functions along with a hack that checks that
11349 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
11350 is required. Part of the grand scheme in #170777.
11352 2005-09-22 Andy Wingo <wingo@pobox.com>
11354 * gst/gstconfig.h.in: Psych out gtk-doc.
11356 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
11358 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
11360 * tools/gst-inspect.c (print_element_list): Plug some
11361 inconsequential leaks.
11363 * gst/gstregistry.c (gst_registry_get_default): Doc.
11365 * check/gst/gstplugin.c:
11366 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
11367 * gst/gstelementfactory.c (gst_element_factory_create):
11368 * gst/gstindexfactory.c (gst_index_factory_create): Update for
11371 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
11372 (gst_plugin_feature_load): Doc, don't eat refs.
11374 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
11375 (gst_plugin_list_free): Doc.
11376 (gst_plugin_load_file): Doc updates.
11378 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
11379 accessors returning refcounted objects, return a ref.
11381 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
11382 accessor for caps. IDEMPOTENCE. Oh yes.
11384 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
11386 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11388 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
11389 (_gst_debug_register_funcptr):
11390 Add mutex to serialise access to the hash table with
11391 the function pointer => function name string mapping;
11392 make that hash table static scope (#316809).
11394 * gst/registries/.cvsignore:
11395 Remove left-over file.
11397 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
11399 * docs/pwg/appendix-porting.xml:
11400 And something about newsegment events and caps-on-buffers to
11401 the porting guide (feel free to improve).
11403 2005-09-21 Andy Wingo <wingo@pobox.com>
11405 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
11406 data and event probes on the same pad.
11407 (test_buffer_probe_once): Test that removing probes from within
11408 the probe functions works.
11410 2005-09-21 Andy Wingo <wingo@pobox.com>
11412 * check/gst/gstutils.c: New file.
11413 (test_buffer_probe_n_times): A simple buffer probe test. More to
11416 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
11417 have-data::buffer, not have-data.
11418 (gst_pad_add_event_probe): Likewise for have-data::event.
11419 (gst_pad_add_data_probe): More docs. The part about 'resolving the
11420 peer' isn't quite right yet though.
11421 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
11422 (gst_pad_remove_data_probe): Change to take the guint handler_id
11423 as their arg, not the function+data, which is more glib-like.
11425 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
11426 the signal emission to indicate if the data is a buffer or an
11428 (gst_pad_get_type): Initialize buffer and event quarks.
11429 (gst_pad_class_init): have-data is now a detailed signal, yes it
11432 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
11434 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
11435 * gst/gstutils.c: (gst_util_set_value_from_string),
11436 (gst_util_set_object_arg):
11437 Don't put functional code in g_return_if_fail() or
11438 g_return_val_if_fail() statements, otherwise things will
11439 break when G_DISABLE_CHECKS is defined during compilation.
11441 2005-09-21 Stefan Kost <ensonic@users.sf.net>
11443 * docs/gst/tmpl/.cvsignore:
11444 * docs/gst/tmpl/gstvalue.sgml:
11447 inlied another one and added some obvious docs
11449 2005-09-21 Wim Taymans <wim@fluendo.com>
11451 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
11452 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
11453 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
11454 (gst_fdsrc_get_property), (gst_fdsrc_create):
11455 * gst/elements/gstfdsrc.h:
11456 Properly implement fdsrc. Removed signal and timeout,
11457 better implemented somewhere else.
11459 2005-09-21 Stefan Kost <ensonic@users.sf.net>
11461 * docs/gst/tmpl/.cvsignore:
11462 * docs/gst/tmpl/gstimplementsinterface.sgml:
11463 * gst/gstinterface.c:
11466 2005-09-21 Stefan Kost <ensonic@users.sf.net>
11468 * docs/gst/gstreamer-sections.txt:
11469 * docs/gst/tmpl/.cvsignore:
11470 * docs/gst/tmpl/gstenumtypes.sgml:
11471 remove obsolete doc file
11473 2005-09-21 David Schleef <ds@schleef.org>
11475 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
11476 little beer, fix a little leak.
11478 2005-09-21 Stefan Kost <ensonic@users.sf.net>
11480 * docs/gst/gstreamer-docs.sgml:
11481 * docs/gst/gstreamer-sections.txt:
11482 * docs/gst/tmpl/.cvsignore:
11486 * gst/gstelement.h:
11487 * gst/gstindex.c: (gst_index_class_init):
11489 * gst/gstindexfactory.c: (gst_index_factory_get_type),
11490 (gst_index_factory_class_init), (gst_index_factory_init),
11491 (gst_index_factory_finalize), (gst_index_factory_new),
11492 (gst_index_factory_destroy), (gst_index_factory_find),
11493 (gst_index_factory_create), (gst_index_factory_make):
11494 * gst/gstindexfactory.h:
11495 * gst/gstpluginfeature.c:
11496 * gst/gstpluginfeature.h:
11497 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
11498 more docs inlined, splitted gstindex.{c,h}
11500 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11502 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
11505 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
11507 * gst/elements/gstfilesink.c: (gst_file_sink_init):
11508 Set sync to FALSE by default.
11510 2005-09-20 Wim Taymans <wim@fluendo.com>
11512 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11513 (gst_base_sink_init):
11514 Make sync property settable from subclass.
11516 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
11517 (gst_fake_sink_change_state):
11518 Set sync to FALSE by default.
11520 2005-09-20 Wim Taymans <wim@fluendo.com>
11522 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
11523 * tools/gst-launch.c: (main):
11524 The timeout handler should have lower priority than the source
11525 so we don't timeout before popping a message with 0 timeout.
11526 Dump error messages after failed state change.
11528 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
11530 * tools/gst-inspect.c: (print_element_properties_info):
11533 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11535 * check/gst/gstevent.c:
11536 * gst/elements/gstfakesink.c:
11537 * gst/elements/gstfakesink.h:
11538 remove the sync property from fakesink.
11539 has the side effect of setting sync TRUE
11540 for fakesink, which is a change. Anyone who knows how
11541 to fix this nicely in a GObject-y way, feel free.
11543 2005-09-20 Stefan Kost <ensonic@users.sf.net>
11545 * docs/gst/gstreamer-docs.sgml:
11546 remove probe refsection
11548 2005-09-20 Stefan Kost <ensonic@users.sf.net>
11550 * check/Makefile.am:
11551 disable valgrinding the controller test again
11552 * docs/gst/gstreamer-sections.txt:
11553 update for api-changes
11555 2005-09-20 Wim Taymans <wim@fluendo.com>
11557 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11558 (gst_base_sink_set_property), (gst_base_sink_get_property),
11559 (gst_base_sink_do_sync):
11560 * gst/base/gstbasesink.h:
11561 Added sync property to basesink to disable clock sync.
11563 2005-09-20 Andy Wingo <wingo@pobox.com>
11565 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
11566 eating the caller's refcount.
11568 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
11569 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
11572 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
11573 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
11574 of GLib 2.8 public, so we can know which refcount to check in
11577 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
11578 (gst_object_init): Only set the gst refcount if we're going ahead
11579 with the refcount hack.
11581 2005-09-20 Stefan Kost <ensonic@users.sf.net>
11583 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
11584 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
11585 more leaks plumbed, added more debug-logging
11589 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11591 * gst/gstmessage.c:
11592 remove include of gstmemchunk.h
11594 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11596 * gst/gstclock.c: (_gst_clock_id_free):
11597 Commit from the Political Party For More Atomic CVS Commits,
11598 so that people don't waste too much of their day fishing
11599 out obvious leaks out of massive commits.
11600 Oh, and fix a pretty damn obvious leak in the memchunk
11603 2005-09-20 Stefan Kost <ensonic@users.sf.net>
11605 * check/Makefile.am:
11606 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
11607 plug mem-leak, re-add to valgrindable tests
11609 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11612 unbreak the build for those who have chronic arthritis
11613 and typing "make check" is just too taxing on the hands
11615 2005-09-20 Andy Wingo <wingo@pobox.com>
11617 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
11618 really want it out, you should fix plugins at the same time.
11620 2005-09-19 Stefan Kost <ensonic@users.sf.net>
11623 * docs/gst/gstreamer-sections.txt:
11625 added missing symbols to api docs
11626 disable ref-count hack if we have glib >= 2.8
11628 2005-09-19 David Schleef <ds@schleef.org>
11630 * docs/gst/Makefile.am: Ignore a few more internal headers
11631 * docs/gst/gstreamer-docs.sgml: Remove old sections
11632 * docs/gst/gstreamer-sections.txt: Remove old sections
11633 * docs/gst/tmpl/gstobject.sgml: update
11634 * docs/gst/tmpl/gstplugin.sgml: update
11635 * docs/gst/tmpl/gstpluginfeature.sgml: update
11636 * docs/random/ds/0.9-suggested-changes: update.
11637 * gst/Makefile.am: remove memchunk and trashstack, since they're
11639 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
11640 * gst/gst.h: don't include some headers
11641 * gst/gstchildproxy.c: add gstmarshal.h
11642 * gst/gstclock.c: Don't use memchunks
11643 * gst/gstminiobject.c: Add some docs
11644 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
11645 * gst/gstobject.h: same
11646 * gst/gstplugin.c: include gstmacros.h
11647 * gst/gstplugin.h: don't include gstmacros.h, since it's private
11648 * gst/gstquery.c: don't use memchunks
11649 * gst/gstregistry.c: rename gst_registry_deinit()
11650 * gst/gstregistry.h: same
11652 2005-09-19 David Schleef <ds@schleef.org>
11654 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
11655 * docs/libs/gstreamer-libs-sections.txt:
11656 * docs/libs/tmpl/gstgetbits.sgml:
11657 * docs/libs/tmpl/gstputbits.sgml:
11659 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
11661 * win32/gstenumtypes.c:
11662 * win32/gstenumtypes.h:
11665 2005-09-19 Wim Taymans <wim@fluendo.com>
11667 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
11668 Automatically PAUSE and RESUME a pipeline when a flushing seek
11671 2005-09-19 Andy Wingo <wingo@pobox.com>
11673 * gst/gstregistry.h: Spacing fixen.
11675 2005-09-19 Wim Taymans <wim@fluendo.com>
11677 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
11678 Handle state change failure more correctly.
11680 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
11682 * check/Makefile.am:
11683 * check/pipelines/cleanup.c: (run_pipeline):
11684 * check/pipelines/simple_launch_lines.c: (run_pipeline),
11686 enable cleanup again after fixing the leak
11688 some more info on docs
11690 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
11692 * check/Makefile.am:
11693 re-enable tests now that leaks are plugged
11695 * check/gst/gstbin.c:
11696 * check/gst/gstpipeline.c:
11697 add some more tests while fixing leaks
11698 * common/check.mak:
11699 make sure binaries are uptodate when valgrinding/gdbing
11701 * gst/gstelementfactory.c:
11702 remove a ref too many, and add a FIXME for when we get
11703 round to disposing of classes
11705 fix the refcounting when loading a plugin from a file and
11706 the code pretends that the pointer is the same even though
11707 of course it can change
11708 * gst/gstpluginfeature.c:
11709 unref plugins marked cached (a bit confusing as a name)
11710 as the docs state should be done
11711 various doc additions to explain refcounting
11712 * gst/gstregistry.c:
11713 * gst/gstregistryxml.c:
11716 2005-09-19 Wim Taymans <wim@fluendo.com>
11718 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
11719 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11720 (send_messages), (GST_START_TEST), (gstbus_suite):
11721 * check/gst/gstpipeline.c: (GST_START_TEST):
11722 * check/pipelines/cleanup.c: (run_pipeline):
11723 * check/pipelines/simple_launch_lines.c: (run_pipeline),
11725 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
11726 (gst_bus_source_check), (gst_bus_source_dispatch),
11727 (gst_bus_create_watch), (gst_bus_add_watch_full),
11728 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
11730 * tools/gst-launch.c: (event_loop):
11731 * tools/gst-md5sum.c: (event_loop):
11732 GstBusHandler -> GstBusFunc, return value has the same meaning as
11733 any other GSource (FALSE == remove source).
11734 _add_watch() and _add_watch_full() now take a MessageType mask to
11735 only handle specific types of messages.
11736 _poll() returns the GstMessage instead of the message type to avoid
11738 _have_pending() takes a MessageType mask now too.
11739 Added testsuite for multiple bus watches.
11740 Fix testsuites and applications for new bus API.
11742 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
11744 * check/Makefile.am:
11745 mark a bunch of the tests as to fix until we fix them
11747 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
11749 * common/check.mak:
11750 use GST_PLUGIN settings for valgrind tests as well, so we're
11751 valgrinding the correct thing
11752 * gst/gst.c: (init_post):
11755 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
11757 * gst/gst.c: (init_post), (gst_deinit):
11758 * gst/gstelementfactory.c: (gst_element_factory_class_init),
11759 (gst_element_factory_finalize), (gst_element_factory_cleanup):
11760 * gst/gstindex.c: (gst_index_factory_class_init),
11761 (gst_index_factory_finalize):
11762 * gst/gstobject.c: (gst_object_dispose):
11763 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
11764 (gst_plugin_load_file), (gst_plugin_desc_free):
11765 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
11766 (gst_plugin_feature_finalize):
11767 * gst/gstregistry.c: (gst_registry_class_init),
11768 (gst_registry_init), (gst_registry_finalize),
11769 (gst_registry_get_default), (gst_registry_deinit):
11770 * gst/gstregistry.h:
11771 * gst/gstregistryxml.c: (load_feature), (load_plugin):
11772 various cleanups and memleak plugging. make valgrind is happy now.
11774 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
11776 * common/check.mak:
11777 add a check-valgrind target
11779 2005-09-18 David Schleef <ds@schleef.org>
11781 * tools/gst-inspect.c: Revert the GOption code.
11783 2005-09-17 David Schleef <ds@schleef.org>
11785 * check/Makefile.am: Fix environment variables.
11786 * check/gst/gstplugin.c: Fix for API changes.
11787 * tools/gst-inspect.c: Fix for API changes.
11788 * tools/gst-xmlinspect.c: Fix for API changes.
11789 * gst/gstelementfactory.c:
11792 * gst/gstpluginfeature.c:
11793 * gst/gstpluginfeature.h:
11794 * gst/gstregistry.c:
11795 * gst/gstregistry.h:
11796 * gst/gstregistryxml.c:
11797 * gst/gsttypefind.c:
11798 * gst/gsttypefindfactory.c:
11799 * gst/indexers/gstfileindex.c:
11800 * gst/indexers/gstmemindex.c:
11801 * gst/schedulers/Makefile.am:
11802 Change registry to keep track of both plugins and features,
11803 removing the feature tracking from plugins themselves.
11805 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
11807 * check/Makefile.am:
11808 * tools/gst-register.1.in:
11809 remove gst-register
11811 2005-09-15 David Schleef <ds@schleef.org>
11813 * check/gst/gstplugin.c:
11814 * gst/gstelementfactory.c:
11816 * gst/gstpluginfeature.c:
11817 * gst/gstregistry.c:
11818 Getting tired of debugging. Disabled all the unreffing of
11819 plugins and features, which fixes the segfaults, but of
11820 course leaks like crazy. At least playbin works.
11822 2005-09-15 David Schleef <ds@schleef.org>
11824 * check/gst/gstplugin.c: (register_check_elements),
11825 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
11827 * gst/elements/gsttypefindelement.c: Fix refcounting.
11828 * gst/gsttypefind.c:
11829 * gst/gsttypefindfactory.c:
11830 * gst/gsttypefindfactory.h:
11832 2005-09-15 David Schleef <ds@schleef.org>
11834 * gst/gstindex.c: get refcounting correct.
11835 * gst/gstregistry.c: Handle the case where a feature/plugin is
11838 2005-09-15 David Schleef <ds@schleef.org>
11840 * check/Makefile.am:
11841 * check/gst/gstplugin.c: Add test
11842 * gst/gstplugin.c: Fix problems noticed by testsuite
11844 * gst/gstregistry.c:
11845 * gst/gstregistry.h:
11847 2005-09-15 David Schleef <ds@schleef.org>
11849 * gst/gstplugin.c: Implement semi-decent recounting and locking
11850 in plugins and plugin features.
11852 * gst/gstpluginfeature.c:
11853 * gst/gstpluginfeature.h:
11854 * gst/gstregistry.c:
11856 2005-09-15 Michael Smith <msmith@fluendo.com>
11858 * gst/gstregistry.c: (gst_registry_get_feature_list):
11859 Implement this. Makes oggdemux work; decodebin still broken.
11861 2005-09-14 David Schleef <ds@schleef.org>
11863 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
11865 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
11866 * gst/check/Makefile.am:
11867 * libs/gst/controller/Makefile.am:
11868 * libs/gst/dataprotocol/Makefile.am:
11870 2005-09-14 David Schleef <ds@schleef.org>
11872 * configure.ac: Remove getbits library. Nothing uses it, and
11873 it should be in something like liboil if someone did want
11875 * libs/gst/Makefile.am:
11876 * libs/gst/getbits/Makefile.am:
11877 * libs/gst/getbits/gbtest.c:
11878 * libs/gst/getbits/getbits.c:
11879 * libs/gst/getbits/getbits.h:
11880 * libs/gst/getbits/gstgetbits_generic.c:
11881 * libs/gst/getbits/gstgetbits_i386.s:
11882 * libs/gst/getbits/gstgetbits_inl.h:
11884 2005-09-14 David Schleef <ds@schleef.org>
11886 * gst/Makefile.am: Dist glib-compat.h
11888 2005-09-14 David Schleef <ds@schleef.org>
11890 * configure.ac: Remove gst/registries, since it's no longer used.
11891 * gst/registries/Makefile.am:
11892 * gst/registries/gstlibxmlregistry.c:
11893 * gst/registries/gstlibxmlregistry.h:
11894 * gst/registries/gstxmlregistry.c:
11895 * gst/registries/gstxmlregistry.h:
11896 * gst/registries/registrytest.c:
11898 2005-09-14 David Schleef <ds@schleef.org>
11900 * gst/glib-compat.h:
11901 * gst/gstregistryxml.c:
11902 Convergence is near. Seriously.
11904 2005-09-14 David Schleef <ds@schleef.org>
11906 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11907 * gst/glib-compat.h:
11908 Attempt #4 to appease the buildbots.
11910 2005-09-14 David Schleef <ds@schleef.org>
11912 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11915 2005-09-14 David Schleef <ds@schleef.org>
11917 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11920 2005-09-14 David Schleef <ds@schleef.org>
11922 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
11925 2005-09-14 David Schleef <ds@schleef.org>
11927 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11928 * gst/glib-compat.h: Add some functions that are in newer versions
11929 of glib than we care to require.
11930 * gst/gstregistryxml.c: Use them.
11932 2005-09-14 David Schleef <ds@schleef.org>
11934 * po/POTFILES.in: remove gst-register.c
11936 2005-09-14 David Schleef <ds@schleef.org>
11938 * docs/gst/gstreamer-docs.sgml:
11939 * docs/gst/gstreamer-sections.txt:
11940 * docs/gst/gstreamer.types:
11941 * docs/gst/tmpl/gstelement.sgml:
11942 * docs/gst/tmpl/gstplugin.sgml:
11943 * docs/gst/tmpl/gstpluginfeature.sgml:
11944 Documentation updates for registry changes.
11946 2005-09-14 David Schleef <ds@schleef.org>
11948 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
11949 because we don't require glib-2.8.
11951 2005-09-14 David Schleef <ds@schleef.org>
11953 * gst/gstregistryxml.c: Added. Essentially moved out of the
11954 registries directory.
11956 2005-09-14 David Schleef <ds@schleef.org>
11958 * check/Makefile.am:
11959 * check/generic/states.c:
11963 * gst/gst_private.h:
11964 * gst/gstelementfactory.c:
11969 * gst/gstpluginfeature.c:
11970 * gst/gstpluginfeature.h:
11971 * gst/gstregistry.c:
11972 * gst/gstregistry.h:
11973 * gst/gstregistrypool.c: remove
11974 * gst/gstregistrypool.h: remove
11975 * gst/gsttypefind.c:
11976 * gst/gsttypefindfactory.c:
11978 * tools/Makefile.am:
11979 * tools/gst-compprep.c:
11980 * tools/gst-inspect.c:
11981 * tools/gst-register.c: remove
11982 * tools/gst-xmlinspect.c:
11983 Registry rewrite. Changes registry from being a file created
11984 by a tool into a simple cache file created automatically by
11985 libgstreamer. Removed gst-register (because it's no longer
11986 needed). Remove registry pools, because we only have one
11987 registry implementation (XML). Fix up other subsystems as
11990 2005-09-13 Michael Smith <msmith@fluendo.com>
11992 * gst/gstconfig.h.in:
11993 Don't Use windows linking attributes for MinGW. Fixes #316157
11995 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
11997 * gst/gstutils.c: (set_state_async_thread_func),
11998 (gst_element_set_state_async):
11999 Apparently people think it's better if this function doesn't
12000 try to set the state to whatever state was asked for on the first
12001 call to this function for any object. Seriously.
12003 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
12005 * check/gst/gstpipeline.c: (GST_START_TEST):
12006 * docs/gst/gstreamer-sections.txt:
12007 * gst/gstutils.c: (set_state_async_thread_func),
12008 (gst_element_set_state_async):
12010 add a "gst_element_set_state_async" method that
12011 sets the state and starts a thread to make sure the state
12012 change completes as best as it can
12014 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
12016 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12017 codify design+behaviour in testsuite after discussion
12019 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
12021 * docs/gst/tmpl/gstelement.sgml:
12022 * docs/manual/appendix-quotes.xml:
12024 * gst/gstelement.c: (gst_element_set_state):
12027 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
12029 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12030 (gst_base_transform_prepare_output_buf),
12031 (gst_base_transform_handle_buffer):
12032 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
12033 (gst_capsfilter_prepare_buf):
12034 Remove the requirement for sub-classes to call the parent
12035 implementation of prepare_output_buffer with a wrapper function.
12037 * gst/gsttaglist.h:
12038 * gst/gsttagsetter.h:
12039 Fix #define wrapper
12041 2005-09-11 Stefan Kost <ensonic@users.sf.net>
12043 * docs/gst/gstreamer-sections.txt:
12046 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
12048 * docs/gst/gstreamer-sections.txt:
12049 * docs/gst/tmpl/gstelement.sgml:
12050 * docs/gst/tmpl/gstplugin.sgml:
12051 * gst/gstminiobject.c:
12053 docs now stop throwing warnings
12055 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
12057 * docs/gst/gstreamer-sections.txt:
12058 * docs/gst/gstreamer.types:
12059 * docs/gst/tmpl/gstpad.sgml:
12060 * docs/gst/tmpl/gsttypes.sgml:
12061 * gst/base/gstadapter.h:
12062 * gst/base/gstbasesink.h:
12063 * gst/base/gstbasesrc.h:
12069 * gst/gstelement.h:
12071 * gst/gstmessage.h:
12073 * gst/gststructure.c:
12074 * gst/registries/gstlibxmlregistry.h:
12075 various documentation fixes
12077 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
12079 * docs/gst/gstreamer-sections.txt:
12080 * docs/gst/tmpl/gstvalue.sgml:
12081 rearrange gstvalue section
12082 * gst/gstutils.c: (gst_element_state_get_name):
12084 * gst/gstvalue.c: (_gst_value_initialize):
12088 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
12090 * check/gst-libs/controller.c:
12091 Header include fix.
12092 * gst/base/gstbasetransform.c:
12093 (gst_base_transform_default_prepare_buf),
12094 (gst_base_transform_handle_buffer):
12095 * gst/base/gstbasetransform.h:
12096 Some more basetransform changes and fixes to enable sub-classes
12097 that modify buffer metadata only.
12098 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
12099 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
12100 (gst_capsfilter_prepare_buf):
12101 If the output pad has fixed allowed caps and input buffers
12102 don't have any, set the fixed caps on outgoing buffers.
12104 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
12105 * check/elements/identity.c: (GST_START_TEST):
12106 Make the error a little clearer when the test fails because
12107 identity made a copy of the buffer.
12108 * docs/gst/gstreamer-sections.txt:
12109 New symbols in gstbasetransform.h
12110 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12111 (gst_base_transform_init), (gst_base_transform_transform_size),
12112 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12113 (gst_base_transform_default_prepare_buf),
12114 (gst_base_transform_get_unit_size),
12115 (gst_base_transform_buffer_alloc),
12116 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
12117 (gst_base_transform_change_state),
12118 (gst_base_transform_set_passthrough),
12119 (gst_base_transform_set_in_place),
12120 (gst_base_transform_is_in_place):
12121 * gst/base/gstbasetransform.h:
12122 Change BaseTransform to separate in_place operate from same_caps
12123 output. in_place implies that the element can perform the transform
12124 on incoming buffers in-place, even if the caps on the output are
12126 Sub-class elements can now implement special buffer allocation
12127 methods for outgoing buffers if they wish to.
12128 Big documentation addition.
12129 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
12130 * gst/elements/gstelements.c:
12131 Changes for basetransform modifications.
12132 * gst/elements/Makefile.am:
12133 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
12134 Compile fix. Extra debug output.
12136 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
12138 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
12140 add tests for valid pad naming
12141 * gst/check/gstcheck.c: (gst_check_log_message_func),
12142 (gst_check_log_critical_func):
12144 remove printing of code, it is fragile when the code contains
12145 % and the line number is enough info
12146 * gst/check/gstcheck.h:
12147 * gst/gstpad.c: (gst_pad_template_new):
12150 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
12153 say what CHECK flags we use
12154 * docs/libs/gstreamer-libs.types:
12155 * libs/gst/controller/Makefile.am:
12156 * libs/gst/controller/gst-controller.c:
12157 * libs/gst/controller/gst-controller.h:
12158 * libs/gst/controller/gst-helper.c:
12159 * libs/gst/controller/gst-interpolation.c:
12160 * libs/gst/controller/gstcontroller.c:
12161 * libs/gst/controller/gsthelper.c:
12162 * libs/gst/controller/gstinterpolation.c:
12163 * tools/gst-inspect.c: (print_plugin_info):
12164 we don't use dashes in header names
12166 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
12168 * check/Makefile.am:
12169 * check/gst/.cvsignore:
12170 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
12171 (gst_pipeline_suite), (main):
12172 adding a test for pipelines and state changes
12173 * gst/gstutils.c: (get_state_func):
12175 * gstreamer.spec.in:
12178 2005-09-08 Michael Smith <msmith@fluendo.com>
12180 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
12181 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
12182 (gst_file_src_is_seekable), (gst_file_src_get_size),
12183 (gst_file_src_start):
12184 * gst/elements/gstfilesrc.h:
12185 Various fixes for unseekable, unmmapable, and non-normal files, so
12186 that fallback to read() rather than mmap() works.
12187 * gst/gstevent.c: (gst_event_new_newsegment):
12188 Allow newsegment events with segment_start == segment_end, as will
12189 correctly happen if you use filesrc on a zero-size file, for
12192 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
12194 * gst/gstplugin.c: (gst_plugin_load_file):
12195 Call g_module_close when we don't load the module
12197 * gst/registries/gstlibxmlregistry.c:
12198 (gst_xml_registry_get_property):
12199 Port leak fix from 0.8
12201 2005-09-07 Stefan Kost <ensonic@users.sf.net>
12203 * docs/gst/gstreamer-docs.sgml:
12204 * docs/gst/tmpl/.cvsignore:
12205 * docs/gst/tmpl/gsttrace.sgml:
12206 * docs/gst/tmpl/gsttrashstack.sgml:
12209 * gst/gstelement.h:
12211 * gst/gstmessage.c:
12212 * gst/gstmessage.h:
12215 * gst/gsttaginterface.c:
12216 * gst/gsttaginterface.h:
12217 * gst/gsttaglist.c:
12218 * gst/gsttaglist.h:
12219 * gst/gsttagsetter.c:
12220 * gst/gsttagsetter.h:
12223 * gst/gsttrashstack.c:
12224 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
12225 inlined docs for gsttrace, gsttrashstack
12227 2005-09-07 Stefan Kost <ensonic@users.sf.net>
12230 * gst/elements/gstbufferstore.h:
12231 * gst/elements/gsttypefindelement.c:
12232 * gst/elements/gsttypefindelement.h:
12234 * gst/gsttypefind.c:
12235 * gst/gsttypefind.h:
12236 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
12237 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
12238 (gst_type_find_factory_dispose),
12239 (gst_type_find_factory_unload_thyself),
12240 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
12241 (gst_type_find_factory_get_caps),
12242 (gst_type_find_factory_get_extensions),
12243 (gst_type_find_factory_call_function):
12244 * gst/gsttypefindfactory.h:
12245 * gst/registries/gstlibxmlregistry.c:
12246 * gst/registries/gstxmlregistry.c:
12247 splitted gsttypefind into gsttypefind, gsttypefindfactory
12249 2005-09-07 Andy Wingo <wingo@pobox.com>
12251 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
12252 condition whereby the pad's task function is entered before the
12253 pad_mode variable was set.
12255 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
12257 * gst/gstpad.c: (gst_pad_alloc_buffer):
12258 Catch misbehaving pad_alloc functions that don't
12259 set up caps and do it for them.
12261 2005-09-07 Stefan Kost <ensonic@users.sf.net>
12263 * check/pipelines/simple_launch_lines.c: (run_pipeline):
12264 test for pipe!=NULL
12265 * docs/gst/tmpl/.cvsignore:
12266 * docs/gst/tmpl/gstmemchunk.sgml:
12267 * docs/gst/tmpl/gstparse.sgml:
12268 * docs/gst/tmpl/gsttaglist.sgml:
12269 * docs/gst/tmpl/gsttagsetter.sgml:
12270 * docs/gst/tmpl/gsttypefind.sgml:
12271 * docs/gst/tmpl/gsttypefindfactory.sgml:
12272 * gst/gstmemchunk.c:
12275 * gst/gsttaginterface.c:
12276 * gst/gsttypefind.c:
12277 * gst/gsttypefind.h:
12280 === release 0.9.2 ===
12282 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
12287 releasing 0.9.2, "South"
12289 2005-09-05 Andy Wingo <wingo@pobox.com>
12291 * gst/registries/gstxmlregistry.h:
12292 * gst/registries/gstxmlregistry.c: Um... resurrect...
12294 * gst/registries/gstxmlregistry.h:
12295 * gst/registries/gstxmlregistry.c: and update to newer API.
12296 Incidentally they should be a bit faster now that they don't have
12299 2005-09-05 Andy Wingo <wingo@pobox.com>
12301 * gst/registries/gstxmlregistry.h:
12302 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
12303 replaced by the libxml registry a while back
12305 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
12307 * docs/gst/tmpl/gstplugin.sgml:
12308 * gst/elements/gstelements.c:
12310 * gst/gstplugin.c: (gst_plugin_register_func),
12311 (gst_plugin_desc_copy), (gst_plugin_desc_free),
12312 (gst_plugin_get_source):
12314 * gst/registries/gstlibxmlregistry.c: (load_plugin),
12315 (gst_xml_registry_save_plugin):
12316 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
12317 (gst_xml_registry_save_plugin):
12318 * tools/gst-inspect.c: (print_plugin_info):
12319 add a "source" plugin description field, to represent the source
12320 module this plugin is a part of. By default GST_PLUGIN_DEFINE
12321 will set it to PACKAGE, which is automake's idea of the name of
12322 the source project.
12324 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
12329 * docs/Makefile.am:
12330 * docs/faq/Makefile.am:
12331 * docs/gst/tmpl/gstelement.sgml:
12332 * docs/gst/tmpl/gsttypes.sgml:
12333 * docs/htmlinstall.mak:
12334 * docs/manual/Makefile.am:
12335 * docs/pwg/Makefile.am:
12336 reorganize doc build a little
12337 split out docbook and gtk-doc stuff
12338 have two separate --enable's and enable them through autogen
12339 but disable by default in configure (to be similar to other
12341 * gstreamer.spec.in:
12342 clean up docs install
12360 translation updates
12362 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
12364 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
12367 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12368 (gst_fake_sink_change_state):
12369 Make state change function thread-safe.
12371 * gst/gstpad.c: (gst_pad_alloc_buffer):
12372 Set offset on generic buffer allocated by fallback.
12374 2005-09-03 Stefan Kost <ensonic@users.sf.net>
12376 * docs/gst/gstreamer-sections.txt:
12377 * docs/gst/tmpl/gstelement.sgml:
12379 * libs/gst/controller/gst-controller.c:
12380 (gst_controlled_property_set_interpolation_mode),
12381 (gst_controlled_property_new),
12382 (gst_controller_find_controlled_property):
12383 run the wingo-magic script against the docs
12385 2005-09-02 Stefan Kost <ensonic@users.sf.net>
12387 * docs/gst/gstreamer-docs.sgml:
12388 * docs/gst/gstreamer-sections.txt:
12389 * docs/gst/tmpl/.cvsignore:
12390 * docs/gst/tmpl/gstelementdetails.sgml:
12391 * docs/gst/tmpl/gstelementfactory.sgml:
12394 * gst/gstelementfactory.c:
12395 * gst/gstelementfactory.h:
12396 merged elementdetails docs into elementfactory docs
12399 2005-09-02 Andy Wingo <wingo@pobox.com>
12401 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
12402 consider this enum an enum and not a flags.
12404 2005-09-02 Stefan Kost <ensonic@users.sf.net>
12406 * docs/gst/gstreamer-docs.sgml:
12407 * docs/gst/tmpl/.cvsignore:
12408 * docs/gst/tmpl/gstghostpad.sgml:
12409 * docs/gst/tmpl/gstiterator.sgml:
12410 * docs/gst/tmpl/gstmacros.sgml:
12411 * docs/gst/tmpl/gstrealpad.sgml:
12412 * docs/gst/tmpl/gstregistry.sgml:
12413 * docs/gst/tmpl/gstregistrypool.sgml:
12414 * docs/gst/tmpl/gststructure.sgml:
12415 * docs/gst/tmpl/gstsystemclock.sgml:
12416 * docs/gst/tmpl/gsttrace.sgml:
12417 * gst/gstghostpad.c:
12419 * gst/gstmemchunk.c:
12420 * gst/gstmemchunk.h:
12422 * gst/gstregistry.c:
12423 * gst/gstregistrypool.c:
12424 * gst/gststructure.c:
12425 * gst/gstsystemclock.c:
12428 2005-09-02 Andy Wingo <wingo@pobox.com>
12430 * gst/gstelement.h (GstState): Renamed from GstElementState,
12431 changed to be a normal enum instead of flags.
12432 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
12433 munged to be GST_STATE_CHANGE_*.
12434 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
12435 work with the new state representation.
12436 (GstStateChange): New enumeration of possible state transitions.
12437 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
12438 (GstElementClass::change_state): Pass the GstStateChange along as
12439 an argument. Helps language bindings, so they don't have to use
12440 tricky lock-needing macros like GST_STATE_CHANGE ().
12442 * scripts/update-states (file): New script. Run it on a file to
12443 update it for state naming and API changes. Updates files in
12446 * All files updated for the new API.
12448 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
12450 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
12451 * gst/gstutils.c: (gst_util_set_value_from_string),
12452 (gst_util_set_object_arg):
12453 fix a bunch of unchecked return values
12454 * tools/gst-complete.c: (main):
12455 * gstreamer.spec.in:
12458 2005-09-01 Wim Taymans <wim@fluendo.com>
12460 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12461 (gst_base_sink_event), (gst_base_sink_do_sync),
12462 (gst_base_sink_handle_event):
12463 * gst/base/gstbasesink.h:
12464 Handle newsegments more correctly.
12469 * gst/gstevent.c: (gst_event_new_newsegment):
12470 A newsegment cannot have a start_time of -1
12472 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
12474 * win32/gstenumtypes.c:
12475 * win32/gstenumtypes.h:
12478 2005-08-31 Stefan Kost <ensonic@users.sf.net>
12480 * libs/gst/controller/gst-controller.c:
12481 (gst_controlled_property_set_interpolation_mode),
12482 (gst_controlled_property_new):
12483 fixed boolean again
12485 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
12487 * docs/faq/gst-uninstalled:
12492 * gst/gstutils.c: (gst_element_link_filtered):
12494 add gst_element_link_filtered
12496 2005-08-31 Stefan Kost <ensonic@users.sf.net>
12498 * docs/gst/gstreamer-docs.sgml:
12499 * docs/gst/gstreamer-sections.txt:
12500 * docs/gst/tmpl/.cvsignore:
12501 * docs/gst/tmpl/gsterror.sgml:
12502 * docs/gst/tmpl/gstfilter.sgml:
12503 * docs/gst/tmpl/gsturihandler.sgml:
12504 * docs/gst/tmpl/gsturitype.sgml:
12505 * docs/gst/tmpl/gstutils.sgml:
12506 * docs/gst/tmpl/gstxml.sgml:
12511 * gst/gsturitype.c:
12514 inlined more docs, fixed double id-ref
12516 2005-08-31 Wim Taymans <wim@fluendo.com>
12518 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
12519 (gst_base_transform_handle_buffer):
12520 Passthrough elements don't need the caps as they don't care.
12522 2005-08-31 Wim Taymans <wim@fluendo.com>
12524 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
12525 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
12526 Don't leak refcounts on buffers.
12528 2005-08-31 Wim Taymans <wim@fluendo.com>
12530 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
12531 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12532 (gst_base_transform_chain), (gst_base_transform_change_state):
12533 * gst/base/gstbasetransform.h:
12534 Handle the case where we are not negotiated more gracefully.
12536 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
12538 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
12539 (gst_file_src_map_region):
12540 Set READONLY flag on mmap'ed buffers, otherwise
12541 gst_buffer_make_writable() won't work properly (#314708).
12543 2005-08-31 Wim Taymans <wim@fluendo.com>
12545 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
12546 passthrough elements can even do inplace on non writable
12547 buffers (as they don't touch them).
12549 2005-08-31 Stefan Kost <ensonic@users.sf.net>
12551 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
12552 (gst_test_mono_source_set_property),
12553 (gst_test_mono_source_class_init), (GST_START_TEST),
12554 (gst_controller_suite):
12555 more tests (hehe I have the most)
12557 describe popping messages whenusing mulltiple sources
12558 * libs/gst/controller/gst-controller.c:
12559 (gst_controlled_property_set_interpolation_mode),
12560 (gst_controlled_property_new):
12561 * libs/gst/controller/gst-controller.h:
12562 * libs/gst/controller/gst-interpolation.c:
12563 implement boolean properties
12565 2005-08-31 Wim Taymans <wim@fluendo.com>
12567 * gst/gstminiobject.c: (gst_mini_object_ref):
12568 Cannot assert that the refcount has to be positive
12569 since a disposed object can be resurrected.
12571 2005-08-31 Wim Taymans <wim@fluendo.com>
12573 * gst/gstpad.c: (gst_pad_init):
12574 Revert change, need to first fix badly behaving
12577 2005-08-30 Wim Taymans <wim@fluendo.com>
12579 * check/elements/fakesrc.c: (setup_fakesrc):
12580 * check/elements/identity.c: (setup_identity):
12581 Activate pads before using them.
12583 2005-08-30 Wim Taymans <wim@fluendo.com>
12585 * gst/base/gstadapter.c: (gst_adapter_flush):
12586 Flushing out 0 bytes is ok for this function.
12588 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12589 no newsegment gives a warning and sets the start/stop to
12592 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
12593 (gst_base_transform_set_passthrough):
12596 * gst/gstminiobject.c: (gst_mini_object_ref):
12597 Check refcount here too.
12599 * gst/gstpad.c: (gst_pad_init):
12600 Pads are initially flushing and refusing data.
12602 * gst/gstutils.c: (gst_element_link_pads_filtered):
12603 When adding a capsfilter element make sure it has the
12604 same state as the parent bin.
12606 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12608 * docs/gst/tmpl/.cvsignore:
12609 * docs/gst/tmpl/gstformat.sgml:
12610 * docs/gst/tmpl/gstversion.sgml:
12614 * gst/gstversion.h.in:
12615 more docs and two more inlined
12617 2005-08-30 Wim Taymans <wim@fluendo.com>
12619 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
12620 Don't sync to clock.
12622 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12624 * docs/gst/gstreamer-sections.txt:
12625 ultral33t func10ns deserve to appear in the docs actually
12626 * docs/gst/tmpl/.cvsignore:
12627 * docs/gst/tmpl/gstcompat.sgml:
12628 * docs/gst/tmpl/gstconfig.sgml:
12629 * gst/check/gstcheck.c:
12631 * gst/gstconfig.h.in:
12634 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12636 * docs/gst/tmpl/.cvsignore:
12637 * docs/gst/tmpl/gstquery.sgml:
12638 * docs/gst/tmpl/gstutils.sgml:
12641 inlined and extended docs
12643 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12645 * check/gst-libs/controller.c: (GST_START_TEST),
12646 (gst_controller_suite):
12648 * docs/gst/tmpl/gstutils.sgml:
12649 * docs/libs/gstreamer-libs-sections.txt:
12650 * docs/libs/tmpl/gstdataprotocol.sgml:
12652 * examples/controller/audio-example.c: (main):
12653 controller example works now
12656 * tools/gst-inspect.c: (print_element_properties_info):
12657 show param spec flags
12659 2005-08-29 Andy Wingo <wingo@pobox.com>
12661 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
12663 2005-08-28 Andy Wingo <wingo@pobox.com>
12665 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
12666 as having two arguments instead of just one. Allows superclasses
12667 to access information on subclasses -- see the terrible for() loop
12668 in gtype.c:g_type_create_instance for the reason why. All callers
12671 2005-08-27 Stefan Kost <ensonic@users.sf.net>
12673 * docs/design/part-messages.txt:
12675 * docs/gst/tmpl/.cvsignore:
12676 * docs/gst/tmpl/gstcaps.sgml:
12677 * docs/gst/tmpl/gstclock.sgml:
12683 * gst/gstmessage.c:
12684 added descriptions for bus and message
12685 inline caps and clock docs
12687 2005-08-27 Stefan Kost <ensonic@users.sf.net>
12689 * gst/gstmessage.c:
12690 * gst/gstmessage.h:
12693 2005-08-27 Stefan Kost <ensonic@users.sf.net>
12695 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12698 2005-08-26 Andy Wingo <wingo@pobox.com>
12700 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
12701 element_set_state's return val.
12702 (test_2_elements): Add test that's been disabled for months.
12704 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
12705 can-activate-pull properties.
12707 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
12708 can-activate-pull properties. Implement is_seekable so fakesrc can
12709 operate in pull mode.
12711 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
12713 (gst_base_sink_activate, gst_base_sink_activate_pull)
12714 (gst_base_sink_activate_push): Make activation mode choosing work.
12716 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
12717 is right. Make pull mode work. Post an eos before pausing in pull
12719 (gst_base_sink_change_state): Pay attention to the core's
12720 change_state() return val.
12722 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
12723 has-getrange properties. Cleanups.
12725 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
12726 has_getrange and replace with can_activate_pull and
12729 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
12730 locking comments. Remove has_loop, has_chain and replace with
12731 can_activate_pull and can_activate_push.
12733 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
12736 * examples/Makefile.am:
12737 * examples/metadata/Makefile.am:
12738 * examples/metadata/read-metadata.c: (message_loop),
12739 (have_pad_handler), (make_pipeline), (print_tag), (main):
12740 Add metadata reading example that loops over a list of filenames,
12741 dumping any tags found.
12743 * gst/gstbus.c: (gst_bus_dispose):
12744 * gst/gstelement.c: (gst_element_dispose):
12745 Release a few potentially-held references in dispose.
12747 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12749 * docs/gst/tmpl/gstminiobject.sgml:
12750 do *not* add tmpl/*.sgml files to CVS!
12752 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12754 * libs/gst/bytestream/.cvsignore:
12755 * libs/gst/bytestream/Makefile.am:
12756 * libs/gst/bytestream/adapter.c:
12757 * libs/gst/bytestream/adapter.h:
12758 * libs/gst/bytestream/bytestream.c:
12759 * libs/gst/bytestream/bytestream.h:
12760 * libs/gst/bytestream/filepad.c:
12761 * libs/gst/bytestream/filepad.h:
12762 removing obsolete files
12764 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12766 * docs/gst/gstreamer-docs.sgml:
12767 * docs/libs/gstreamer-libs-docs.sgml:
12768 disabed additional index entries again, as this makes docs-gen just
12769 slow and they aren't useful yet
12770 * docs/libs/gstreamer-libs-sections.txt:
12771 little -section.txt cleanup for libs
12773 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
12775 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12776 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
12777 fix up some debugging
12778 (gst_base_transform_get_unit_size),
12779 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
12780 (gst_base_transform_handle_buffer):
12781 * gst/base/gstbasetransform.h:
12782 handle and store timed NEWSEGMENT events so that subclasses that
12783 calculate time by counting samples have a segment_start time they
12784 need to add to their timestamps - see audioresample
12786 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12789 removed ';' from the end of macro defs
12790 * docs/gst/gstreamer-docs.sgml:
12791 * docs/gst/gstreamer-sections.txt:
12792 * docs/gst/tmpl/.cvsignore:
12794 * gst/gstelement.c: (gst_element_class_init),
12795 (gst_element_set_state), (activate_pads),
12796 (gst_element_save_thyself):
12797 * gst/gstevent.c: (gst_event_new_newsegment):
12799 * gst/gstiterator.c:
12800 * gst/gstiterator.h:
12803 * gst/gstutils.c: (gst_pad_query_convert):
12805 fixed parameter name mismatches between source, header and docs
12806 added some more docs, resolved the last batch of unused elements in
12807 docs (now someone needs to doc them)
12809 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
12811 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
12812 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
12813 don't walk through the plugins backwards. Where is all this
12814 reversed logic coming from ?
12816 2005-08-25 Wim Taymans <wim@fluendo.com>
12818 * gst/base/gstbasetransform.c: (gst_base_transform_init),
12819 (gst_base_transform_transform_size),
12820 (gst_base_transform_configure_caps),
12821 (gst_base_transform_get_unit_size),
12822 (gst_base_transform_buffer_alloc),
12823 (gst_base_transform_change_state):
12824 * gst/base/gstbasetransform.h:
12825 Cache caps unit_size.
12826 Make sure we cannot negotiate up and downstream at the
12829 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
12831 * gst/gst.c: (init_pre), (init_post):
12832 register the installed plugin path after the env var
12833 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
12834 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
12835 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
12836 directories, so the tests can prefer uninstalled over installed
12838 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
12840 * gst/base/gstbasetransform.h:
12845 2005-08-25 Wim Taymans <wim@fluendo.com>
12847 * gst/gstbin.c: (bin_bus_handler):
12848 Be a bit more conservative about the posted message.
12850 * gst/gstbus.c: (gst_bus_post):
12851 Some cleanups, warn wrong return values.
12853 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
12855 * check/gst/gstbin.c: (GST_START_TEST):
12856 * gst/gstbin.c: (bin_bus_handler):
12857 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12858 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12859 (gst_message_new_warning), (gst_message_new_tag),
12860 (gst_message_new_state_changed), (gst_message_new_segment_start),
12861 (gst_message_new_segment_done), (gst_message_new_custom):
12862 * gst/gstmessage.h:
12863 * tools/gst-launch.c: (event_loop):
12864 * tools/gst-md5sum.c: (event_loop):
12865 Revert unpopular change for GST_MESSAGE_SRC to GObject.
12867 2005-08-25 Wim Taymans <wim@fluendo.com>
12869 * check/generic/states.c: (GST_START_TEST):
12870 Cleanup can be done at the end.
12872 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
12873 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12874 (gst_task_get_state), (gst_task_start), (gst_task_pause):
12875 Oh boy.. Thanks for finding this, Thomas.
12877 2005-08-25 Stefan Kost <ensonic@users.sf.net>
12879 * docs/gst/gstreamer.types:
12880 added missing types
12882 2005-08-25 Stefan Kost <ensonic@users.sf.net>
12884 * docs/gst/gstreamer-docs.sgml:
12885 * docs/gst/gstreamer-sections.txt:
12886 * docs/gst/tmpl/.cvsignore:
12888 * gst/gstiterator.c:
12890 * gst/registries/gstxmlregistry.h:
12891 added missing classes and symbols (123 more to go)
12892 removed removed symbols from section file
12893 fixed many doc-comments
12895 2005-08-24 Wim Taymans <wim@fluendo.com>
12897 * check/generic/states.c: (GST_START_TEST):
12898 Make sure all tasks are stopped.
12900 * check/gst/gstbin.c: (GST_START_TEST):
12901 Unref after usage for proper valgrinding.
12903 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
12904 Really wait for the task to stop before destroying the
12907 * gst/gstqueue.c: (gst_queue_sink_activate_push),
12908 (gst_queue_src_activate_push):
12909 Small cleanups. Don't stop the task when we did not start
12912 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
12913 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12914 (gst_task_get_state), (gst_task_start), (gst_task_pause),
12917 Protect the stream lock with the object lock.
12918 Disallow setting the stream lock when running.
12919 Add cleanup_all to wait for the threadpool to finish.
12920 Remove code to autoallocate a mutex if none was provided.
12921 Add _join() to wait for a task to stop.
12922 Protect the thread pool with a global lock.
12924 2005-08-24 Wim Taymans <wim@fluendo.com>
12926 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12927 (gst_base_sink_get_times), (gst_base_sink_do_sync),
12928 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
12929 * gst/base/gstbasesink.h:
12930 Handle newsegment events correctly.
12931 Drop buffers out of the segment range.
12933 2005-08-22 Andy Wingo <wingo@pobox.com>
12935 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
12936 macro, implements an interface and gstimplementsinterface for a
12939 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
12941 * check/Makefile.am:
12942 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
12943 add a test that does a bunch of state changes on elements
12944 needs some fixing for valgrind
12945 * check/states/sinks.c: (gst_object_suite):
12948 add prototype for gst_caps_is_equal_fixed
12950 * gst/gstregistrypool.c:
12953 2005-08-24 Andy Wingo <wingo@pobox.com>
12955 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
12956 convert a negative value. Doesn't make much sense. Mostly this is
12957 here to force callers to ensure -1 maps to -1.
12959 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
12961 * docs/pwg/advanced-types.xml:
12962 Well done to Michael for catching my deliberate introduction
12963 of this spelling mistake.
12964 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
12965 * gst/gstelement.h:
12966 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
12967 unlink pads before removing the element from the bin.
12969 2005-08-24 Andy Wingo <wingo@pobox.com>
12971 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
12972 the same thing as GST_DEBUG=*:4.
12973 (parse_debug_level, parse_debug_category): New helper parsers.
12975 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
12977 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12978 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
12979 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
12980 (gst_base_transform_buffer_alloc),
12981 (gst_base_transform_handle_buffer):
12982 use gboolean return values and pointers to size so we can use the
12983 full GST_BUFFER_SIZE range (guint) for buffer sizes
12984 use GstPadDirection for transform_caps
12985 * gst/base/gstbasetransform.h:
12986 rename get_size to get_unit_size since that's what it is
12987 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
12988 use GstPadDirection for transform_caps
12989 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12991 cleanup and debugging
12993 2005-08-24 Stefan Kost <ensonic@users.sf.net>
12995 * gst/gstelement.c: (gst_element_class_init),
12996 (gst_element_set_state), (activate_pads),
12997 (gst_element_save_thyself):
12998 * tools/gst-compprep.c: (main):
12999 * tools/gst-inspect.c: (print_element_properties_info):
13000 * tools/gst-xmlinspect.c: (print_element_properties):
13001 Fixed long standing mem-leak
13003 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
13005 * check/gst/gstbin.c: (GST_START_TEST):
13006 * gst/gstbin.c: (bin_bus_handler):
13007 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13008 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13009 (gst_message_new_warning), (gst_message_new_tag),
13010 (gst_message_new_state_changed), (gst_message_new_segment_start),
13011 (gst_message_new_segment_done), (gst_message_new_custom):
13012 * gst/gstmessage.h:
13013 * tools/gst-launch.c: (event_loop):
13014 * tools/gst-md5sum.c: (event_loop):
13015 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
13016 that applications can sensibly post custom messages with references
13017 to their own objects.
13019 2005-08-24 Andy Wingo <wingo@pobox.com>
13021 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
13024 2005-08-24 Wim Taymans <wim@fluendo.com>
13026 * gst/base/gstbasetransform.c: (gst_base_transform_init),
13027 (gst_base_transform_transform_caps),
13028 (gst_base_transform_transform_size),
13029 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13030 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13031 (gst_base_transform_handle_buffer):
13032 * gst/base/gstbasetransform.h:
13033 Many fixes and new features added by Thomas. Can now also do
13034 transforms with variable sizes and a custom fixate_caps function.
13036 2005-08-24 Wim Taymans <wim@fluendo.com>
13038 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13042 Cast to ClockTime before formatting to time.
13047 2005-08-24 Stefan Kost <ensonic@users.sf.net>
13049 * check/gst-libs/controller.c: (GST_START_TEST),
13050 (gst_controller_suite):
13051 * docs/gst/tmpl/gstcaps.sgml:
13052 * docs/gst/tmpl/gstghostpad.sgml:
13053 * docs/gst/tmpl/gstquery.sgml:
13054 * docs/gst/tmpl/gstutils.sgml:
13055 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
13056 (gst_object_sink_values), (gst_object_get_value_arrays),
13057 (gst_object_get_value_array):
13058 gracefully handle helper method calls to objects that are not beeing
13059 controlled, added test case for that
13061 2005-08-23 Wim Taymans <wim@fluendo.com>
13063 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
13064 (gst_event_new_newsegment), (gst_event_parse_newsegment),
13065 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
13066 (gst_event_parse_qos), (gst_event_new_seek),
13067 (gst_event_parse_seek):
13069 Some more debugging output and doc cleanups.
13071 * gst/gstqueue.c: (gst_queue_handle_sink_event):
13072 Fix possible deadlock.
13074 2005-08-23 Stefan Kost <ensonic@users.sf.net>
13076 * docs/gst/gstreamer-docs.sgml:
13077 * docs/gst/gstreamer-sections.txt:
13078 * docs/gst/gstreamer.types:
13079 * docs/gst/tmpl/.cvsignore:
13082 * gst/gstelement.c:
13084 added 100 symbols from gstreamer-unused.txt to the right sections
13085 fixed more broken comments
13086 added GstBus to docs
13088 2005-08-23 Stefan Kost <ensonic@users.sf.net>
13090 * docs/gst/gstreamer-sections.txt:
13091 * docs/gst/tmpl/.cvsignore:
13092 * docs/gst/tmpl/gstbin.sgml:
13093 * docs/gst/tmpl/gstbuffer.sgml:
13094 * gst/base/gstbasesrc.c:
13095 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
13098 * tools/gst-launch.1.in:
13099 inlined more doc comments, added missing comments and fixed comments
13102 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
13104 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13108 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
13110 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
13111 * gst/gststructure.h:
13112 add a fixate function for booleans; add a FIXME that these func
13113 names should probably be gst_structure_fixate_*
13115 2005-08-23 Stefan Kost <ensonic@users.sf.net>
13117 * docs/gst/gstreamer-docs.sgml:
13118 * docs/gst/gstreamer-sections.txt:
13120 * gst/gstbin.c: (gst_bin_get_type),
13121 (gst_bin_child_proxy_get_child_by_index),
13122 (gst_bin_child_proxy_get_children_count),
13123 (gst_bin_child_proxy_init):
13124 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
13125 (gst_child_proxy_get_child_by_index),
13126 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
13127 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
13128 (gst_child_proxy_get), (gst_child_proxy_set_property),
13129 (gst_child_proxy_set_valist), (gst_child_proxy_set),
13130 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
13131 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
13132 * gst/gstchildproxy.h:
13133 * gst/parse/grammar.y:
13134 * tools/gst-inspect.c: (print_interfaces),
13135 (print_element_properties_info), (print_element_info):
13136 ported gstchildproxy over from 0.8
13137 ported gst-inspect fixes and enhancements over from 0.8
13139 2005-08-22 Wim Taymans <wim@fluendo.com>
13141 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13142 (gst_base_transform_handle_buffer):
13143 Also call the transform function if we have ANY caps.
13145 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
13148 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
13150 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
13151 Don't pretend to handle seek events if the source is not seekable
13153 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
13155 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13156 Remove extra parameter to debug output
13158 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13159 (gst_base_src_do_seek), (gst_base_src_activate_push):
13160 Fix seek event handling.
13162 * gst/gstpipeline.c: (gst_pipeline_change_state):
13163 * gst/gstqueue.c: (gst_queue_handle_sink_event),
13164 (gst_queue_src_activate_push):
13165 Don't start the src pad task on FLUSH_STOP if the pad
13169 2005-08-22 Wim Taymans <wim@fluendo.com>
13171 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13172 Added check for gst_static_caps_get() refcounting.
13174 2005-08-22 Wim Taymans <wim@fluendo.com>
13176 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
13177 Make _static_caps_get() refcounting sane.
13179 * gst/gstelement.c: (gst_element_set_state):
13180 Add g_return_val_if_fail() to protect against segfaults.
13182 2005-08-22 Stefan Kost <ensonic@users.sf.net>
13184 * docs/gst/tmpl/gstevent.sgml:
13187 inlined remaining docs, added missing doc comments
13189 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
13191 * check/gst/gstbin.c: (GST_START_TEST):
13192 since we don't know when preroll is done, use refcount range
13194 * gst/check/gstcheck.h:
13195 add macro for checking refcount range
13197 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
13199 * check/Makefile.am:
13200 clean up environment for when registry gets built versus
13201 when actual tests are run; valgrind seems to not report
13202 leaks if GST_PLUGIN_PATH is set to some specific values
13203 * check/gst/gstbin.c: (GST_START_TEST):
13204 add more refcounting checks; maybe this exposes a
13206 * common/check.mak:
13207 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13208 * gst/check/gstcheck.h:
13209 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
13210 (gst_bin_change_state):
13211 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
13212 add/fix debugging/whitespace
13214 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
13216 * check/gst/gstevent.c: (event_probe), (test_event),
13218 Er, don't call gst_bin_watch_for_state_change you idiot.
13220 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
13222 * check/Makefile.am:
13223 Use CHECK_CFLAGS and CHECK_LIBS
13224 * check/gst/gstevent.c: (event_probe), (test_event),
13227 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13228 (gst_base_src_start), (gst_base_src_stop),
13229 (gst_base_src_activate_push), (gst_base_src_activate_pull),
13230 (gst_base_src_change_state):
13231 Sprinkle gst_base_src_stop liberally around error paths to fix
13232 problems reusing a source after failed state changes.
13233 * gst/base/gsttypefindhelper.c: (helper_find_peek),
13234 (helper_find_suggest), (gst_type_find_helper):
13235 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
13237 * docs/gst/tmpl/gstevent.sgml:
13238 Migrate part of the docs from the SGML file. Wait for ensonic to
13239 tell me how I did it wrong ;)
13240 * tools/gst-typefind.c: (main):
13241 Extra robustness to state changes between files.
13243 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
13245 * check/Makefile.am:
13246 don't valgrind the controller test - it's leaking - Stefan, HELP
13247 * gst/check/gstcheck.c: (gst_check_message_error),
13248 (gst_check_chain_func), (gst_check_setup_element),
13249 (gst_check_teardown_element), (gst_check_setup_src_pad),
13250 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
13251 (gst_check_teardown_sink_pad):
13252 * gst/check/gstcheck.h:
13253 add a bunch of methods to set up elements, and src and sink pads
13254 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
13255 * check/elements/identity.c: (setup_identity), (cleanup_identity),
13258 * gst/gstmessage.c:
13260 whitespace/doc fixes
13262 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
13264 * gst/gstelement.h:
13265 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
13266 be handled by the application and not always printed as well
13268 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
13270 * check/Makefile.am:
13272 * gst/check/gstcheck.c: (gst_check_message_error):
13273 * gst/check/gstcheck.h:
13274 add a fail_unless_equals_int
13275 add fail_unless for error messages
13277 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
13279 * check/Makefile.am:
13281 * common/Makefile.am:
13282 * common/check.mak:
13284 factor out some of the common stuff so we can use it
13286 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
13288 * check/Makefile.am:
13289 * check/gst/gstiterator.c: (GST_START_TEST):
13290 * check/gst/gstsystemclock.c: (GST_START_TEST),
13291 (gst_systemclock_suite):
13292 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
13294 valgrind more tests
13296 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
13298 * check/elements/.cvsignore:
13299 * check/elements/gstfakesrc.c:
13300 rename to name of element
13301 * check/elements/identity.c: (chain_func), (event_func),
13302 (setup_identity), (cleanup_identity), (GST_START_TEST),
13303 (identity_suite), (main):
13304 add a test for identity
13305 * check/Makefile.am:
13306 * pkgconfig/Makefile.am:
13307 * pkgconfig/gstreamer-check.pc.in:
13308 * pkgconfig/gstreamer-check-uninstalled.pc.in:
13312 move the check stuff to a library that gets installed
13313 * check/gst-libs/controller.c: (GST_START_TEST):
13314 * check/gst-libs/gdp.c:
13315 * check/gst/gst.c: (GST_START_TEST):
13316 * check/gst/gstbin.c:
13317 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13318 * check/gst/gstbus.c:
13319 * check/gst/gstcaps.c: (GST_START_TEST):
13320 * check/gst/gstelement.c:
13321 * check/gst/gstghostpad.c:
13322 * check/gst/gstiterator.c:
13323 * check/gst/gstmessage.c:
13324 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
13325 * check/gst/gstobject.c:
13326 * check/gst/gstpad.c: (GST_START_TEST):
13327 * check/gst/gststructure.c: (GST_START_TEST):
13328 * check/gst/gstsystemclock.c: (GST_START_TEST),
13329 (gst_systemclock_suite):
13330 * check/gst/gsttag.c: (gst_tag_suite):
13331 * check/gst/gstvalue.c:
13332 * check/pipelines/cleanup.c:
13333 * check/pipelines/simple_launch_lines.c:
13334 * check/states/sinks.c:
13335 change include statement
13337 * docs/gst/gstreamer-sections.txt:
13338 * docs/gst/tmpl/gstpad.sgml:
13339 document more pad stuff
13340 * gst/gstminiobject.c: (gst_mini_object_ref),
13341 (gst_mini_object_unref):
13344 2005-08-19 Stefan Kost <ensonic@users.sf.net>
13346 * docs/gst/tmpl/gst.sgml:
13348 eliminate another tmpl file, fix spelling in the long-description
13350 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
13352 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13353 (test_event), (timediff), (gstevents_suite):
13354 Should fix build on 64-bit arch's
13356 2005-08-18 Andy Wingo <wingo@pobox.com>
13358 Make sure that when a pipeline goes to PLAYING, that data has
13359 actually hit the sink.
13361 * check/states/sinks.c (test_sink): A sink that doesn't get any
13362 data shouldn't return SUCCESS for going to either PLAYING or
13363 PAUSED. Test also the return values on the way back down.
13365 * gst/gstelement.c (gst_element_set_state): When changing the
13366 state of an element currently changing state asynchronously, go to
13367 lost-state after commiting the pending state. Makes future calls
13368 to get_state continue to return ASYNC.
13370 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
13371 ASYNC when going to PLAYING if we still don't have preroll, as can
13372 happen with live sources.
13374 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
13376 * docs/pwg/advanced-types.xml:
13377 Hack long paragraph into 2 chunks as a workaround for buggy
13378 jadetex version in sid and breezy that loops infinitely and
13381 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
13383 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13384 (test_event), (timediff), (gstevents_suite):
13385 Provide more error margin in clock measurements to allow for
13386 g_get_current_time inaccuracies.
13388 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
13390 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13391 (test_event), (timediff), (gstevents_suite):
13392 Fix error message output so I might be able to tell why the
13393 test works here but fails on the build farm.
13395 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
13397 * check/Makefile.am:
13398 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13399 (test_event), (timediff), (gstevents_suite), (main):
13402 * docs/design/part-seeking.txt:
13403 Spelling correction
13405 * docs/gst/tmpl/gstevent.sgml:
13406 * docs/gst/tmpl/gstfakesrc.sgml:
13409 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13410 Treat a buffer-without-newsegment the same as a receiving
13411 a newsegment not in time format, and disable syncing to the clock
13414 * gst/gstbus.c: (gst_bus_set_sync_handler):
13415 Assert if anyone tries to replace the existing sync_handler for bus,
13416 as only the owner should be setting it.
13419 Have a fixed set of custom event enums with events identified by
13420 their structure name (as in 0.8), rather than a free-for-all
13421 allowing collisions between enum values from different plugins.
13423 * gst/gstpad.c: (gst_pad_class_init):
13426 * gst/gstqueue.c: (gst_queue_handle_sink_event):
13427 Handle out-of-band downstream events from the sending thread.
13429 2005-08-17 Andy Wingo <wingo@pobox.com>
13431 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
13432 play-timeout==0 to mean no timeout at all. In that case, don't
13433 bother with a get_state or a warning, just return directly, even
13436 * gst/base/gstbasetransform.c: Debug changes.
13439 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
13440 ensure bins post state change messages. A bit of a hack but I can't
13441 think of a way to avoid it.
13443 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
13445 2005-08-16 Andy Wingo <wingo@pobox.com>
13447 * gst/base/gstadapter.h:
13448 * gst/base/gstadapter.c (gst_adapter_take): New function, like
13449 peek() but you own the data. Not terribly efficient atm.
13451 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13453 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
13454 (gst_element_found_tags):
13456 Add two utility functions for tag handling.
13458 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13460 * docs/manual/advanced-dataaccess.xml:
13461 * docs/manual/basics-helloworld.xml:
13462 Fix docs to use _bin_add() before _link(), which fixes the examples
13463 with recent core versions (reported by Madhan Raj M
13464 <raj_madan@rediffmail.com>, #313199).
13466 2005-08-16 Wim Taymans <wim@fluendo.com>
13468 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13469 Added subtract checks.
13471 * docs/design/part-events.txt:
13472 Some more docs about newsegment
13474 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
13477 * gst/gstcaps.c: (gst_caps_to_string):
13478 Add comments, cleanups.
13480 * gst/gstelement.c: (gst_element_save_thyself):
13483 * gst/gstvalue.c: (gst_value_collect_int_range),
13484 (gst_string_unwrap), (gst_value_union_int_int_range),
13485 (gst_value_union_int_range_int_range),
13486 (gst_value_intersect_int_int_range),
13487 (gst_value_intersect_int_range_int_range),
13488 (gst_value_intersect_double_double_range),
13489 (gst_value_intersect_double_range_double_range),
13490 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
13491 (gst_value_subtract_int_range_int),
13492 (gst_value_subtract_double_range_double),
13493 (gst_value_subtract_double_range_double_range),
13494 (gst_value_subtract_from_list), (gst_value_subtract_list),
13495 (gst_value_can_compare), (gst_value_compare_fraction):
13496 Cleanups, add comments, remove unneeded asserts.
13498 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
13500 * tools/gst-launch.c: (event_loop):
13501 don't convert NULL structures to strings
13503 2005-08-15 Stefan Kost <ensonic@users.sf.net>
13505 * docs/gst/gstreamer-sections.txt:
13506 made some defines private
13507 * docs/gst/tmpl/gstconfig.sgml:
13508 * docs/gst/tmpl/gstqueue.sgml:
13509 * docs/gst/tmpl/gsttaglist.sgml:
13510 * docs/gst/tmpl/gsttypes.sgml:
13511 * docs/gst/tmpl/gstutils.sgml:
13512 * docs/pwg/appendix-porting.xml:
13513 * gst/base/gstbasesink.h:
13514 * gst/base/gstbasesrc.c:
13515 * gst/base/gstbasesrc.h:
13516 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
13517 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
13518 * gst/gstelement.c: (gst_element_class_init):
13519 * gst/gstpad.c: (gst_pad_class_init):
13520 * gst/gstqueue.c: (gst_queue_class_init):
13521 * gst/gstxml.c: (gst_xml_class_init):
13522 documented all undocumented signal inline
13523 * libs/gst/controller/gst-controller.h:
13526 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13528 * docs/pwg/appendix-porting.xml:
13529 Document _set_link_function -> _set_setcaps_function.
13531 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
13533 * check/Makefile.am:
13534 add a .check target for running the check
13535 * check/gst-libs/controller.c: (GST_START_TEST):
13537 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13538 complete checks for gstbuffer; would be nice if I could get the
13539 gcov stuff to work so I can see if I actually completed gstbuffer.c
13540 * check/gstcheck.h:
13541 add ASSERT_BUFFER_REFCOUNT
13543 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
13545 * docs/gst/gstreamer-sections.txt:
13546 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
13548 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
13549 spew out a warning if a tag that is already registered
13550 is re-registered, unless it is re-registered with a
13551 different type (#308438).
13553 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
13555 * docs/pwg/appendix-porting.xml:
13556 * docs/pwg/building-state.xml:
13557 Add some paragraphs about state changes in 0.9 to the PWG
13558 and the porting guide, in particular about the new meaning
13559 of GST_STATE_PAUSED and how to write state change functions
13560 with concurrent access by multiple threads in mind.
13562 2005-08-11 Stefan Kost <ensonic@users.sf.net>
13564 * docs/gst/gstreamer-docs.sgml:
13565 * docs/libs/gstreamer-libs-docs.sgml:
13566 added deprecation and since indexes
13567 * libs/gst/controller/gst-controller.c:
13568 * libs/gst/controller/gst-helper.c:
13572 2005-08-11 Wim Taymans <wim@fluendo.com>
13574 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
13575 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
13576 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
13577 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
13578 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
13579 (gst_ghost_pad_set_target):
13580 Actually implement (re)setting the target on a ghostpad
13581 as described in the docs.
13583 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
13585 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
13586 Check whether GST_DEBUG_NO_COLOR environment variable is
13587 set and disable coloured debug output if that is the case.
13589 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
13591 * gst/base/gsttypefindhelper.c: (helper_find_peek),
13592 (gst_type_find_helper):
13593 The memory returned by gst_type_find_peek() needs to
13594 stay valid until the end of a typefind function, and
13595 typefind functions may keep results from different
13596 offsets around, so we can't just unref the buffer from
13597 the previous _peek(), but have to save all buffers
13598 returned by _peek() until typefinding is done and only
13601 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
13603 * docs/gst/gstreamer-sections.txt:
13605 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
13607 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13609 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13610 Fix a pretty good memleak.
13612 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
13614 * gst/gstiterator.h:
13615 Fix wrong include and 'make distcheck'.
13617 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13619 * gst/gstbin.c: (bin_bus_handler):
13620 Use gst_element_post_message() instead.
13622 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
13624 * gst/base/gstadapter.h:
13625 * gst/base/gstbasesink.h:
13626 * gst/base/gstbasesrc.h:
13627 * gst/base/gstbasetransform.h:
13628 * gst/base/gstcollectpads.h:
13629 * gst/base/gstpushsrc.h:
13630 * gst/gstiterator.h:
13631 Add padding to our base elements' class and instance structs and
13632 to GstIterator (you will need to rebuild all plugins and apps!)
13634 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13636 * gst/gstbin.c: (bin_bus_handler):
13637 Make default message forwarding from child->bus to bin->bus
13638 threadsafe and make it not emit warnings if the parent has no bus.
13640 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13642 * gst/gstelement.c: (activate_pads):
13643 On paused->ready, set pad->caps to NULL, as is the documented
13644 behaviour in this state change. Fixes playback of series of
13645 media files when visualization is enabled in Totem.
13647 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13649 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
13650 Allow NULL as filter-caps (which means "any").
13652 2005-08-05 Stefan Kost <ensonic@users.sf.net>
13654 * docs/libs/gstreamer-libs-sections.txt:
13655 * libs/gst/controller/gst-controller.c:
13656 * libs/gst/controller/gst-controller.h:
13657 * libs/gst/controller/gst-helper.c:
13658 adding more entries to the docs and fix small doc-bugs
13660 2005-08-05 Stefan Kost <ensonic@users.sf.net>
13662 * docs/gst/gstreamer-docs.sgml:
13663 * docs/gst/gstreamer-sections.txt:
13664 * docs/gst/gstreamer.types:
13665 * docs/gst/tmpl/gstbasesink.sgml:
13666 * docs/gst/tmpl/gstbasesrc.sgml:
13667 * docs/gst/tmpl/gstbasetransform.sgml:
13668 * docs/gst/tmpl/gstfakesrc.sgml:
13669 * gst/base/gstcollectpads.c:
13670 * gst/base/gstcollectpads.h:
13671 * libs/gst/controller/gst-controller.c:
13672 * libs/gst/controller/gst-controller.h:
13673 * libs/gst/controller/gst-helper.c:
13674 * libs/gst/controller/gst-interpolation.c:
13675 * libs/gst/controller/lib.c:
13676 added long/short desc for controller docs
13677 added collectpads base class docs
13678 added correct includes to base-class docs
13680 2005-08-05 Stefan Kost <ensonic@users.sf.net>
13682 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13683 (gst_test_mono_source_set_property),
13684 (gst_test_mono_source_class_init), (GST_START_TEST),
13685 (gst_controller_suite):
13686 * docs/gst/gstreamer-docs.sgml:
13687 * docs/gst/gstreamer-sections.txt:
13688 * docs/gst/gstreamer.types:
13689 * docs/libs/gstreamer-libs-docs.sgml:
13690 * docs/libs/gstreamer-libs-sections.txt:
13691 * gst/base/gstadapter.c:
13692 * libs/gst/controller/gst-controller.c:
13693 (gst_controlled_property_new), (gst_controlled_property_free),
13694 (gst_controller_new_valist),
13695 (gst_controller_remove_properties_valist),
13696 (gst_controller_sink_values), (_gst_controller_finalize):
13697 * libs/gst/controller/gst-controller.h:
13698 * libs/gst/controller/gst-helper.c:
13699 (gst_object_control_properties), (gst_object_uncontrol_properties),
13700 (gst_object_get_controller), (gst_object_set_controller),
13701 (gst_object_sink_values), (gst_object_get_value_arrays),
13702 (gst_object_get_value_array):
13703 more tests (and fixes) for the controller
13704 more docs for the controller
13705 integrated companies docs for the adapter
13707 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
13709 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
13710 (GST_START_TEST), (fakesrc_suite):
13711 add tests for sizetype
13713 2005-08-04 Andy Wingo <wingo@pobox.com>
13715 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
13716 fixes buffer_alloc proxying among other things.
13718 * gst/base/gstbasetransform.c:
13719 * gst/base/gstbasetransform.h:
13720 Revert patch to gstbasetransform from 7-28 removing
13723 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
13724 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
13725 Semantics changed, should return not the size of the output buffer
13726 but the byte size of a buffer with a given caps.
13728 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
13730 (gst_base_transform_configure_caps): Don't set out_size here: (in,
13731 out) are not the pad caps until setcaps finishes.
13732 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
13733 not-in-place case as well. Deal with changing from in-place to
13734 not-in-place within calling pad_alloc_buffer. Still a bit
13735 concerned about the overhead here...
13737 2005-08-03 Andy Wingo <wingo@pobox.com>
13739 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
13740 fixating is an error.
13742 2005-08-04 Edward Hervey <edward@fluendo.com>
13744 * gst/base/gstadapter.h:
13745 Added gst_adapter_get_type() to the header
13747 2005-08-03 Stefan Kost <ensonic@users.sf.net>
13749 * check/Makefile.am:
13750 * check/gst-libs/controller.c:
13751 * libs/gst/controller/gst-controller.c:
13752 (gst_controller_new_valist):
13753 added check test suite for the controller
13754 * gst/base/gstpushsrc.c:
13757 2005-08-03 Stefan Kost <ensonic@users.sf.net>
13759 * docs/gst/Makefile.am:
13760 * docs/gst/gstreamer-docs.sgml:
13761 * docs/gst/gstreamer-sections.txt:
13762 * docs/gst/gstreamer.types:
13763 * docs/gst/tmpl/gstfakesrc.sgml:
13765 * gst/base/gstbasesink.c:
13766 * gst/base/gstbasesink.h:
13767 * gst/base/gstbasesrc.c:
13768 * gst/base/gstbasesrc.h:
13769 * gst/base/gstbasetransform.c:
13770 * gst/base/gstpushsrc.c:
13771 * gst/base/gstpushsrc.h:
13772 add short/long description docs to base classes
13773 add pushsrc to the docs
13774 remove consolidated doc fragments
13776 2005-08-03 Stefan Kost <ensonic@users.sf.net>
13779 * docs/libs/Makefile.am:
13780 * docs/libs/gstreamer-libs-docs.sgml:
13781 * docs/libs/gstreamer-libs-sections.txt:
13782 * docs/libs/gstreamer-libs.types:
13783 * examples/Makefile.am:
13784 * examples/controller/.cvsignore:
13785 * examples/controller/Makefile.am:
13786 * examples/controller/audio-example.c: (main):
13787 * libs/gst/Makefile.am:
13788 * libs/gst/controller/.cvsignore:
13789 * libs/gst/controller/Makefile.am:
13790 * libs/gst/controller/gst-controller.c:
13791 (on_object_controlled_property_changed), (gst_timed_value_compare),
13792 (gst_timed_value_find),
13793 (gst_controlled_property_set_interpolation_mode),
13794 (gst_controlled_property_new), (gst_controlled_property_free),
13795 (gst_controller_find_controlled_property),
13796 (gst_controller_new_valist), (gst_controller_new),
13797 (gst_controller_remove_properties_valist),
13798 (gst_controller_remove_properties), (gst_controller_set),
13799 (gst_controller_set_from_list), (gst_controller_unset),
13800 (gst_controller_get), (gst_controller_get_all),
13801 (gst_controller_sink_values), (gst_controller_get_value_arrays),
13802 (gst_controller_get_value_array),
13803 (gst_controller_set_interpolation_mode),
13804 (_gst_controller_finalize), (_gst_controller_init),
13805 (_gst_controller_class_init), (gst_controller_get_type):
13806 * libs/gst/controller/gst-controller.h:
13807 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
13808 (g_object_uncontrol_properties), (g_object_get_controller),
13809 (g_object_set_controller), (g_object_sink_values),
13810 (g_object_get_value_arrays), (g_object_get_value_array):
13811 * libs/gst/controller/gst-interpolation.c:
13812 (gst_controlled_property_find_timed_value_node),
13813 (interpolate_none_get), (interpolate_trigger_get),
13814 (interpolate_trigger_get_value_array):
13815 * libs/gst/controller/lib.c: (gst_controller_init):
13816 * pkgconfig/Makefile.am:
13817 * pkgconfig/gstreamer-control-uninstalled.pc.in:
13818 * pkgconfig/gstreamer-control.pc.in:
13819 * testsuite/Makefile.am:
13820 * testsuite/controller/.cvsignore:
13821 * testsuite/controller/Makefile.am:
13822 * testsuite/controller/interpolator.c: (main):
13823 added controller code
13824 removed dparam pc files
13826 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
13827 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
13828 (gst_collectpads_stop):
13829 Broadcast the condition when shutting down, to make sure we wake all
13830 threads up. Shut down pads on finalize, for safety.
13832 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
13833 * gst/base/gstbasetransform.c: (gst_base_transform_init),
13834 (gst_base_transform_handle_buffer),
13835 (gst_base_transform_change_state):
13836 Handle PAUSED->READY->PAUSED transition after negotiation
13838 * gst/gstmessage.c: (gst_message_init):
13839 Extra piece of debug for new messages.
13841 2005-08-01 Stefan Kost <ensonic@users.sf.net>
13844 * docs/gst/tmpl/gstbasesrc.sgml:
13845 * docs/gst/tmpl/gstelement.sgml:
13846 * docs/gst/tmpl/gstevent.sgml:
13847 * docs/gst/tmpl/gstfakesrc.sgml:
13848 * docs/gst/tmpl/gstformat.sgml:
13849 * docs/gst/tmpl/gstghostpad.sgml:
13850 * docs/gst/tmpl/gstpad.sgml:
13851 * docs/gst/tmpl/gstquery.sgml:
13852 * docs/gst/tmpl/gststructure.sgml:
13853 * docs/gst/tmpl/gsttaglist.sgml:
13854 * docs/gst/tmpl/gstvalue.sgml:
13855 * docs/libs/gstreamer-libs-docs.sgml:
13856 * docs/libs/gstreamer-libs-sections.txt:
13857 * docs/libs/gstreamer-libs.types:
13858 * libs/gst/Makefile.am:
13859 * libs/gst/control/.cvsignore:
13860 * libs/gst/control/Makefile.am:
13861 * libs/gst/control/control.c:
13862 * libs/gst/control/control.h:
13863 * libs/gst/control/dparam.c:
13864 * libs/gst/control/dparam.h:
13865 * libs/gst/control/dparam_smooth.c:
13866 * libs/gst/control/dparam_smooth.h:
13867 * libs/gst/control/dparamcommon.h:
13868 * libs/gst/control/dparammanager.c:
13869 * libs/gst/control/dparammanager.h:
13870 * libs/gst/control/dplinearinterp.c:
13871 * libs/gst/control/dplinearinterp.h:
13872 * libs/gst/control/unitconvert.c:
13873 * libs/gst/control/unitconvert.h:
13874 * testsuite/Makefile.am:
13875 * testsuite/dynparams/.cvsignore:
13876 * testsuite/dynparams/Makefile.am:
13877 * testsuite/dynparams/dparamstest.c:
13878 * tools/Makefile.am:
13879 * tools/gst-inspect.c: (print_element_info), (main):
13880 * tools/gst-xmlinspect.c: (print_element_info), (main):
13881 deactivate and remove dparams (libgstcontrol)
13883 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
13885 * gst/elements/gsttypefindelement.c:
13886 (gst_type_find_element_have_type), (gst_type_find_element_init),
13887 (stop_typefinding), (gst_type_find_element_handle_event),
13888 (gst_type_find_element_chain), (gst_type_find_element_getrange):
13889 * gst/elements/gsttypefindelement.h:
13890 Set caps on all outgoing buffers, not just the first one.
13892 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
13894 * gst/elements/gsttypefindelement.c:
13895 (gst_type_find_element_have_type),
13896 (gst_type_find_element_check_set_buffer_caps),
13897 (gst_type_find_element_init), (stop_typefinding),
13898 (gst_type_find_element_handle_event),
13899 (gst_type_find_element_chain), (gst_type_find_element_getrange):
13900 * gst/elements/gsttypefindelement.h:
13901 Set caps on first outgoing buffer when we've found the type.
13903 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
13905 * docs/gst/gstreamer-docs.sgml:
13906 * docs/gst/gstreamer-sections.txt:
13907 * docs/gst/tmpl/gstscheduler.sgml:
13908 * docs/gst/tmpl/gstschedulerfactory.sgml:
13909 Remove some old cruft from docs.
13911 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
13914 Fix inline docs for GstPadLinkReturn.
13916 * gst/gststructure.c: (gst_structure_has_name):
13917 * gst/gststructure.h:
13918 * docs/gst/gstreamer-sections.txt:
13919 New API: gst_structure_has_name().
13921 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
13924 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
13925 and _LARGEFILE_SOURCE in config.h as required. Do not
13926 export those flags in our .pc files any longer (#142209).
13928 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
13930 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
13931 (gst_file_sink_do_seek), (gst_file_sink_event),
13932 (gst_file_sink_get_current_offset), (gst_file_sink_render):
13933 Redo seek/tell calls with large file support in mind; add some
13934 debugging messages; add log message that tells us when large
13935 file support is unavailable or not enabled for some reason.
13937 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
13938 Add log message that tells us when large file support
13939 is unavailable or not enabled for some reason.
13941 2005-07-29 Wim Taymans <wim@fluendo.com>
13943 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13944 Added test for removing an element with ghostpad from a bin.
13945 Fixed test as current implementation does the right thing.
13947 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
13948 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
13949 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
13950 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
13951 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
13952 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13953 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13954 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13955 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
13956 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
13957 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
13958 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
13959 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13960 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
13961 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
13962 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
13963 * gst/gstghostpad.h:
13964 Clean up ghostpads, remove properties for internal stuff.
13967 Prepare for switching targets, not all use cases work yet.
13969 2005-07-29 Wim Taymans <wim@fluendo.com>
13971 * docs/design/part-gstghostpad.txt:
13974 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13975 (gst_bin_remove_func):
13976 Unlinking pads while holding the bin LOCK is not a good
13979 * gst/gstpad.c: (gst_pad_class_init),
13980 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
13981 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
13982 No prob setting template after creating the pad.
13984 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
13986 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
13987 (gst_bus_peek), (gst_bus_source_dispatch),
13988 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
13989 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
13990 gst_bus_poll may be called from other threads. Handle
13991 this nicely by not making poll_data disappear off the
13992 stack once gst_bus_poll returns.
13993 gst_bus_peek now increments the refcount on the returned
13996 2005-07-29 Wim Taymans <wim@fluendo.com>
13998 * docs/design/part-gstghostpad.txt:
13999 Overview of current GhostPad datastructures and use
14000 cases for changing the target.
14002 2005-07-28 Wim Taymans <wim@fluendo.com>
14004 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14005 Added checks for hierarchy consistency whan adding linked
14008 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14009 Added check to test element scheduling without bin/pipeline.
14011 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14012 First add elements to bin, then link.
14014 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
14015 (gst_bin_remove_func):
14016 Unlink pads from elements added/removed from bin to maintain
14017 hierarchy consistency.
14019 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14021 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14022 (gst_base_transform_handle_buffer):
14023 * gst/base/gstbasetransform.h:
14024 Remove broken delay_configure (fixes renegotiation of software
14025 scaling pipelines); remove some leftover printf()s.
14027 2005-07-28 Wim Taymans <wim@fluendo.com>
14029 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14030 Added some more tests for wrong hierarchy
14032 * docs/design/part-overview.txt:
14035 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
14038 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
14039 (gst_element_dispose):
14040 Some more cleanups.
14042 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14043 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
14044 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14045 (gst_pad_set_caps), (gst_pad_send_event):
14046 Check for correct hierarchy when linking pads. Moving to
14047 strict requirement for ghostpads when linking elements in
14051 Clean ups. Added WRONG_HIERARCHY return value.
14053 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14055 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
14056 Better debug if no transform is possible.
14058 2005-07-27 Wim Taymans <wim@fluendo.com>
14060 * docs/random/wtay/network-transp:
14061 Some old doc I had.
14063 2005-07-27 Wim Taymans <wim@fluendo.com>
14065 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14066 (gst_dp_event_from_packet):
14067 Fix serialization of seek events.
14069 2005-07-27 Wim Taymans <wim@fluendo.com>
14071 * check/gst-libs/gdp.c: (GST_START_TEST):
14072 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14073 Fix compilation and fix event serialization.
14075 2005-07-27 Wim Taymans <wim@fluendo.com>
14078 * docs/design/part-TODO.txt:
14079 * docs/design/part-events.txt:
14082 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14083 (gst_base_sink_event), (gst_base_sink_do_sync),
14084 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
14085 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14086 (gst_base_src_do_seek), (gst_base_src_event_handler),
14087 (gst_base_src_loop):
14088 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14089 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14090 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14091 (gst_base_transform_event), (gst_base_transform_handle_buffer),
14092 (gst_base_transform_set_passthrough),
14093 (gst_base_transform_is_passthrough):
14094 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14095 * gst/elements/gstfilesink.c: (gst_file_sink_event):
14101 * gst/gstelement.c: (gst_element_seek):
14102 * gst/gstelement.h:
14103 Update gst_element_seek.
14105 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
14106 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
14107 (gst_event_new_flush_start), (gst_event_new_flush_stop),
14108 (gst_event_new_eos), (gst_event_new_newsegment),
14109 (gst_event_parse_newsegment), (gst_event_new_tag),
14110 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
14111 (gst_event_parse_qos), (gst_event_new_seek),
14112 (gst_event_parse_seek), (gst_event_new_navigation):
14114 Make GstEvent use GstStructure. Add parsing code, make sure the
14115 API is sufficiently generic.
14116 Mark possible directions of events and serialization.
14118 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
14119 (_gst_message_copy), (gst_message_new_segment_start),
14120 (gst_message_new_segment_done), (gst_message_new_custom),
14121 (gst_message_parse_segment_start),
14122 (gst_message_parse_segment_done):
14125 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14126 (gst_pad_set_caps), (gst_pad_send_event):
14127 Update for new events.
14128 Catch events sent in wrong directions.
14130 * gst/gstqueue.c: (gst_queue_link_src),
14131 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
14132 (gst_queue_handle_src_query):
14137 Remove event code from this file.
14139 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14140 (gst_dp_event_from_packet):
14143 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14145 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
14146 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14147 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
14148 Make debugging actually useful.
14150 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14152 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
14153 (gst_pad_fixate_caps):
14154 Implement default fixation once again, so that gst_pad_fixate()
14155 actually does anything at all. This probably needs to be some
14156 sort of a last resort, and use profile-based fixation first, but
14157 since that doesn't exist yet, this is the best we have. Fixes
14158 visualization in Totem.
14160 2005-07-22 Wim Taymans <wim@fluendo.com>
14162 * docs/design/part-events.txt:
14165 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14166 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
14167 (gst_base_sink_activate_pull):
14168 Some more comments.
14170 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
14171 (gst_fake_src_create):
14172 Fix handoff marshall.
14174 * gst/elements/gstidentity.c: (gst_identity_class_init),
14175 (gst_identity_transform_ip):
14176 We're a real inplace element.
14178 * gst/gstbus.c: (gst_bus_post):
14179 Added some comments.
14181 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
14182 * tests/muxing/case1.c: (main):
14183 * tests/sched/dynamic-pipeline.c: (main):
14184 * tests/sched/interrupt1.c: (main):
14185 * tests/sched/interrupt2.c: (main):
14186 * tests/sched/interrupt3.c: (main):
14187 * tests/sched/runxml.c: (main):
14188 * tests/sched/sched-stress.c: (main):
14189 * tests/seeking/seeking1.c: (event_received), (main):
14190 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
14192 * tests/threadstate/threadstate3.c: (main):
14193 * tests/threadstate/threadstate4.c: (main):
14194 * tests/threadstate/threadstate5.c: (main):
14197 2005-07-21 Wim Taymans <wim@fluendo.com>
14199 * docs/design/part-seeking.txt:
14200 Some small additions.
14202 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14203 (gst_base_sink_get_times), (gst_base_sink_do_sync),
14204 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
14205 * gst/base/gstbasesink.h:
14206 discont values are gint64, handle the math correctly.
14208 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14209 Make the basesrc report error if the source pad is not linked.
14211 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
14212 (gst_queue_loop), (gst_queue_handle_src_query),
14213 (gst_queue_src_activate_push):
14214 Make queue collect data even if the srcpad is not linked.
14215 Start pushing out data as soon as it is linked.
14217 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
14219 Added gst_flow_get_name() to ease error reporting.
14221 2005-07-20 Wim Taymans <wim@fluendo.com>
14223 * gst/gstmessage.c: (gst_message_new_segment_start),
14224 (gst_message_new_segment_done), (gst_message_parse_segment_start),
14225 (gst_message_parse_segment_done):
14226 * gst/gstmessage.h:
14227 Added a bunch of messages for advanced seeking.
14229 * gst/parse/grammar.y:
14230 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
14231 (gst_dpman_state_changed):
14232 Fix some new-pad -> pad-added signals
14234 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14236 * docs/manual/appendix-porting.xml:
14237 * docs/pwg/appendix-porting.xml:
14238 Document new-pad/state-change signal renames and the FixedList
14241 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14243 * docs/manual/advanced-autoplugging.xml:
14244 * docs/manual/basics-helloworld.xml:
14245 * docs/manual/basics-pads.xml:
14246 * docs/random/ds/0.9-suggested-changes:
14247 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
14248 * gst/gstelement.h:
14252 * gst/gststructure.c: (gst_structure_value_get_generic_type),
14253 (gst_structure_parse_array), (gst_structure_parse_value):
14254 * gst/gstvalue.c: (gst_type_is_fixed),
14255 (gst_value_list_prepend_value), (gst_value_list_append_value),
14256 (gst_value_list_get_size), (gst_value_list_get_value),
14257 (gst_value_transform_array_string), (gst_value_serialize_array),
14258 (gst_value_deserialize_array), (gst_value_intersect_array),
14259 (gst_value_is_fixed), (_gst_value_initialize):
14261 GstElement::new-pad -> pad-added, GstElement::state-change ->
14262 state-changed, GstValueFixedList -> GstValueArray, add format and
14263 flags as their own arguments in gst_element_seek() (should improve
14264 "bindeability"), remove function generators since they don't work
14265 under a whole bunch of compilers (they were deprecated already
14268 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14270 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
14271 (_gst_debug_register_funcptr):
14273 Fix illegal cast on some platforms (#309253).
14275 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14277 * gst/gstmessage.c: (gst_message_new_custom):
14278 * gst/gstmessage.h:
14279 Add _new_custom, make _new_application a macro to _new_custom.
14281 2005-07-20 Wim Taymans <wim@fluendo.com>
14283 * gst/base/gstbasesrc.c: (gst_base_src_init),
14284 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
14285 * gst/base/gstbasesrc.h:
14286 Add a gboolean to decide when to push out a discont.
14288 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14289 (gst_queue_loop), (gst_queue_handle_src_query),
14290 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
14291 (gst_queue_set_property), (gst_queue_get_property):
14294 * tests/threadstate/threadstate1.c: (main):
14295 Make a thread test compile and run... very silly..
14298 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14300 * docs/manual/appendix-porting.xml:
14301 Mention removal of libgstgconf-0.9.la and existence of gconf
14304 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14306 * docs/pwg/advanced-clock.xml:
14307 * docs/pwg/appendix-porting.xml:
14308 * docs/pwg/intro-preface.xml:
14309 * docs/pwg/other-base.xml:
14310 * docs/pwg/other-manager.xml:
14311 * docs/pwg/other-nton.xml:
14312 * docs/pwg/other-ntoone.xml:
14313 * docs/pwg/other-oneton.xml:
14314 * docs/pwg/pwg.xml:
14315 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
14316 demuxer), remove n-to-n (was never written), fix some code examples
14317 and links and update the porting section to include all this.
14319 2005-07-19 Wim Taymans <wim@fluendo.com>
14321 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
14322 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
14323 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
14324 (gst_queue_src_activate_push), (gst_queue_change_state),
14325 (gst_queue_get_property):
14327 Propagate GstFlowReturn more intelligently upstream and output
14328 an ERROR/EOS when streaming stopped due to fatal error.
14330 2005-07-19 Wim Taymans <wim@fluendo.com>
14332 * tools/gst-launch.c: (check_intr), (event_loop), (main):
14333 Don't block forever for the state change to complete, the
14334 pipeline already did with a sensible timeout.
14336 2005-07-19 Wim Taymans <wim@fluendo.com>
14338 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14339 Make sure we never call the create function is we
14342 2005-07-19 Andy Wingo <wingo@pobox.com>
14344 * gst/parse/parse.l: Attempt to solve bug #172815.
14346 2005-07-19 Wim Taymans <wim@fluendo.com>
14348 * docs/design/part-clocks.txt:
14349 * docs/design/part-events.txt:
14350 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
14351 Small docs updates.
14352 Only update the seeking values when we are not
14355 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
14357 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14358 Oops, ignore the result of gst_pad_push_event here.
14360 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
14362 * gst/base/gstbasesrc.c: (gst_base_src_loop),
14363 (gst_base_src_activate_push):
14364 Send discont event from the loop function, as pads
14365 aren't activated yet in the activate_push handler.
14367 * gst/gstbin.c: (bin_bus_handler):
14368 Don't leak element name.
14370 2005-07-18 Andy Wingo <wingo@pobox.com>
14372 * configure.ac: Use AS_LIBTOOL_TAGS.
14374 2005-07-18 Wim Taymans <wim@fluendo.com>
14376 * docs/gst/gstreamer.types:
14377 Remove deleted types.
14379 2005-07-18 Wim Taymans <wim@fluendo.com>
14381 * check/elements/gstfakesrc.c: (GST_START_TEST):
14384 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
14385 (init_popt_callback):
14387 * gst/gst_private.h:
14388 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
14389 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
14392 * gst/gstconfig.h.in:
14393 * gst/gstelement.c: (gst_element_class_init),
14394 (gst_element_set_base_time), (gst_element_get_base_time),
14395 (iterator_fold_with_resync), (gst_element_change_state),
14396 (gst_element_dispose), (gst_element_get_bus):
14397 * gst/gstelement.h:
14398 * gst/gstelementfactory.h:
14399 * gst/gsterror.c: (_gst_core_errors_init):
14402 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
14404 * gst/gstinfo.c: (_gst_debug_init):
14405 * gst/gstmessage.c: (_gst_message_copy):
14406 * gst/gstmessage.h:
14407 * gst/gstminiobject.h:
14410 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14411 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
14414 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
14415 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
14416 (gst_pipeline_get_last_stream_time):
14417 * gst/gstpipeline.h:
14418 * gst/gstpluginfeature.h:
14420 * gst/gstscheduler.c:
14421 * gst/gstscheduler.h:
14422 * gst/gststructure.h:
14423 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
14424 (gst_task_finalize), (gst_task_func), (gst_task_create),
14425 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
14426 (gst_task_stop), (gst_task_pause):
14428 * gst/gsttypefind.h:
14430 * gst/registries/gstlibxmlregistry.c: (load_feature),
14431 (gst_xml_registry_load), (gst_xml_registry_save_feature):
14432 * gst/registries/gstxmlregistry.c:
14433 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
14434 * gst/schedulers/threadscheduler.c:
14435 * libs/gst/control/dparammanager.h:
14436 * tools/gst-inspect.c: (print_element_list),
14437 (print_plugin_features), (print_element_features):
14438 * tools/gst-xmlinspect.c: (print_element_list),
14439 (print_plugin_info), (main):
14440 Removed plugable schedulers.
14441 Removed Scheduler/Manager from elements.
14442 Removed gsttypes.h, rearranged includes.
14443 Removed dependency pad<->element, element<>pipeline, and
14444 various others, fix includes.
14445 implement gst_pad_get_parent() with gst_object_get_parent()
14446 Make GstTask sefcontained.
14447 Fix _get_state() on GstBin, it did not return ASYNC with a 0
14449 Fix endless loop in iterator_fold_with_resync.
14452 2005-07-18 Wim Taymans <wim@fluendo.com>
14458 2005-07-18 Wim Taymans <wim@fluendo.com>
14461 No more cothreads.h
14463 2005-07-18 Wim Taymans <wim@fluendo.com>
14467 Let's remove these.
14469 2005-07-18 Wim Taymans <wim@fluendo.com>
14471 * docs/design/part-dynamic.txt:
14472 * docs/design/part-events.txt:
14473 * docs/design/part-seeking.txt:
14474 Some more docs in the works.
14476 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14477 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
14478 (gst_base_transform_setcaps), (gst_base_transform_get_size),
14479 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14480 (gst_base_transform_handle_buffer),
14481 (gst_base_transform_sink_activate_push),
14482 (gst_base_transform_src_activate_pull),
14483 (gst_base_transform_set_passthrough),
14484 (gst_base_transform_is_passthrough):
14487 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
14490 * gst/gstevent.c: (gst_event_finalize):
14493 * gst/gstutils.c: (gst_element_unlink),
14494 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
14495 (gst_pad_proxy_setcaps):
14497 Add _get_parent_element() to get a pads parent as an element.
14499 2005-07-18 Wim Taymans <wim@fluendo.com>
14501 * check/gst/gstbin.c: (GST_START_TEST):
14504 2005-07-18 Wim Taymans <wim@fluendo.com>
14506 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
14507 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
14508 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
14509 (gst_base_sink_event), (gst_base_sink_do_sync),
14510 (gst_base_sink_chain), (gst_base_sink_loop),
14511 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
14512 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14514 Fix logic for returning ASYNC when not prerolled.
14516 2005-07-18 Wim Taymans <wim@fluendo.com>
14518 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14519 Fix nasty refcount bug.
14521 2005-07-16 Philippe Khalaf <burger@speedy.org>
14523 * gst/elements/gstfdsrc.c:
14524 * gst/elements/gstfdsrc.h:
14525 * gst/elements/gstelements.c:
14526 * gst/elements/Makefile.am:
14527 Ported fdsrc to 0.9.
14529 2005-07-16 Wim Taymans <wim@fluendo.com>
14531 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14532 (gst_base_sink_do_sync):
14535 2005-07-16 Wim Taymans <wim@fluendo.com>
14537 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14538 (gst_base_sink_event), (gst_base_sink_get_times),
14539 (gst_base_sink_do_sync), (gst_base_sink_change_state):
14540 * gst/base/gstbasesink.h:
14541 Store and use discont values when syncing buffers as described
14544 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14545 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
14546 (gst_base_src_activate_push):
14547 Push discont event when starting.
14549 * gst/elements/gstidentity.c: (gst_identity_transform):
14552 * gst/gstbin.c: (gst_bin_change_state):
14553 Small cleanups in base_time distribution.
14555 * gst/gstelement.c: (gst_element_set_base_time),
14556 (gst_element_get_base_time), (gst_element_change_state):
14557 * gst/gstelement.h:
14558 Added methods for the base_time of the element.
14561 * gst/gstpipeline.c: (gst_pipeline_send_event),
14562 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
14563 (gst_pipeline_get_last_stream_time):
14564 * gst/gstpipeline.h:
14566 Handle seeking as described in design doc, remove stream_time
14568 Cleanups clock and stream_time selection code. Added accessors
14569 for the stream_time.
14572 2005-07-16 Andy Wingo <wingo@pobox.com>
14574 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
14577 2005-07-16 Wim Taymans <wim@fluendo.com>
14579 * check/gst/gstbin.c: (GST_START_TEST):
14580 Make elements silent as the deep_notify refs the
14581 parent, which might make the test fail.
14583 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
14584 Don't hold the lock for too long.
14586 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
14588 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14589 Don't unref the caps we passed to gst_caps_make_writable() after
14590 passing them. gst_caps_make_writable() will do that for us.
14592 2005-07-15 Andy Wingo <wingo@pobox.com>
14594 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
14597 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
14598 own marshalling function for the handoff signal. Properly type the
14599 buffer as a buffer. Fixes some warnings. Should do a more general
14601 (gst_identity_class_init): Plug into the right marshaller.
14603 2005-07-15 Wim Taymans <wim@fluendo.com>
14605 * docs/design/part-TODO.txt:
14606 * docs/design/part-clocks.txt:
14607 * docs/design/part-element-sink.txt:
14608 * docs/design/part-events.txt:
14609 * docs/design/part-gstpipeline.txt:
14610 Updated docs, mostly DISCONT related.
14612 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
14614 * docs/pwg/building-pads.xml:
14615 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
14617 2005-07-15 Andy Wingo <wingo@pobox.com>
14619 * tools/gst-typefind.c: Update, add copyright block.
14621 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
14622 Normalize and truncate caps before fixation.
14625 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
14626 discards all but the first structure from its argument.
14628 2005-07-15 Wim Taymans <wim@fluendo.com>
14630 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14631 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
14632 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14633 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14634 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
14635 (gst_base_transform_chain), (gst_base_transform_change_state),
14636 (gst_base_transform_set_passthrough),
14637 (gst_base_transform_is_passthrough):
14638 * gst/base/gstbasetransform.h:
14639 Make passthrough work using the bufferpools.
14640 Changed API a bit, subclasses have to write into a buffer
14641 provided by the base class.
14642 More debug info in nego functions.
14644 * gst/elements/gstidentity.c: (gst_identity_init),
14645 (gst_identity_transform):
14646 Port to new base class.
14648 2005-07-15 Wim Taymans <wim@fluendo.com>
14650 * gst/gstmessage.c: (gst_message_new_state_changed):
14651 * tools/gst-launch.c: (event_loop), (main):
14652 Totally dump messages in -launch with the -m option.
14653 Fix message name for State messages,
14655 2005-07-14 Wim Taymans <wim@fluendo.com>
14657 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14658 Post error messages on errors.
14660 2005-07-14 Wim Taymans <wim@fluendo.com>
14662 * gst/gstcaps.c: (gst_caps_do_simplify):
14666 Define error for stream stopped.
14668 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14669 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
14670 Do proper return values.
14672 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14673 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
14674 (gst_pad_get_range):
14675 Better return values.
14678 Reorganise return values, add macro to check for fatal errors.
14680 * gst/gstqueue.c: (gst_queue_chain):
14681 Return proper GstFlowReturn values,
14683 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
14685 * docs/gst/gstreamer-sections.txt:
14686 * docs/gst/gstreamer.types:
14687 * docs/gst/tmpl/gst.sgml:
14688 * docs/gst/tmpl/gstbasesink.sgml:
14689 * docs/gst/tmpl/gstbasesrc.sgml:
14690 * docs/gst/tmpl/gstbasetransform.sgml:
14691 * docs/gst/tmpl/gstbin.sgml:
14692 * docs/gst/tmpl/gstbuffer.sgml:
14693 * docs/gst/tmpl/gstcaps.sgml:
14694 * docs/gst/tmpl/gstclock.sgml:
14695 * docs/gst/tmpl/gstcompat.sgml:
14696 * docs/gst/tmpl/gstconfig.sgml:
14697 * docs/gst/tmpl/gstelement.sgml:
14698 * docs/gst/tmpl/gstelementdetails.sgml:
14699 * docs/gst/tmpl/gstelementfactory.sgml:
14700 * docs/gst/tmpl/gstenumtypes.sgml:
14701 * docs/gst/tmpl/gsterror.sgml:
14702 * docs/gst/tmpl/gstevent.sgml:
14703 * docs/gst/tmpl/gstfakesink.sgml:
14704 * docs/gst/tmpl/gstfakesrc.sgml:
14705 * docs/gst/tmpl/gstfilesink.sgml:
14706 * docs/gst/tmpl/gstfilesrc.sgml:
14707 * docs/gst/tmpl/gstfilter.sgml:
14708 * docs/gst/tmpl/gstformat.sgml:
14709 * docs/gst/tmpl/gstghostpad.sgml:
14710 * docs/gst/tmpl/gstimplementsinterface.sgml:
14711 * docs/gst/tmpl/gstindex.sgml:
14712 * docs/gst/tmpl/gstindexfactory.sgml:
14713 * docs/gst/tmpl/gstinfo.sgml:
14714 * docs/gst/tmpl/gstiterator.sgml:
14715 * docs/gst/tmpl/gstmacros.sgml:
14716 * docs/gst/tmpl/gstmemchunk.sgml:
14717 * docs/gst/tmpl/gstminiobject.sgml:
14718 * docs/gst/tmpl/gstobject.sgml:
14719 * docs/gst/tmpl/gstpad.sgml:
14720 * docs/gst/tmpl/gstpadtemplate.sgml:
14721 * docs/gst/tmpl/gstparse.sgml:
14722 * docs/gst/tmpl/gstpipeline.sgml:
14723 * docs/gst/tmpl/gstplugin.sgml:
14724 * docs/gst/tmpl/gstpluginfeature.sgml:
14725 * docs/gst/tmpl/gstquery.sgml:
14726 * docs/gst/tmpl/gstqueue.sgml:
14727 * docs/gst/tmpl/gstregistry.sgml:
14728 * docs/gst/tmpl/gstregistrypool.sgml:
14729 * docs/gst/tmpl/gstscheduler.sgml:
14730 * docs/gst/tmpl/gstschedulerfactory.sgml:
14731 * docs/gst/tmpl/gststructure.sgml:
14732 * docs/gst/tmpl/gstsystemclock.sgml:
14733 * docs/gst/tmpl/gsttaglist.sgml:
14734 * docs/gst/tmpl/gsttagsetter.sgml:
14735 * docs/gst/tmpl/gsttrace.sgml:
14736 * docs/gst/tmpl/gsttrashstack.sgml:
14737 * docs/gst/tmpl/gsttypefind.sgml:
14738 * docs/gst/tmpl/gsttypefindfactory.sgml:
14739 * docs/gst/tmpl/gsttypes.sgml:
14740 * docs/gst/tmpl/gsturihandler.sgml:
14741 * docs/gst/tmpl/gsturitype.sgml:
14742 * docs/gst/tmpl/gstutils.sgml:
14743 * docs/gst/tmpl/gstvalue.sgml:
14744 * docs/gst/tmpl/gstversion.sgml:
14745 * docs/gst/tmpl/gstxml.sgml:
14746 * docs/libs/tmpl/gstcontrol.sgml:
14747 * docs/libs/tmpl/gstdataprotocol.sgml:
14748 * docs/libs/tmpl/gstdparam.sgml:
14749 * docs/libs/tmpl/gstdplinint.sgml:
14750 * docs/libs/tmpl/gstdpman.sgml:
14751 * docs/libs/tmpl/gstdpsmooth.sgml:
14752 * docs/libs/tmpl/gstgetbits.sgml:
14753 * docs/libs/tmpl/gstunitconvert.sgml:
14754 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
14755 (gst_push_src_base_init), (gst_push_src_class_init),
14756 (gst_push_src_init), (gst_push_src_create):
14757 * gst/base/gstpushsrc.h:
14758 * gst/elements/gstelements.c:
14759 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
14760 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
14761 (gst_fake_sink_init), (gst_fake_sink_set_property),
14762 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
14763 (gst_fake_sink_event), (gst_fake_sink_preroll),
14764 (gst_fake_sink_render), (gst_fake_sink_change_state):
14765 * gst/elements/gstfakesink.h:
14766 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14767 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14768 (gst_fake_src_base_init), (gst_fake_src_class_init),
14769 (gst_fake_src_init), (gst_fake_src_event_handler),
14770 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
14771 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
14772 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
14773 (gst_fake_src_create_buffer), (gst_fake_src_create),
14774 (gst_fake_src_start), (gst_fake_src_stop):
14775 * gst/elements/gstfakesrc.h:
14776 * gst/elements/gstfilesink.c: (_do_init),
14777 (gst_file_sink_base_init), (gst_file_sink_class_init),
14778 (gst_file_sink_init), (gst_file_sink_dispose),
14779 (gst_file_sink_set_location), (gst_file_sink_set_property),
14780 (gst_file_sink_get_property), (gst_file_sink_open_file),
14781 (gst_file_sink_close_file), (gst_file_sink_query),
14782 (gst_file_sink_event), (gst_file_sink_render),
14783 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
14784 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
14785 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
14786 * gst/elements/gstfilesink.h:
14787 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
14788 (gst_file_src_class_init), (gst_file_src_init),
14789 (gst_file_src_finalize), (gst_file_src_set_location),
14790 (gst_file_src_set_property), (gst_file_src_get_property),
14791 (gst_file_src_map_region), (gst_file_src_map_small_region),
14792 (gst_file_src_create_mmap), (gst_file_src_create_read),
14793 (gst_file_src_create), (gst_file_src_is_seekable),
14794 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
14795 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
14796 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
14797 (gst_file_src_uri_handler_init):
14798 * gst/elements/gstfilesrc.h:
14799 more autistic cleanliness in functions/names/defines
14801 2005-07-13 Andy Wingo <wingo@pobox.com>
14803 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
14804 source couldn't negotiate.
14806 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
14810 * gst/gstutils.c (gst_element_link_pads_filtered): New old
14811 function. I am channeling Hades. Put your boots on suckers!!!
14813 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
14815 * testsuite/caps/Makefile.am:
14816 * testsuite/caps/value_compare.c:
14817 * testsuite/caps/value_intersect.c:
14818 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14819 move two testsuite apps over to the check dir
14821 2005-07-12 Wim Taymans <wim@fluendo.com>
14823 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
14824 Added more debug info in the negotiate process.
14826 * gst/gstmessage.h:
14827 Prepare for segment playback.
14829 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
14835 * tools/gst-launch.c: (main):
14836 NULL pipeline on errors.
14838 2005-07-12 Andy Wingo <wingo@pobox.com>
14840 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
14841 not it comes from a malloc region. Make sure our copy gets freed.
14843 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
14845 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14846 * check/gst/gstmessage.c: (GST_START_TEST):
14847 * check/gst/gststructure.c: (GST_START_TEST),
14848 (gst_structure_suite), (main):
14850 * gst/gstelement.c: (gst_element_message_full):
14851 clean up GError and debug string now that they get copied
14852 * gst/gstmessage.c: (gst_message_new_error),
14853 (gst_message_new_warning), (gst_message_parse_error),
14854 (gst_message_parse_warning):
14855 use GST_TYPE_G_ERROR for structure_new, and take copies of
14856 arguments, so that we don't mess up refcounting
14858 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
14860 * check/Makefile.am:
14861 add per-test valgrind targets
14862 * check/gst-libs/gdp.c: (GST_START_TEST),
14863 (gst_data_protocol_suite), (main):
14866 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
14868 * check/Makefile.am:
14869 instate more valgrindable tests
14870 * check/elements/gstfakesrc.c: (chain_func), (event_func),
14871 (GST_START_TEST), (fakesrc_suite):
14872 * check/gst/gstpad.c: (GST_START_TEST):
14873 * check/gst/gststructure.c: (GST_START_TEST):
14875 * docs/gst/tmpl/gstminiobject.sgml:
14876 * gst/gstpad.c: (gst_pad_finalize):
14877 fix the static mutex leak
14879 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14881 * check/Makefile.am:
14882 add two more tests for valgrinding
14883 * check/gst/gstvalue.c: (GST_START_TEST):
14884 test refcount of deserialized buffer, found a leak
14885 * docs/gst/gstreamer-docs.sgml:
14886 * docs/gst/gstreamer-sections.txt:
14887 * docs/gst/gstreamer.types:
14888 * docs/gst/tmpl/gstminiobject.sgml:
14889 add miniobject to docs
14890 * gst/gstminiobject.c:
14892 * gst/gstvalue.c: (gst_value_deserialize_buffer),
14893 (gst_string_unwrap):
14894 fix a hard-to-find invalid write for one of the tests
14895 fix a leak for deserialized buffers
14897 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14899 * docs/pwg/advanced-events.xml:
14900 * docs/pwg/advanced-request.xml:
14901 * docs/pwg/advanced-scheduling.xml:
14902 * docs/pwg/appendix-porting.xml:
14903 * docs/pwg/building-boiler.xml:
14904 * docs/pwg/intro-preface.xml:
14905 * docs/pwg/other-ntoone.xml:
14906 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
14907 of example code and explanation for pad activation, loop() and
14908 getrange() functions and a bit more. Remove old comments pointing
14910 * examples/pwg/Makefile.am:
14911 Add loop/getrange examples.
14913 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14916 check for valgrind binary + some fixes
14918 valgrind suppressions for the tests
14919 * check/Makefile.am:
14920 add a valgrind: target that valgrinds the unit tests
14921 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
14922 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
14923 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14924 * check/gst/gstghostpad.c:
14926 * check/gst/gstdata.c:
14928 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
14929 (thread_unref), (gst_mini_object_suite), (main):
14931 * gst/gst.c: (gst_deinit):
14933 add a method to clean up.
14934 * gst/gstsystemclock.c: (gst_system_clock_dispose),
14935 (gst_system_clock_obtain):
14936 allow for disposing the system clock.
14937 * tools/gst-launch.c: (main):
14940 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14942 * docs/gst/tmpl/gstbasesrc.sgml:
14943 * docs/gst/tmpl/gstfakesrc.sgml:
14944 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14945 (gst_base_src_init), (gst_base_src_set_property),
14946 (gst_base_src_get_property), (gst_base_src_get_range),
14947 (gst_base_src_start):
14948 * gst/base/gstbasesrc.h:
14949 add num-buffers property
14950 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14951 (gst_fakesrc_init), (gst_fakesrc_set_property),
14952 (gst_fakesrc_get_property), (gst_fakesrc_create),
14953 (gst_fakesrc_start):
14954 remove num-buffers property
14956 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14958 * docs/gst/gstreamer-sections.txt:
14959 * docs/gst/tmpl/gstbasesink.sgml:
14960 * docs/gst/tmpl/gstbasesrc.sgml:
14961 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
14962 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
14963 (gst_base_sink_finalize), (gst_base_sink_set_clock),
14964 (gst_base_sink_set_property), (gst_base_sink_get_property),
14965 (gst_base_sink_handle_object), (gst_base_sink_event),
14966 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14967 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
14968 (gst_base_sink_loop), (gst_base_sink_deactivate),
14969 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
14970 (gst_base_sink_change_state):
14971 * gst/base/gstbasesink.h:
14972 * gst/base/gstbasesrc.h:
14973 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
14974 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
14975 (gst_filesink_init):
14976 more macro splitting
14978 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14980 * gst/gstelement.c: (gst_element_get_bus):
14982 * tools/gst-launch.c: (check_intr), (event_loop):
14985 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14987 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
14990 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14992 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14993 (gst_base_src_finalize):
14994 add finalize method and clean up properly
14995 * gst/gstpipeline.c: (gst_pipeline_dispose):
14998 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
15000 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
15002 add more things to check
15003 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15004 * gst/gstelement.c:
15007 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
15009 * check/elements/gstfakesrc.c: (chain_func), (event_func),
15010 (GST_START_TEST), (fakesrc_suite):
15011 * check/gst-libs/gdp.c: (GST_START_TEST):
15012 * check/gst/gst.c: (GST_START_TEST):
15013 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15014 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15015 * check/gst/gstbus.c: (GST_START_TEST):
15016 * check/gst/gstcaps.c: (GST_START_TEST):
15017 * check/gst/gstdata.c: (GST_START_TEST):
15018 * check/gst/gstelement.c: (GST_START_TEST):
15019 * check/gst/gstghostpad.c: (GST_START_TEST):
15020 * check/gst/gstiterator.c: (GST_START_TEST):
15021 * check/gst/gstmessage.c: (GST_START_TEST):
15022 * check/gst/gstobject.c: (GST_START_TEST):
15023 * check/gst/gstpad.c: (GST_START_TEST):
15024 * check/gst/gststructure.c: (GST_START_TEST):
15025 * check/gst/gstsystemclock.c: (GST_START_TEST),
15026 (gst_systemclock_suite):
15027 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
15028 * check/gst/gstvalue.c: (GST_START_TEST):
15029 * check/pipelines/cleanup.c: (GST_START_TEST):
15030 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15031 * check/states/sinks.c: (GST_START_TEST):
15032 * check/gstcheck.c: (gst_check_init):
15033 * check/gstcheck.h:
15034 add debugging category
15035 use GST_START_TEST now, so we add a debug line
15037 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
15039 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
15040 add test for state change message on a bin
15041 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
15043 * gst/gstbin.c: (gst_bin_init):
15044 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
15045 * gst/gstelement.c: (gst_element_post_message),
15046 (gst_element_set_state):
15047 * gst/gstelementfactory.c: (gst_element_factory_create):
15048 * gst/gstmessage.c: (gst_message_new):
15049 * gst/gstscheduler.c:
15050 various debugging additions and cleanups
15052 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
15054 * check/Makefile.am:
15055 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
15057 adding tests for elements
15058 * gst/gstelement.c: (gst_element_dispose):
15060 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
15062 * gst/registries/gstlibxmlregistry.c: (load_feature):
15063 plug more leaks. A simple gst_init() now is leakfree, yay.
15065 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
15067 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
15068 (gst_xml_registry_load):
15069 plug another memleak
15071 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
15074 use GST_SET_ERROR_CFLAGS
15075 * docs/faq/cvs.xml:
15076 change to ERROR_CFLAGS
15078 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
15081 make GST_ERROR_CFLAGS overridable and re-enable Werror
15082 * docs/faq/cvs.xml:
15083 add a note about error CFLAGS
15084 * docs/gst/tmpl/gstfakesrc.sgml:
15085 * gst/elements/gstfakesrc.c:
15086 comment out some unused code
15087 * gst/gst.c: (split_and_iterate):
15088 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
15092 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
15094 * common/Makefile.am:
15095 * common/gtk-doc.mak:
15096 * docs/gst/Makefile.am:
15097 factor out gtk-doc.mak
15099 2005-07-07 Wim Taymans <wim@fluendo.com>
15101 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
15102 (gst_thread_scheduler_dispose):
15103 Unlock the STREAM_LOCK completely.
15105 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
15107 * check/Makefile.am:
15108 * check/elements/.cvsignore:
15109 * check/elements/gstfakesrc.c: (chain_func), (event_func),
15110 (START_TEST), (fakesrc_suite), (main):
15111 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15112 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
15113 (gst_fakesrc_create), (gst_fakesrc_start):
15114 * gst/elements/gstfakesrc.h:
15115 adding a first element test
15117 2005-07-07 Andy Wingo <wingo@pobox.com>
15119 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
15122 2005-07-07 Wim Taymans <wim@fluendo.com>
15128 2005-07-07 Wim Taymans <wim@fluendo.com>
15130 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15131 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
15132 Allow subclasses to implement their own negotiation.
15134 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
15136 * docs/design/part-gstbin.txt:
15137 * docs/design/part-gstpipeline.txt:
15138 Update design notes to reflect the movement of
15139 responsibility for bus handling from GstPipeline to
15142 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
15145 Remove unnecessary queue2/3/4 examples.
15147 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
15149 * examples/Makefile.am:
15150 * examples/helloworld/helloworld.c: (event_loop), (main):
15151 * examples/queue/queue.c: (event_loop), (main):
15152 * examples/queue2/queue2.c: (main):
15153 Update a couple of the examples to work again.
15155 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15156 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
15157 Spelling corrections and extra debug.
15159 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
15160 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
15161 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
15163 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15164 (gst_pipeline_change_state):
15165 * gst/gstpipeline.h:
15166 Move the bus handler for children to the GstBin, and create a
15167 separate bus for receiving messages from children to the one the
15168 bus sends 'upwards' on.
15170 2005-07-06 Wim Taymans <wim@fluendo.com>
15173 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15174 (gst_base_sink_handle_object), (gst_base_sink_loop),
15175 (gst_base_sink_change_state):
15176 * gst/base/gstbasesink.h:
15177 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15178 (gst_base_src_init), (gst_base_src_setcaps),
15179 (gst_base_src_getcaps), (gst_base_src_loop),
15180 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
15181 (gst_base_src_start), (gst_base_src_change_state):
15182 * gst/base/gstbasesrc.h:
15183 Make basesrc negotiate.
15184 Handle the case where preroll fails in basesink.
15187 2005-07-06 Wim Taymans <wim@fluendo.com>
15189 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
15190 Implement the fixate function.
15191 Clean up acceptcaps.
15193 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15195 * docs/pwg/building-filterfactory.xml:
15196 * docs/pwg/pwg.xml:
15197 Remove never-written filter-factory chapter; I'll add the various
15198 base classes to part 4 ("other element types") later on.
15200 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15202 * docs/pwg/advanced-negotiation.xml:
15203 * docs/pwg/building-boiler.xml:
15204 * docs/pwg/building-pads.xml:
15205 * docs/pwg/pwg.xml:
15206 * examples/pwg/Makefile.am:
15207 Add a chapter on caps negotiation, simplify the original code
15208 samples a bit w.r.t. caps negotiation, add link to the advanced
15209 section. Add a bunch of examples showing different use cases of
15210 different types of caps negotiation. Upstream renegotiation isn't
15211 fully documented yet since nobody knows how that works.
15213 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
15215 * check/gst/gstpad.c:
15216 * check/gstcheck.c:
15217 * gst/gstpad.c: (gst_pad_get_internal_links_default):
15218 if pad has no parent, return NULL as list of internal links
15220 2005-07-05 Andy Wingo <wingo@pobox.com>
15222 * gst/elements/gstfilesrc.c:
15223 * gst/elements/gstfakesrc.c:
15224 * gst/base/gstpushsrc.c:
15225 * gst/base/gstbasesrc.h:
15226 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
15228 2005-07-05 Stefan Kost <ensonic@users.sf.net>
15231 better report generation target (lcov needs a patch)
15233 2005-07-05 Andy Wingo <wingo@pobox.com>
15235 * gst/elements, testsuite: Null if we got it...
15237 2005-07-05 Wim Taymans <wim@fluendo.com>
15240 * libs/gst/dataprotocol/Makefile.am:
15241 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
15242 * libs/gst/dataprotocol/dataprotocol.h:
15243 * pkgconfig/Makefile.am:
15244 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
15245 * pkgconfig/gstreamer-dataprotocol.pc.in:
15246 Ported dataprotol to 0.9.
15247 Added pkgconfig files.
15249 2005-07-05 Andy Wingo <wingo@pobox.com>
15251 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
15252 Default to returning TRUE for the case when tranform_caps returns
15253 a fixed caps, like for identity or volume.
15255 * check/gst/gstbus.c (pound_bus_with_messages):
15256 * check/gst/gstmessage.c (START_TEST):
15257 * check/pipelines/simple_launch_lines.c (got_handoff): Application
15258 message API change.
15260 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
15261 logic weaks here: always run transform_caps, trying passthrough
15262 operation only if the original caps intersects with the transform.
15264 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
15265 source and sink caps.
15267 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
15268 Intersect the peer caps with the pad template before going into
15270 (gst_base_transform_transform_caps): More debugging.
15272 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
15275 2005-07-04 Edward Hervey <edward@fluendo.com>
15279 (gst_pad_add_*_probe): now returns the signal id for better wrapping
15282 2005-07-04 Andy Wingo <wingo@pobox.com>
15284 * check/gst/gstpad.c: Only set explicit caps on pads.
15286 2005-07-01 Andy Wingo <wingo@pobox.com>
15288 * tests/network-clock.scm: Commentary update.
15290 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
15291 Didn't really make sense, not implementable with basetransform,
15293 (gst_identity_transform): Unref inbuf via make_writable. Feeble
15294 attempt at implementing the sync property, needs an unlock method.
15296 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
15297 New func, by default returns the same caps (the identity
15299 (gst_base_transform_getcaps): Uses transform_caps to return
15300 something sensible.
15301 (gst_base_transform_setcaps): Complicated logic to get caps on
15302 both pads, even if they are different, and to call set_caps once
15303 for every time both pads get their caps set.
15304 (gst_base_transform_handle_buffer): Give the ref to the transform
15305 function. Allows in-place modification of the buffer.
15307 * gst/base/gstbasetransform.h (transform_caps): New class method.
15308 Given caps on one side, what can I do on the other.
15309 (set_caps): Take two caps, one for each side of the element.
15312 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
15313 caps in place. This is safe because we can check the mutability of
15314 the caps, and a good idea because fixate functions are just called
15315 as a matter of last resort. (Not actually implemented.)
15316 (gst_pad_set_caps): If the caps we're setting is actually the same
15317 as the existing pad caps, just update the pointer without calling
15318 setcaps. Assert that caps is either NULL or fixed, as per the
15321 * gst/gstghostpad.c: Update for fixate changes.
15323 2005-07-02 Andy Wingo <wingo@pobox.com>
15326 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
15327 two refcounts makes it immutable, which is enough. Doc more.
15329 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
15331 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
15332 Put the mini_object into GValue as a mini_object,
15333 not a gpointer, since that's how we declared
15336 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15338 * examples/pwg/Makefile.am:
15339 Fix buildbot again.
15341 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15343 * docs/pwg/building-testapp.xml:
15345 * examples/pwg/Makefile.am:
15348 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15351 * examples/Makefile.am:
15352 * examples/pwg/Makefile.am:
15353 * examples/pwg/extract.pl:
15354 Enable building the PWG examples.
15355 * docs/pwg/advanced-interfaces.xml:
15356 Add URI interface stub.
15357 * docs/pwg/advanced-types.xml:
15358 * docs/pwg/other-autoplugger.xml:
15359 * docs/pwg/appendix-porting.xml:
15360 * docs/pwg/pwg.xml:
15361 Add porting guide (mostly stubs), remove autoplugging (see ADM).
15362 * docs/pwg/building-boiler.xml:
15363 * docs/pwg/building-chainfn.xml:
15364 * docs/pwg/building-pads.xml:
15365 * docs/pwg/building-props.xml:
15366 * docs/pwg/building-state.xml:
15367 * docs/pwg/building-testapp.xml:
15368 Update the building-*.xml parts for 0.9 changes. All examples
15369 code blocks compile in examples/pwg/*.
15371 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15373 * docs/manual/advanced-autoplugging.xml:
15374 * docs/manual/appendix-checklist.xml:
15375 * docs/manual/appendix-integration.xml:
15376 * docs/manual/highlevel-components.xml:
15377 Fix playbin/decodebin examples, update docs a bit, mention bus
15378 instead of signals in various places, mention kmplayer and
15379 kaffeine since they have a working GStreamer backend in the KDE
15382 2005-06-30 Wim Taymans <wim@fluendo.com>
15385 * docs/design/draft-ghostpads.txt:
15386 * docs/design/draft-push-pull.txt:
15387 * docs/design/draft-query.txt:
15388 * docs/design/part-TODO.txt:
15389 * docs/design/part-query.txt:
15390 Added CHANGES-0.9 doc, updated status of other docs.
15395 2005-06-30 Wim Taymans <wim@fluendo.com>
15397 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15398 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15399 (gst_base_sink_change_state):
15400 * gst/base/gstbasesink.h:
15401 Some tweaks, only EOS and a buffer complete a preroll.
15403 2005-06-30 Andy Wingo <wingo@pobox.com>
15405 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
15406 activate_push down to the internal pad as well.
15408 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
15410 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15412 * gst/gsttaginterface.c:
15413 Some documentation fixes (#307394 and #307397).
15415 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
15417 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15419 * gst/gstvalue.c: (gst_value_intersect_list):
15420 Fix memleak (#309125).
15422 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15424 * docs/manual/advanced-dataaccess.xml:
15425 Fix fakesrc example to compile; doesn't work, bug somewhere...?
15426 * docs/manual/basics-pads.xml:
15427 Add reference for filtered caps to above chapter.
15429 2005-06-30 Wim Taymans <wim@fluendo.com>
15431 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
15432 (gst_bin_change_state):
15434 Lame attempt at making the state change function a bit
15437 2005-06-30 Wim Taymans <wim@fluendo.com>
15439 * docs/design/part-clocks.txt:
15440 * docs/design/part-element-sink.txt:
15441 * docs/design/part-events.txt:
15442 * docs/design/part-preroll.txt:
15443 * docs/design/part-states.txt:
15444 Some more tweeks and additions to the docs.
15446 2005-06-30 Wim Taymans <wim@fluendo.com>
15448 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
15449 (default_have_data), (gst_pad_class_init), (gst_pad_init),
15450 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
15451 (gst_pad_check_pull_range), (gst_pad_get_range),
15452 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
15454 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
15455 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15456 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15457 (gst_pad_remove_buffer_probe):
15458 Removed atomic operations, use existing LOCK.
15459 Move exception handling out of main code path.
15461 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15463 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
15464 (silly_return_true_function), (gst_pad_class_init),
15465 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
15466 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
15467 (gst_pad_send_event):
15468 Fix accumulator, add default value by using _emitv() instead
15469 of _emit() for signal emission.
15471 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15473 * docs/manual/advanced-dataaccess.xml:
15474 * examples/manual/Makefile.am:
15476 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
15479 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
15481 * gst/elements/gstfilesink.c: (gst_filesink_render):
15482 Simplify code so that we don't have to handle short
15483 writes and return GST_FLOW_ERROR if an error occured.
15485 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15487 * docs/gst/gstreamer-docs.sgml:
15488 Remove probes more.
15490 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15492 * docs/gst/gstreamer-sections.txt:
15493 * docs/gst/tmpl/gstpad.sgml:
15494 * docs/gst/tmpl/gstprobe.sgml:
15496 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
15497 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
15498 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
15499 (gst_pad_push_event), (gst_pad_send_event):
15501 * gst/gstutils.c: (gst_pad_add_data_probe),
15502 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15503 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15504 (gst_pad_remove_buffer_probe):
15506 Remove old probes, add new g-signal-based probes and some utility
15509 2005-06-29 Edward Hervey <edward@fluendo.com>
15511 * gst/gstelementfactory.c:
15514 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
15515 the definition to the header file.
15517 2005-06-29 Andy Wingo <wingo@pobox.com>
15519 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
15520 plugins from the source directory.
15522 2005-06-29 Wim Taymans <wim@fluendo.com>
15524 * docs/gst/tmpl/gstbuffer.sgml:
15525 * docs/gst/tmpl/gstclock.sgml:
15526 Some fixings for blantently wrong text.
15528 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
15530 * check/Makefile.am:
15531 * gst/gst.c: (add_path_func), (init_pre):
15532 * gst/gstregistry.c: (gst_registry_add_path):
15533 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
15534 only scan the GST_PLUGIN_PATH locations, and not add
15537 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
15539 * docs/gst/gstreamer-sections.txt:
15540 * docs/gst/tmpl/gstbasesrc.sgml:
15541 * gst/gstelement.c:
15542 * gst/gstelement.h:
15547 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15549 * docs/manual/advanced-autoplugging.xml:
15550 Fix autoplugging example.
15552 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15554 * docs/manual/advanced-autoplugging.xml:
15555 * docs/manual/mime-world.fig:
15556 Try to get autoplugging working, fix type detection. Fix text
15557 in hello-world image.
15559 2005-06-29 Wim Taymans <wim@fluendo.com>
15561 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15562 (gst_base_sink_change_state):
15566 map SIGNAL and BROADCAST to the right function.
15569 Remove redundant braces.
15571 * gst/gstpad.c: (gst_pad_set_caps):
15572 Don't call setcaps function when reseting caps to NULL.
15574 * gst/gstsystemclock.c: (gst_system_clock_dispose),
15575 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
15576 (gst_system_clock_id_unschedule):
15577 Use BROADCAST as this is what we do.
15579 2005-06-29 Wim Taymans <wim@fluendo.com>
15581 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15582 We are actually prerolling before commiting the state
15585 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15587 * docs/manual/advanced-clocks.xml:
15588 * docs/manual/advanced-interfaces.xml:
15589 * docs/manual/advanced-metadata.xml:
15590 * docs/manual/advanced-position.xml:
15591 * docs/manual/advanced-schedulers.xml:
15592 * docs/manual/advanced-threads.xml:
15593 * docs/manual/appendix-porting.xml:
15594 * docs/manual/basics-bins.xml:
15595 * docs/manual/basics-bus.xml:
15596 * docs/manual/basics-elements.xml:
15597 * docs/manual/basics-helloworld.xml:
15598 * docs/manual/basics-pads.xml:
15599 * docs/manual/highlevel-components.xml:
15600 * docs/manual/manual.xml:
15601 * docs/manual/thread.fig:
15602 Update (until threads/scheduling) Application Development Manual;
15603 remove GstThread, add GstBus, add simple porting checklist, add
15604 documentation for tag writing, clocks, make all examples until this
15605 part compile and run.
15606 * examples/manual/Makefile.am:
15607 Update from changes to Application Development Manual; add bus
15608 example, remove thread example.
15610 2005-06-28 Wim Taymans <wim@fluendo.com>
15612 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
15613 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
15614 (gst_bus_source_dispatch):
15615 Add debugging messages.
15616 Make internal methods static.
15617 Handle the case where the bus is flushed in the handler.
15619 * gst/gstelement.c: (gst_element_get_bus):
15620 Fix refcount in _get_bus();
15622 * gst/gstpipeline.c: (gst_pipeline_change_state),
15623 (gst_pipeline_get_clock_func):
15624 Clock refcounting fixes.
15625 Handle the case where preroll timed out more gracefully.
15627 * gst/gstsystemclock.c: (gst_system_clock_dispose):
15628 Clean up the internal thread in dispose. This is needed
15629 for subclasses that actually get disposed.
15631 * gst/schedulers/threadscheduler.c:
15632 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
15633 (gst_thread_scheduler_dispose):
15634 Free thread pool in dispose.
15636 2005-06-28 Andy Wingo <wingo@pobox.com>
15638 * tests/network-clock-utils.scm (debug, print-event): New utils.
15640 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
15641 (*packet-loss*): Unified loss probability.
15642 (network-time): Report out-of-band events.
15644 * tests/plot-data: Add support for out-of-band events. Hack it
15645 into this script instead of passing it down the pipe; should fix
15648 2005-06-28 Wim Taymans <wim@fluendo.com>
15650 * docs/gst/gstreamer.types:
15651 * docs/gst/tmpl/gstbasesrc.sgml:
15652 * docs/gst/tmpl/gstpad.sgml:
15655 2005-06-28 Wim Taymans <wim@fluendo.com>
15657 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15658 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
15659 (gst_proxy_pad_do_fixatecaps):
15660 Correctly proxy the check_pull_range function.
15662 2005-06-28 Andy Wingo <wingo@pobox.com>
15664 * tests/network-clock.scm: Removed need for slib.
15666 2005-06-28 Wim Taymans <wim@fluendo.com>
15668 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
15669 (gst_basesink_preroll_queue_flush):
15670 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
15671 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
15672 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15673 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15674 (gst_proxy_pad_set_property):
15677 * gst/gstqueue.c: (gst_queue_init):
15678 The deprecated pad loop function is removed now.
15680 2005-06-28 Andy Wingo <wingo@pobox.com>
15682 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
15683 New parameters, simulate network packet loss.
15685 * tests/network-clock-utils.scm: Initialize the RNG.
15687 2005-06-28 Wim Taymans <wim@fluendo.com>
15689 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
15690 (gst_basesink_event), (gst_basesink_deactivate):
15691 Flushing the preroll queue always needs to unlock the waiters.
15693 2005-06-28 Edward Hervey <edward@fluendo.com>
15695 * gst/gstpipeline.c: (gst_pipeline_send_event):
15696 Wheen a seek was successful on a pipeline, set the stream_time to the
15697 seek offset in order to have a synchronized stream_time.
15699 2005-06-28 Wim Taymans <wim@fluendo.com>
15701 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15702 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
15703 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
15704 (gst_proxy_pad_do_fixatecaps):
15705 Call wrapper function instead of just calling the function
15706 pointers. This takes care of any locking and whatmore.
15708 2005-06-28 Wim Taymans <wim@fluendo.com>
15710 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
15711 (gst_pad_pull_range):
15713 CONNECTED -> LINKED.
15715 2005-06-28 Andy Wingo <wingo@pobox.com>
15717 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
15718 source-munging commit!!!
15720 * gst/gstobject.c (gst_object_unref, gst_object_ref)
15721 (gst_object_sink): Take gpointer arguments, not GstObject --
15722 avoids casts. Like GLib.
15724 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
15727 2005-06-27 Andy Wingo <wingo@pobox.com>
15729 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
15732 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
15733 returns a sorted copy of the trace list.
15734 (gst_alloc_trace_print_live): New API, only prints traces with
15735 live objects. Sort the list.
15736 (gst_alloc_trace_print_all): Sort the list.
15737 (gst_alloc_trace_print): Align columns.
15739 * gst/elements/gstttypefindelement.c:
15740 * gst/elements/gsttee.c:
15741 * gst/base/gstbasesrc.c:
15742 * gst/base/gstbasesink.c:
15743 * gst/base/gstbasetransform.c:
15744 * gst/gstqueue.c: Adapt for pad activation changes.
15746 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
15748 (gst_pipeline_dispose): Drop ref on sched.
15750 * gst/gstpad.c (gst_pad_init): Set the default activate func.
15751 (gst_pad_activate_default): Push mode by default.
15752 (pre_activate_switch, post_activate_switch): New stubs, things to
15753 do before and after switching activation modes on pads.
15754 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
15755 the pad's activate function to choose which mode to activate.
15756 Shortcut on deactivation and call the right function directly.
15757 (gst_pad_activate_pull): New API, (de)activates a pad in pull
15759 (gst_pad_activate_push): New API, same for push mode.
15760 (gst_pad_set_activate_function)
15761 (gst_pad_set_activatepull_function)
15762 (gst_pad_set_activatepush_function): Setters for new API.
15764 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
15765 Trace all miniobjects.
15766 (gst_mini_object_make_writable): Unref the arg if we copy, like
15767 gst_caps_make_writable.
15769 * gst/gstmessage.c (_gst_message_initialize): No trace init.
15771 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
15772 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
15773 Adapt for new pad API.
15775 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
15777 * gst/gstelement.h:
15778 * gst/gstelement.c (gst_element_iterate_src_pads)
15779 (gst_element_iterate_sink_pads): New API functions.
15781 * gst/gstelement.c (iterator_fold_with_resync): New utility,
15782 should fold into gstiterator.c in some form.
15783 (gst_element_pads_activate): Simplified via use of fold and
15784 delegation of decisions to gstpad->activate.
15786 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
15789 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
15790 class once in init, like gstmessage. Didn't run into this issue
15791 but it seems correct. Don't initialize a trace, gstminiobject does
15794 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
15795 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
15797 (assert_live_count): New util function, uses alloc traces to check
15800 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
15801 To be modified when unlink drops the internal pad.
15803 2005-06-27 Wim Taymans <wim@fluendo.com>
15805 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
15806 (gst_bin_change_state):
15807 Cleanup the get_state() function a little, make sure it
15808 iterates the same set of elements.
15809 Added stub iterate_state_order().
15811 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
15813 * docs/gst/gstreamer-docs.sgml:
15814 * docs/gst/gstreamer-sections.txt:
15815 * docs/gst/gstreamer.types:
15816 * docs/gst/tmpl/gstbasesink.sgml:
15817 * docs/gst/tmpl/gstbasesrc.sgml:
15818 * docs/gst/tmpl/gstbasetransform.sgml:
15819 * docs/gst/tmpl/gstelement.sgml:
15820 * docs/gst/tmpl/gstiterator.sgml:
15821 * gst/base/gstbasesrc.c:
15822 * gst/base/gstbasesrc.h:
15823 * gst/base/gstbasetransform.h:
15824 * gst/gstelement.c:
15825 * gst/gstiterator.h:
15826 adding basetransform and iterator docs
15828 2005-06-27 Andy Wingo <wingo@pobox.com>
15830 * docs/design/part-activation.txt: Notes on how activation should
15831 work -- not quite implemented yet.
15833 2005-06-25 Wim Taymans <wim@fluendo.com>
15835 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
15836 At least get the chain function correct, needs more
15839 2005-06-25 Wim Taymans <wim@fluendo.com>
15841 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15842 (gst_basesink_handle_object), (gst_basesink_event),
15843 (gst_basesink_do_sync), (gst_basesink_handle_event),
15844 (gst_basesink_change_state):
15846 Right, two problems here: ghostpads don't take locks and
15847 glib _rec_mutex_lock_full() with depth==0 still locks.
15848 Catch illegal locking and g_warn them.
15850 2005-06-25 Wim Taymans <wim@fluendo.com>
15852 * check/states/sinks.c: (START_TEST), (gst_object_suite):
15853 Have to check for completion now...
15855 2005-06-25 Wim Taymans <wim@fluendo.com>
15857 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15858 (gst_basesink_handle_object), (gst_basesink_event),
15859 (gst_basesink_do_sync), (gst_basesink_handle_event),
15860 (gst_basesink_change_state):
15862 Unlock STREAM_LOCK whatever the recursion was.
15864 2005-06-25 Wim Taymans <wim@fluendo.com>
15866 * gst/base/gstbasesink.c: (gst_basesink_set_property),
15867 (gst_basesink_preroll_queue_empty),
15868 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
15869 (gst_basesink_event), (gst_basesink_do_sync),
15870 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
15871 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
15872 (gst_basesink_change_state):
15873 Reworked the base sink, handle event and buffer serialisation
15874 correctly and removed possible deadlock.
15875 Handle EOS correctly.
15877 2005-06-25 Wim Taymans <wim@fluendo.com>
15879 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
15880 (gst_pipeline_change_state):
15881 * tools/gst-launch.c: (check_intr), (event_loop), (main):
15882 Allow elements to post EOS in the state change function.
15883 Fix up -launch, make it exit the poll loop when the
15884 pipeline actually changed state.
15885 Fix up warning parsing in -launch.
15887 2005-06-25 Wim Taymans <wim@fluendo.com>
15889 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
15890 (gst_tee_sink_activate):
15891 Core takes STREAM_LOCK for us now.
15893 2005-06-25 Wim Taymans <wim@fluendo.com>
15895 * gst/gstelement.c: (gst_element_get_state_func),
15896 (gst_element_set_state):
15897 * gst/gstelement.h:
15898 * gst/gstmessage.c: (gst_message_parse_error),
15899 (gst_message_parse_warning):
15900 Keep track of current target state while performing a state
15901 change so that subclasses can do something interesting.
15902 Fix parsing of warning/error messages when GError is NULL.
15904 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
15906 * docs/gst/Makefile.am:
15907 * docs/gst/gstreamer-docs.sgml:
15908 * docs/gst/gstreamer-sections.txt:
15909 * docs/gst/gstreamer.types:
15910 * docs/gst/tmpl/gstbasesink.sgml:
15911 * docs/gst/tmpl/gstbasesrc.sgml:
15912 * docs/gst/tmpl/gstbin.sgml:
15913 * docs/gst/tmpl/gstcompat.sgml:
15914 * docs/gst/tmpl/gstfakesink.sgml:
15915 * docs/gst/tmpl/gstfakesrc.sgml:
15916 * docs/gst/tmpl/gstfilesink.sgml:
15917 * docs/gst/tmpl/gstfilesrc.sgml:
15918 * docs/gst/tmpl/gstindex.sgml:
15919 * docs/manual/appendix-quotes.xml:
15920 * gst/base/gstbasesrc.h:
15921 * gst/elements/gstfakesrc.h:
15922 * gst/gstmessage.h:
15923 start pulling in base classes and elements in our docs
15925 2005-06-24 Stefan Kost <ensonic@users.sf.net>
15927 * docs/gst/Makefile.am:
15928 * docs/libs/Makefile.am:
15929 fixed make distcheck with gtk-doc 1.3
15931 2005-06-23 Wim Taymans <wim@fluendo.com>
15933 * gst/gstelement.c: (gst_element_get_state_func),
15934 (gst_element_set_state), (gst_element_change_state):
15935 When the state did not change, also report NO_PREROLL
15938 2005-06-23 Wim Taymans <wim@fluendo.com>
15940 * gst/gstpad.c: (gst_pad_event_default):
15941 * gst/gstqueue.c: (gst_queue_loop):
15942 No unsafe task pausing please.
15944 2005-06-23 Wim Taymans <wim@fluendo.com>
15946 * gst/schedulers/threadscheduler.c:
15947 (gst_thread_scheduler_task_start),
15948 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
15949 Ref the task before pushing it on the threadpool. This
15950 makes sure that we have a ref when the threadfunction is
15953 2005-06-23 Andy Wingo <wingo@pobox.com>
15955 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
15956 offset is greater than the file's size.
15958 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
15959 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
15960 * gst/gstobject.c (gst_object_class_init): Make the class lock
15961 recursive. Wim won't let me drop deep_notify. Decodebin works
15962 again, whoopdy doo.
15964 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
15965 internal pad, and hacks accordingly. Doesn't do it on the target
15966 pad because we change its caps. Probably catches all cases of
15968 (gst_ghost_pad_set_property): Connect to notify::caps as
15971 * tests/network-clock.scm (plot-simulation): Pipe data to the
15972 elite python skript.
15974 * tests/network-clock-utils.scm (define-parameter): New macro,
15975 defines a parameter that can be set via the command line.
15976 (set-parameter!, parse-parameter-arguments): Command line args
15979 * tests/plot-data: Simple matplotlib-based plotter, takes input on
15982 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
15984 * gst/elements/gsttypefindelement.c:
15985 (gst_type_find_element_handle_event):
15986 Don't restart typefinding on a discont.
15987 * gst/gstelement.c: (gst_element_set_state):
15988 Debug spelling fix.
15989 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
15990 Allow changing mode of an active pad.
15991 Debug output fixes.
15992 * gst/registries/gstlibxmlregistry.c: (load_feature):
15993 Don't cast a static pad template to a normal pad template.
15995 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
15997 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15998 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15999 remove gst_strtoll completely, since it didn't actually do
16000 anything more than what g_ascii_strtoull already does.
16001 check for range errors when deserializing
16002 do a cast for the unsigned cases; but further fixing needs
16003 a decision on what the interpretation of "(int)" and
16004 deserialization should be for values that fall outside the
16005 type's boundaries (ie, refuse, or interpret as casting)
16007 2005-06-23 Wim Taymans <wim@fluendo.com>
16009 * check/Makefile.am:
16010 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
16011 * docs/design/part-live-source.txt:
16012 * docs/design/part-states.txt:
16013 * gst/base/gstbasesrc.c: (gst_basesrc_init),
16014 (gst_basesrc_set_live), (gst_basesrc_is_live),
16015 (gst_basesrc_get_range), (gst_basesrc_activate),
16016 (gst_basesrc_change_state):
16017 * gst/base/gstbasesrc.h:
16018 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16019 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
16020 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
16021 * gst/gstelement.c: (gst_element_get_state_func),
16022 (gst_element_set_state):
16023 * gst/gstelement.h:
16025 * tools/gst-launch.c: (event_loop), (main):
16026 Added support for live sources and other elements that
16028 Updated design docs, added live-source design doc.
16029 Implemented live source functionality in basesrc
16030 Fix error condition in _bin_get_state()
16031 Implement live source handling in -launch.
16032 Added check for live sources.
16033 Fixed case in GstBin where elements were changed state
16037 2005-06-23 Andy Wingo <wingo@pobox.com>
16039 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
16040 borken refcounting.
16042 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
16043 gst_caps_replace takes care of this for us.
16045 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
16046 gst_pad_set_caps on the target, not just its setcaps() function.
16048 * tests/network-clock.scm:
16049 * tests/network-clock-utils.scm: A network clock simulator.
16050 Something of an algorithmic testbed before doing something in C.
16052 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
16054 * check/Makefile.am:
16055 * check/gst/capslist.h:
16056 copy over from 0.8, and add two with bitmasks specified with
16058 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
16059 add test to parse everything from capslist.h
16060 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
16062 add test for structure deserialization
16063 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16064 add tests for deserialization of strings to int types
16065 * gst/gststructure.c: (gst_structure_nth_field_name):
16066 * gst/gststructure.h:
16067 add a way to get the name of a field referenced by index
16068 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16069 instead of checking if the resulting long long lies between
16070 min and max, we check if the long long would fit into
16071 a number of bytes for the final type.
16072 This fixes cases where a string represents 2^32 - 1, which
16073 when cast to int would be the (valid) -1, but is bigger than
16076 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
16078 * gst/parse/grammar.y:
16079 add a log line for type deserialization
16081 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
16083 * check/gst/gstvalue.c: (START_TEST):
16084 * gst/gstvalue.c: (gst_value_deserialize):
16085 return long long, not int, so gint64 deserialization actually
16086 works. Is there any flag that makes the compiler check this ?
16089 2005-06-22 Wim Taymans <wim@fluendo.com>
16092 Added convenience macros for setting buffers in GValue.
16094 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
16096 * check/gst/.cvsignore:
16097 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16098 add a test deserializing int64, and comment part out because
16101 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
16103 * check/Makefile.am:
16104 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
16105 * testsuite/Makefile.am:
16106 * testsuite/caps/Makefile.am:
16107 * testsuite/caps/value_serialize.c:
16108 * testsuite/test_gst_init.c:
16109 move a value_serialize test over
16111 2005-06-20 Wim Taymans <wim@fluendo.com>
16116 * gst/gstvalue.c: (gst_value_compare_buffer),
16117 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
16118 (gst_value_compare_flags), (gst_value_serialize_flags),
16119 (gst_value_deserialize_flags), (_gst_value_initialize):
16120 Fix serialisation of buffers, they are not boxed types anymore
16122 2005-06-20 Wim Taymans <wim@fluendo.com>
16124 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
16125 Testcase to show error in buffer-on-caps serialisation.
16127 2005-06-20 Andy Wingo <wingo@pobox.com>
16129 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
16130 will be adding to later.
16132 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
16133 if its socks fill with rocks.
16134 (gst_system_clock_obtain): Set the name on object construction.
16135 Avoid double-checked locking.
16137 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
16139 * gst/gsturi.c: (gst_element_make_from_uri):
16140 Fix potential endless loop.
16142 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
16144 * check/Makefile.am:
16146 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
16148 move over from testsuite dir and clean up
16151 * testsuite/Makefile.am:
16152 * testsuite/tags/.cvsignore:
16153 * testsuite/tags/Makefile.am:
16154 * testsuite/tags/merge.c:
16155 remove testsuite/tags
16157 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
16159 * docs/gst/gstreamer-sections.txt:
16160 * docs/gst/tmpl/gstenumtypes.sgml:
16161 * win32/gstenumtypes.c:
16162 clean up documentation build a little
16164 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
16166 * check/gstcheck.h:
16167 add macros for checking refcounts on objects and caps
16168 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
16169 add some more unit tests
16170 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16171 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
16172 fix leaked refcounts (I hope :)) so unittest works
16176 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
16178 * configure.ac: back to HEAD
16180 === release 0.9.1 ===
16182 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
16188 2005-06-17 Andy Wingo <wingo@pobox.com>
16190 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
16191 assert; it's always possible that the pad gets deactivated in
16192 between the checks in gstpad.c and the implementation. Rely on
16193 finish_preroll() to return a FLUSHING or similar instead of on the
16196 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
16197 clock and post an EOS message if we come out of finish_preroll in
16200 2005-06-16 David Schleef <ds@schleef.org>
16202 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16203 (gst_capsfilter_set_property): Allow NULL as possible value
16204 for filter_caps property, indicating GST_CAPS_ANY.
16206 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
16208 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
16210 * gst/schedulers/Makefile.am:
16212 * gstreamer.spec.in:
16215 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
16217 * gstreamer.spec.in:
16220 2005-06-08 Andy Wingo <wingo@pobox.com>
16222 * gst/gstutils.c: RPAD fixes all around.
16223 (gst_element_link_pads): Refcounting fixes.
16225 * tools/gst-inspect.c:
16226 * tools/gst-xmlinspect.c:
16228 * gst/base/gsttypefindhelper.c:
16229 * gst/base/gstbasesink.c:
16230 * gst/gstqueue.c: RPAD fixes.
16232 * gst/gstghostpad.h:
16233 * gst/gstghostpad.c: New ghost pad implementation as full proxy
16234 pads. The tricky thing is they provide both source and sink
16235 interfaces, since they proxy the internal pad for the external
16236 pad, and vice versa. Implement with lower-level ProxyPad objects,
16237 with the interior proxy pad as a child of the exterior ghost pad.
16238 Should write a doc on this.
16240 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
16241 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
16244 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
16245 pads are real pads. No ghost pads in this file. Not documenting
16246 the myriad s/RPAD/PAD/ and REALIZE fixes.
16247 (gst_pad_class_init): Add properties for "direction" and
16248 "template". Both are construct-only, so they can't change during
16249 the life of the pad. Fixes properly deriving from GstPad.
16250 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
16251 derived objects, just set properties when creating the objects via
16253 (gst_pad_get_parent): Implement as a function, return NULL if the
16254 parent is not an element.
16255 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
16256 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
16258 * gst/gstobject.c (gst_object_class_init): Make name a construct
16259 property. Don't set it in the object init.
16261 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
16262 with UNKNOWN direction.
16263 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
16264 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
16265 (gst_element_remove_pad): Remove ghost-pad special cases.
16266 (gst_element_pads_activate): Remove rpad cruft.
16268 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
16269 catch the pad's-parent-not-an-element case.
16271 * gst/gst.h: Include gstghostpad.h.
16273 * gst/gst.c (init_post): No more real, ghost pads.
16275 * gst/Makefile.am: Add gstghostpad.[ch].
16277 * check/Makefile.am:
16278 * check/gst/gstbin.c:
16279 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
16280 into a bin creates ghost pads, and that the refcounts are right.
16281 Partly moved from gstbin.c.
16283 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
16285 * check/gst-libs/.cvsignore:
16286 * check/gst/.cvsignore:
16287 * check/pipelines/.cvsignore:
16289 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
16290 (START_TEST), (cleanup_suite), (main):
16291 add some tests related to cleanup after running pipelines
16293 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
16295 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
16296 add a testsuite for GstBuffer
16298 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
16300 * gst/gstminiobject.h:
16301 add defines for accessing the refcount
16303 2005-06-03 Stefan Kost <ensonic@users.sf.net>
16305 * Makefile.am: added support for html unit test coverage reports
16307 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
16309 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
16310 Free existing caps if the capsfilter changes. Add a FIXME about
16311 setting those caps on the pads.
16313 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
16314 Before adding a ghost pad to a parent bin, check that there isn't
16315 already one for the element on the bin. Prevents infinite recursion
16316 when using decodebin in parse pipelines. Andy says he'll rewrite the
16317 way this works anyway, so ignore the hack.
16319 2005-06-02 Andy Wingo <wingo@pobox.com>
16321 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
16322 file size, pass it on to the type find helper.
16324 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
16325 segment_start and segment_end properly according to the seek
16326 method. Segment_end is still a bit flaky because offset can be
16327 negative for CUR and END cases, but it takes -1 as an "unset"
16330 2005-06-02 Wim Taymans <wim@fluendo.com>
16332 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
16333 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
16334 (gst_basesink_activate):
16335 * gst/base/gstbasesink.h:
16336 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16337 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
16338 (gst_pad_query), (gst_pad_start_task):
16340 * gst/gstqueue.c: (gst_queue_bufferalloc),
16341 (gst_queue_handle_sink_event), (gst_queue_chain):
16342 Bufferalloc: return GstFlowReturn to more accuratly report
16343 why allocation failed.
16345 2005-06-02 Wim Taymans <wim@fluendo.com>
16347 * gst/gstpipeline.c: (gst_pipeline_send_event):
16348 Take snapshot of state without blocking.
16350 2005-06-02 Wim Taymans <wim@fluendo.com>
16352 * docs/design/part-TODO.txt:
16353 * docs/design/part-caps.txt:
16354 * docs/design/part-clocks.txt:
16355 * docs/design/part-negotiation.txt:
16356 * docs/design/part-preroll.txt:
16359 2005-05-30 Wim Taymans <wim@fluendo.com>
16361 * gst/elements/gstidentity.c: (gst_identity_event),
16362 (gst_identity_transform), (gst_identity_get_property):
16363 Protect last_message property as it is accessed from
16366 2005-05-30 Wim Taymans <wim@fluendo.com>
16368 * gst/gstelement.c: (gst_element_init),
16369 (gst_element_pads_activate), (gst_element_change_state):
16370 Slicker pad activation code.
16372 2005-05-30 Wim Taymans <wim@fluendo.com>
16375 * gst/gstelement.h:
16376 * gst/gstelementfactory.h:
16378 Move elementfactory methods to separate .h file.
16380 2005-05-30 Wim Taymans <wim@fluendo.com>
16382 * docs/design/part-overview.txt:
16383 * gst/gstsystemclock.h:
16384 Small typo fixes, doc updates.
16386 2005-05-30 Wim Taymans <wim@fluendo.com>
16388 * gst/gst.c: (gst_init_get_popt_table), (init_post),
16389 (init_popt_callback):
16390 Remove cpu-opt flag.
16392 2005-05-30 Wim Taymans <wim@fluendo.com>
16394 * gst/gstbuffer.c: (gst_subbuffer_finalize),
16395 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
16397 Avoid typechecking in places where not needed.
16398 Added accessor for malloc_data.
16400 2005-05-30 Wim Taymans <wim@fluendo.com>
16402 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
16403 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
16404 (gst_pad_configure_sink), (gst_pad_configure_src),
16405 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
16406 (gst_pad_start_task):
16407 Propagate errors from _set_caps() in configure_src/sink
16408 functions instead of returning TRUE.
16409 FLUSH events can travel up and downstream
16412 2005-05-30 Wim Taymans <wim@fluendo.com>
16414 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
16415 (gst_basesink_activate):
16416 Handle EOS in preroll.
16418 2005-05-30 Wim Taymans <wim@fluendo.com>
16420 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16421 (gst_queue_loop), (gst_queue_handle_src_event):
16422 Remove old pieces of code
16423 Flushing the queue in an upstream event is a very bad idea.
16425 2005-05-26 Andy Wingo <wingo@pobox.com>
16427 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
16428 gst_value_set_mini_object so as to add a ref on the object (which
16429 will be removed when the value is unset).
16431 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
16432 arg type in ::handoff.
16434 * gst/gstelement.c (gst_element_change_state): Also deactivate
16435 pads in READY->NULL, just in case the element didn't make it to
16436 PAUSED. Wingo tested, Wim approved.
16438 2005-05-26 Wim Taymans <wim@fluendo.com>
16440 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16441 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
16442 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
16443 A flushing pad cannot be used to alloc_buffer from.
16445 2005-05-26 Wim Taymans <wim@fluendo.com>
16447 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
16448 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
16449 (gst_bus_source_dispatch), (gst_bus_source_finalize),
16450 (gst_bus_create_watch), (gst_bus_add_watch_full):
16452 Implement a real GSource and use g_main_context_wakeup() to
16453 signal new messages instead of the socketpair.
16455 2005-05-25 Wim Taymans <wim@fluendo.com>
16457 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
16458 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
16459 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16460 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
16461 (gst_pad_send_event), (gst_pad_start_task):
16462 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
16463 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
16464 (gst_queue_sink_activate), (gst_queue_src_activate),
16465 (gst_queue_change_state):
16467 Fix state changes for non sinks. We now change sinks, then elements
16468 with unconnected srcpads, then the rest.
16469 More efficient queue unlocking in flush and state changes.
16470 Set the pad activate mode even if it does not have an activate
16473 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16475 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
16476 Don't go in pull mode for non-seekable sources.
16477 * gst/elements/gsttypefindelement.h:
16478 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
16479 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
16480 (free_entry), (stop_typefinding),
16481 (gst_type_find_element_handle_event), (find_peek),
16482 (gst_type_find_element_chain), (do_pull_typefind),
16483 (gst_type_find_element_change_state):
16484 Allow typefinding (w/o seeking) in push-mode, simplified version
16485 of what was in 0.8.
16486 * gst/gstutils.c: (gst_buffer_join):
16488 gst_buffer_join() from 0.8.
16490 2005-05-25 Wim Taymans <wim@fluendo.com>
16492 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16493 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
16494 (gst_pad_send_event), (gst_pad_start_task):
16495 Disable attempt at mode switching until it is figured out.
16497 2005-05-25 Wim Taymans <wim@fluendo.com>
16499 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
16500 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
16501 (gst_basesink_finish_preroll), (gst_basesink_chain),
16502 (gst_basesink_loop), (gst_basesink_activate),
16503 (gst_basesink_change_state):
16504 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
16505 (gst_basesrc_get_range), (gst_basesrc_loop),
16506 (gst_basesrc_activate):
16507 * gst/elements/gsttee.c: (gst_tee_sink_activate):
16508 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
16509 (gst_real_pad_init), (gst_real_pad_set_property),
16510 (gst_real_pad_get_property), (gst_pad_set_active),
16511 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
16512 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
16513 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
16514 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
16515 (gst_pad_event_default_dispatch), (gst_pad_event_default),
16516 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
16517 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
16518 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16519 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
16520 (gst_pad_stop_task):
16522 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16523 (gst_queue_loop), (gst_queue_src_activate):
16524 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
16525 (gst_task_get_state):
16527 * gst/schedulers/threadscheduler.c:
16528 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
16529 Implement gst_pad_pause/start/stop_task(), take STREAM lock
16531 Remove ACTIVE pad flag, use FLUSHING everywhere
16532 Added _pad_chain(), _pad_get_range() to call chain/getrange
16534 Add locks around IS_FLUSHING when reading.
16535 Take STREAM lock in chain(), get_range() functions so plugins
16536 don't need to take it anymore.
16540 2005-05-25 Wim Taymans <wim@fluendo.com>
16542 * tools/gst-launch.c: (event_loop):
16543 Unref message after using its contents instead of
16546 2005-05-24 Wim Taymans <wim@fluendo.com>
16548 * docs/design/draft-ghostpads.txt:
16549 * docs/design/draft-push-pull.txt:
16550 * docs/design/draft-query.txt:
16551 * docs/design/part-overview.txt:
16552 Docs updates, added general overview doc.
16554 2005-05-21 David Schleef <ds@schleef.org>
16556 * docs/gst/tmpl/old/GstBin.sgml:
16557 * docs/gst/tmpl/old/GstBuffer.sgml:
16558 * docs/gst/tmpl/old/GstCaps.sgml:
16559 * docs/gst/tmpl/old/GstClock.sgml:
16560 * docs/gst/tmpl/old/GstCompat.sgml:
16561 * docs/gst/tmpl/old/GstData.sgml:
16562 * docs/gst/tmpl/old/GstElement.sgml:
16563 * docs/gst/tmpl/old/GstEvent.sgml:
16564 * docs/gst/tmpl/old/GstIndex.sgml:
16565 * docs/gst/tmpl/old/GstStructure.sgml:
16566 * docs/gst/tmpl/old/GstTag.sgml:
16567 * docs/gst/tmpl/old/cothreads.sgml:
16568 * docs/gst/tmpl/old/cothreads_compat.sgml:
16569 * docs/gst/tmpl/old/gettext.sgml:
16570 * docs/gst/tmpl/old/gobject2gtk.sgml:
16571 * docs/gst/tmpl/old/grammar.tab.sgml:
16572 * docs/gst/tmpl/old/gst-i18n-app.sgml:
16573 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
16574 * docs/gst/tmpl/old/gst_private.sgml:
16575 * docs/gst/tmpl/old/gstaggregator.sgml:
16576 * docs/gst/tmpl/old/gstarch.sgml:
16577 * docs/gst/tmpl/old/gstatomic_impl.sgml:
16578 * docs/gst/tmpl/old/gstbufferstore.sgml:
16579 * docs/gst/tmpl/old/gstdata_private.sgml:
16580 * docs/gst/tmpl/old/gstdisksink.sgml:
16581 * docs/gst/tmpl/old/gstdisksrc.sgml:
16582 * docs/gst/tmpl/old/gstelementfactory.sgml:
16583 * docs/gst/tmpl/old/gstextratypes.sgml:
16584 * docs/gst/tmpl/old/gstfakesink.sgml:
16585 * docs/gst/tmpl/old/gstfakesrc.sgml:
16586 * docs/gst/tmpl/old/gstfdsink.sgml:
16587 * docs/gst/tmpl/old/gstfdsrc.sgml:
16588 * docs/gst/tmpl/old/gstfilesink.sgml:
16589 * docs/gst/tmpl/old/gstfilesrc.sgml:
16590 * docs/gst/tmpl/old/gsthttpsrc.sgml:
16591 * docs/gst/tmpl/old/gstidentity.sgml:
16592 * docs/gst/tmpl/old/gstindexfactory.sgml:
16593 * docs/gst/tmpl/old/gstmarshal.sgml:
16594 * docs/gst/tmpl/old/gstmd5sink.sgml:
16595 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
16596 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
16597 * docs/gst/tmpl/old/gstpadtemplate.sgml:
16598 * docs/gst/tmpl/old/gstpipefilter.sgml:
16599 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
16600 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
16601 * docs/gst/tmpl/old/gstshaper.sgml:
16602 * docs/gst/tmpl/old/gstspider.sgml:
16603 * docs/gst/tmpl/old/gstspideridentity.sgml:
16604 * docs/gst/tmpl/old/gststatistics.sgml:
16605 * docs/gst/tmpl/old/gsttee.sgml:
16606 * docs/gst/tmpl/old/gsttimecache.sgml:
16607 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
16608 * docs/gst/tmpl/old/gstxmlregistry.sgml:
16609 * docs/gst/tmpl/old/gthread-cothreads.sgml:
16610 * docs/gst/tmpl/old/types.sgml:
16611 I didn't intend to add these or check them in.
16613 2005-05-19 David Schleef <ds@schleef.org>
16615 * configure.ac: Use -no-common everywhere. In a sane world, it
16616 would be the default in libtool, because without it, you can't
16617 build DLLs on Windows.
16618 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
16619 * docs/gst/gstreamer-sections.txt:
16620 * docs/gst/tmpl/gstcpu.sgml:
16621 * docs/gst/tmpl/gstdata.sgml:
16622 * docs/gst/tmpl/gstthread.sgml:
16624 2005-05-19 David Schleef <ds@schleef.org>
16626 * gst/gstminiobject.c: (gst_value_set_mini_object),
16627 (gst_value_take_mini_object), (gst_value_get_mini_object):
16628 * gst/gstminiobject.h: Add GValue set/get functions.
16630 2005-05-19 Wim Taymans <wim@fluendo.com>
16632 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
16633 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
16634 (gst_subbuffer_init), (gst_buffer_is_span_fast):
16636 * gst/gstbus.c: (gst_bus_post):
16637 * gst/gstelement.c: (gst_element_get_random_pad):
16638 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
16639 Make subbufer unref the parent in finalize.
16640 some more debugging info.
16643 2005-05-19 Wim Taymans <wim@fluendo.com>
16645 * gst/base/gstbasesink.c: (gst_basesink_class_init),
16646 (gst_basesink_init), (gst_basesink_finalize),
16647 (gst_basesink_activate), (gst_basesink_change_state):
16648 Don't free preroll queue too early.
16650 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16654 Hi, I'm outdated. Please shoot me.
16656 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16658 * gst/gstpipeline.c: (gst_pipeline_send_event):
16659 Do not access variables after they have been deleted.
16661 2005-05-19 Wim Taymans <wim@fluendo.com>
16663 * tools/gst-inspect.c: (print_plugin_features):
16664 A plugin feature does unfortunatly not use the
16667 2005-05-18 Wim Taymans <wim@fluendo.com>
16669 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
16670 Port _span() functions to new subbuffers.
16672 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16674 * gst/gstbin.c: (gst_bin_add_func):
16675 Fix clock settery in bins when adding kids after the clock has
16678 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16680 * gst/elements/gstidentity.c: (gst_identity_class_init):
16681 Workaround until signals support GstMiniObject.
16683 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
16686 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
16688 2005-05-18 Wim Taymans <wim@fluendo.com>
16690 * gst/base/Makefile.am:
16691 * gst/base/gstadapter.c: (gst_adapter_base_init),
16692 (gst_adapter_class_init), (gst_adapter_init),
16693 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
16694 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
16695 (gst_adapter_flush), (gst_adapter_available),
16696 (gst_adapter_available_fast):
16697 * gst/base/gstadapter.h:
16698 Ported and added adapter to the base classes.
16700 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16703 * gst/gstmessage.c:
16704 Make sure the class is reffed/unreffed once before threads can be
16705 used. Fixes #304551.
16707 2005-05-17 Wim Taymans <wim@fluendo.com>
16709 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
16710 (gst_basesink_chain_unlocked), (gst_basesink_activate):
16711 * gst/gstminiobject.c: (gst_mini_object_get_type),
16712 (gst_mini_object_free):
16713 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
16714 (gst_pad_push), (gst_pad_push_event):
16715 * gst/gstqueue.c: (gst_queue_change_state):
16716 Don't queue buffers in basesink when we are flushing.
16717 Unref buffer when flushing in basesink.
16718 Flush queue when going to READY
16719 Unref buffer when _push() returns an error.
16720 Don't free MiniObject instance when refcount is incremented
16721 in _finalize() so that we can recover objects.
16723 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
16725 * docs/manual/advanced-schedulers.xml:
16726 * docs/manual/appendix-checklist.xml:
16727 * docs/pwg/advanced-clock.xml:
16728 * docs/pwg/advanced-interfaces.xml:
16729 * docs/pwg/advanced-request.xml:
16730 * docs/pwg/advanced-types.xml:
16731 * docs/pwg/intro-preface.xml:
16732 * examples/plugins/example.c: (gst_example_get_type),
16733 (gst_example_class_init), (gst_example_chain),
16734 (gst_example_set_property), (gst_example_get_property),
16735 (gst_example_change_state), (plugin_init):
16736 * examples/plugins/example.h:
16739 2005-05-17 Wim Taymans <wim@fluendo.com>
16741 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
16742 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
16743 * gst/gstqueue.c: (gst_queue_change_state):
16744 Clear queue when going to READY.
16745 Remove IN_SETCAPS flag too.
16747 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
16749 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
16750 Remove implicit cast from gboolean to GstElementStateReturn;
16751 make sure we still return failure in paused => ready case if
16752 the parent class fails to change state and our own stop
16755 2005-05-17 Wim Taymans <wim@fluendo.com>
16757 * tools/gst-launch.c: (event_loop):
16758 Message was unreffed too soon.
16760 2005-05-16 Andy Wingo <wingo@pobox.com>
16762 * gst/gstbin.c (sink_iterator_filter): Err... um...
16764 * check/gst/gstbin.c (test_ghost_pads): New test for the
16765 ghosting-if-elements-not-in-same-bin behavior.
16767 2005-05-16 David Schleef <ds@schleef.org>
16769 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
16770 accessing refcount directly.
16772 2005-05-15 David Schleef <ds@schleef.org>
16774 * check/Makefile.am: remove GstData checks
16775 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
16776 * gst/Makefile.am: add miniobject, remove data
16777 * gst/gst.h: add miniobject, remove data
16778 * gst/gstdata.c: remove
16779 * gst/gstdata.h: remove
16780 * gst/gstdata_private.h: remove
16781 * gst/gsttypes.h: remove GstEvent and GstMessage
16782 * gst/gstelement.c: (gst_element_post_message): fix for API changes
16783 * gst/gstmarshal.list: change BOXED -> OBJECT
16785 Implement GstMiniObject.
16786 * gst/gstminiobject.c:
16787 * gst/gstminiobject.h:
16789 Modify to be subclasses of GstMiniObject.
16790 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
16791 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
16792 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
16793 (gst_subbuffer_get_type), (gst_subbuffer_init),
16794 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
16797 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
16798 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
16799 (_gst_event_copy), (gst_event_new):
16801 * gst/gstmessage.c: (_gst_message_initialize),
16802 (gst_message_get_type), (gst_message_class_init),
16803 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
16804 (gst_message_new), (gst_message_new_error),
16805 (gst_message_new_warning), (gst_message_new_tag),
16806 (gst_message_new_state_changed), (gst_message_new_application):
16807 * gst/gstmessage.h:
16808 * gst/gstprobe.c: (gst_probe_perform),
16809 (gst_probe_dispatcher_dispatch):
16811 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
16812 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
16813 (_gst_query_copy), (gst_query_new):
16815 Update elements for GstData -> GstMiniObject changes
16817 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
16818 (gst_queue_chain), (gst_queue_loop):
16819 * gst/elements/gstbufferstore.c:
16820 (gst_buffer_store_add_buffer_func),
16821 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
16822 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16823 (gst_fakesink_render):
16824 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
16825 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
16826 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
16827 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
16828 (gst_filesrc_create_read):
16829 * gst/elements/gstidentity.c: (gst_identity_class_init):
16830 * gst/elements/gsttypefindelement.c:
16831 (gst_type_find_element_src_event), (free_entry_buffers),
16832 (gst_type_find_element_handle_event):
16833 * libs/gst/dataprotocol/dataprotocol.c:
16834 (gst_dp_header_from_buffer):
16835 * libs/gst/dataprotocol/dataprotocol.h:
16836 * libs/gst/dataprotocol/dp-private.h:
16838 2005-05-15 David Schleef <ds@schleef.org>
16840 * gst/elements/gstelements.c: Don't include headers that were
16843 2005-05-15 David Schleef <ds@schleef.org>
16845 * gst/elements/Makefile.am: Remove some elements that don't
16846 need to be in the core (or even exist at all).
16847 * gst/elements/gstaggregator.c:
16848 * gst/elements/gstaggregator.h:
16849 * gst/elements/gstmd5sink.c:
16850 * gst/elements/gstmd5sink.h:
16851 * gst/elements/gstmultifilesrc.c:
16852 * gst/elements/gstmultifilesrc.h:
16853 * gst/elements/gstpipefilter.c:
16854 * gst/elements/gstpipefilter.h:
16855 * gst/elements/gstshaper.c:
16856 * gst/elements/gstshaper.h:
16857 * gst/elements/gststatistics.c:
16858 * gst/elements/gststatistics.h:
16859 * po/POTFILES.in: Remove above files.
16861 2005-05-14 Andy Wingo <wingo@pobox.com>
16863 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
16864 so as to get the refs right.
16865 (sink_iterator_filter): New function, wraps bin_element_is_sink,
16866 unreffing objects that don't pass the filter.
16868 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
16869 gst_element_set_bus.
16870 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
16871 normal cases, this will destroy the bus.
16873 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
16876 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
16879 2005-05-13 Andy Wingo <wingo@pobox.com>
16881 * gst/gstutils.c (gst_element_link_pads): Instead of calling
16882 gst_pad_link, call pad_link_maybe_ghosting,
16883 (pad_link_maybe_ghosting): Links pads, making sure that the
16884 elements being linked are in the same bin.
16885 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
16886 Helpers for pad_link_maybe_ghosting.
16888 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
16891 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
16893 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
16895 * docs/design/part-element-source.txt:
16898 2005-05-12 Wim Taymans <wim@fluendo.com>
16900 * gst/base/gstbasesink.c: (gst_basesink_init),
16901 (gst_basesink_activate):
16902 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
16903 (gst_basesrc_is_seekable):
16904 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16905 (bin_element_is_sink), (gst_bin_change_state):
16906 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16907 * gst/gstelement.h:
16908 Identify sinks by their flag to avoid overly complicated
16910 Do state changes even for elements not reachable from the
16912 BaseSink is a sink now :)
16913 Some more debugging info in the basesrc.
16916 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16918 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
16919 Implement _query on a bin, similar to _send_event.
16921 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
16923 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
16924 Discont event offset format should be GST_FORMAT_BYTES,
16925 not GST_FORMAT_TIME.
16927 2005-05-12 Wim Taymans <wim@fluendo.com>
16929 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
16930 Same fix as Ronald's but without the signal.
16932 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16934 * gst/gstutils.c: (gst_element_query_position):
16935 No, an element is not a pad.
16937 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16939 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
16940 (gst_bin_get_state):
16941 If a child is removed from a bin while we remove the child from
16942 the bin and while we're retrieving its state, signal this to the
16943 get_state function so we abort the wait (instead of waiting for
16944 a timeout) and can immediately re-iterate over all other elements.
16946 2005-05-12 Wim Taymans <wim@fluendo.com>
16948 * gst/base/Makefile.am:
16949 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
16950 (gst_basesrc_start):
16951 * gst/base/gstbasesrc.h:
16952 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
16953 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
16954 (gst_pushsrc_init), (gst_pushsrc_create):
16955 * gst/base/gstpushsrc.h:
16956 Added is_seekable to BaseSrc
16957 Added simple PushSrc.
16959 2005-05-11 Wim Taymans <wim@fluendo.com>
16961 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16962 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16963 (gst_element_link_pads), (gst_element_query_position),
16964 (gst_element_query_convert), (intersect_caps_func),
16965 (gst_pad_query_position), (gst_pad_query_convert):
16966 Fix refcounting in utils function.
16967 No point in trying to activate a pad when it's added, it could
16968 be added from the state change function and then we deadlock, the
16969 element has to decide what to do.
16971 2005-05-10 Andy Wingo <wingo@pobox.com>
16973 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
16974 *all* the arguments.
16976 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
16977 stream lock if it's a FLUSH_DONE; normal flushes don't get the
16978 lock (according to the docs -- if this is wrong change the docs).
16980 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
16981 flush messages in the NULL state.
16983 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
16984 message immediately and return.
16985 (gst_bus_set_flushing): New function. If a bus is flushing, it
16986 flushes out any queued messages and immediately unrefs new
16987 messages. This is so when an element goes to NULL, all of the
16988 unhandled messages coming from it can be freed, and their
16989 references to the element dropped. In other words: message source
16990 ref considered harmful :P
16992 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
16993 we're finished with it.
16995 * gst/gstmessage.c (gst_message_new_state_changed):
16997 2005-05-10 Wim Taymans <wim@fluendo.com>
16999 * gst/gstvalue.c: (gst_value_compare_flags),
17000 (gst_value_serialize_flags), (gst_value_deserialize_flags),
17001 (_gst_value_initialize):
17002 Added flags serialize/deserialize/compare code.
17004 2005-05-09 Andy Wingo <wingo@pobox.com>
17006 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
17007 Intersect the peer's caps with our caps.
17009 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17011 * gst/base/gsttypefindhelper.c: (helper_find_peek):
17012 * gst/elements/gsttypefindelement.c: (find_peek):
17013 Handle negative offsets better. Fixes decodebin.
17015 2005-05-09 Wim Taymans <wim@fluendo.com>
17017 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
17018 (gst_base_transform_event):
17019 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
17020 Implement accept_caps.
17021 Fix silly lock/unlock mismatch in base class.
17023 2005-05-09 Wim Taymans <wim@fluendo.com>
17025 * docs/design/draft-push-pull.txt:
17026 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
17027 * gst/elements/gstfilesink.c: (gst_filesink_init),
17028 (gst_filesink_query):
17029 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17030 (gst_type_find_handle_src_query), (find_element_get_length):
17031 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
17032 * gst/gstelement.h:
17033 * gst/gstmessage.c:
17034 * gst/gstmessage.h:
17035 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
17036 (gst_real_pad_get_caps_unlocked),
17037 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
17038 (gst_pad_event_default_dispatch), (gst_pad_event_default),
17039 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
17040 (gst_real_pad_dispose), (gst_real_pad_finalize),
17041 (gst_pad_load_and_link), (gst_pad_save_thyself),
17042 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
17043 (gst_pad_check_pull_range), (gst_pad_pull_range),
17044 (gst_pad_template_get_type), (gst_pad_template_class_init),
17045 (gst_pad_template_init), (gst_pad_template_dispose),
17046 (name_is_valid), (gst_static_pad_template_get),
17047 (gst_pad_template_new), (gst_static_pad_template_get_caps),
17048 (gst_pad_template_get_caps), (gst_pad_set_element_private),
17049 (gst_pad_get_element_private), (gst_pad_start_task),
17050 (gst_pad_pause_task), (gst_pad_stop_task),
17051 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
17052 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
17053 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
17054 (gst_ghost_pad_new):
17056 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
17057 (gst_query_new_position), (gst_query_set_position),
17058 (gst_query_parse_position), (gst_query_new_convert),
17059 (gst_query_set_convert), (gst_query_parse_convert):
17061 * gst/gstqueryutils.c:
17062 * gst/gstqueryutils.h:
17063 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
17064 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
17065 (gst_queue_handle_src_query):
17066 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17067 (gst_element_query_position), (gst_element_query_convert),
17068 (intersect_caps_func), (gst_pad_query_position),
17069 (gst_pad_query_convert):
17071 * tools/gst-inspect.c: (print_pad_info):
17072 * tools/gst-xmlinspect.c: (print_element_info):
17073 Remove old query functions. Ported old code.
17074 Added position/convert helper functions to gstutils.
17075 Reordered gstpad.c code, grouping relevant things.
17076 Remove gst_message_new(), always need to speficy a specific
17080 2005-05-09 Andy Wingo <wingo@pobox.com>
17082 * gst/gstiterator.h: Add some includes.
17084 * gst/gstqueryutils.h: Include more headers.
17087 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
17088 some uses of gst_pad_query.
17090 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
17091 NULL out parameters.
17092 (gst_query_new_position): New proc, allocates a new position
17095 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
17096 gstqueryutils.c to the build.
17098 * gst/gststructure.c (gst_structure_set_valist): Implement with
17099 the generic G_VALUE_COLLECT.
17101 2005-05-08 Edward Hervey <bilboed@bilboed.com>
17103 * gst/Makefile.am: (gst_headers):
17104 Added gstqueryutils.h to the list of headers to install, that was
17105 a 'nachty' move wingo :)
17107 2005-05-06 Andy Wingo <wingo@pobox.com>
17110 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
17111 GstData, init a memchunk.
17112 (standard_definitions): Add a few query types, deprecate a few.
17113 (gst_query_get_type): New proc.
17114 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
17116 (gst_query_new_application, gst_query_get_structure): New public
17119 * docs/design/draft-query.txt: Removed LINKS from the query types,
17120 because all the rest can be dispatched to other pads -- seemed
17121 ugly to have a query that couldn't be dispatched. internal_links
17122 is fine as a pad method.
17124 * gst/gstpad.h: Add query2 as a pad method, add the new functions
17125 in gstpad.c, but maintain binary compatibility for the moment.
17126 Will fix before 0.9 is out.
17128 * gst/gstqueryutils.c:
17129 * gst/gstqueryutils.h: New files, implement 3 methods for each
17130 query type: parse_query, parse_response, and set. Probably need an
17133 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
17135 * gst/elements/gstfilesink.c (gst_filesink_query2):
17136 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
17137 query_types, and formats methods.
17139 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
17140 (gst_pad_set_query2_function): New functions.
17141 (gst_real_pad_init): Set query2_default as the default query2
17142 function. Basically just dispatches to internally linked pads.
17146 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
17147 without using the atomic operations. Only one thread can possibly
17148 be accessing the data at this point. Changed so as to avoid
17149 gst_atomic operations.
17151 2005-05-06 Wim Taymans <wim@fluendo.com>
17153 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
17154 Also set caps if we use the fallback buffer alloc.
17156 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
17158 * docs/gst/Makefile.am:
17159 * docs/gst/gstreamer-docs.sgml:
17160 * docs/gst/gstreamer-sections.txt:
17161 * docs/gst/tmpl/gstatomic.sgml:
17162 * docs/gst/tmpl/gstmemchunk.sgml:
17163 * testsuite/elements/struct_i386.h:
17164 * win32/GStreamer.vcproj:
17166 Purge GstAtomic stuff from docs and win32 makefiles as well
17168 2005-05-06 Wim Taymans <wim@fluendo.com>
17170 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
17171 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
17172 * gst/gstpad.c: (gst_pad_peer_get_caps):
17173 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
17174 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
17175 (gst_queue_src_activate), (gst_queue_change_state):
17177 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17178 (intersect_caps_func):
17179 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
17180 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
17181 Some fixes for the peer_get_caps() change.
17183 2005-05-06 Wim Taymans <wim@fluendo.com>
17185 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17186 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
17187 (gst_basesink_activate):
17188 Actually do something with error codes returned from the push
17191 2005-05-06 Wim Taymans <wim@fluendo.com>
17193 * docs/design/part-element-sink.txt:
17194 * docs/design/part-element-source.txt:
17195 * gst/base/gstbasesink.c: (gst_basesink_class_init),
17196 (gst_basesink_event), (gst_basesink_activate):
17197 * gst/base/gstbasesink.h:
17198 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
17199 (gst_basesrc_activate):
17200 * gst/base/gstbasesrc.h:
17201 * gst/gstelement.c: (gst_element_pads_activate):
17202 Some more documentation.
17203 Fixed scheduling decision in _pads_activate().
17205 2005-05-05 Andy Wingo <wingo@pobox.com>
17207 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
17210 2005-05-05 Wim Taymans <wim@fluendo.com>
17212 * gst/base/Makefile.am:
17213 * gst/base/gstbasesink.h:
17214 * gst/base/gstbasesrc.c: (gst_basesrc_init),
17215 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
17216 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
17217 (gst_collectpads_class_init), (gst_collectpads_init),
17218 (gst_collectpads_finalize), (gst_collectpads_new),
17219 (gst_collectpads_set_function), (gst_collectpads_add_pad),
17220 (find_pad), (gst_collectpads_remove_pad),
17221 (gst_collectpads_is_active), (gst_collectpads_collect),
17222 (gst_collectpads_collect_range), (gst_collectpads_start),
17223 (gst_collectpads_stop), (gst_collectpads_peek),
17224 (gst_collectpads_pop), (gst_collectpads_available),
17225 (gst_collectpads_read), (gst_collectpads_flush),
17226 (gst_collectpads_chain):
17227 * gst/base/gstcollectpads.h:
17228 * gst/elements/Makefile.am:
17229 * gst/elements/gstelements.c:
17230 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17231 (gst_fakesink_get_times), (gst_fakesink_event),
17232 (gst_fakesink_preroll), (gst_fakesink_render):
17233 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
17234 (gst_filesink_init), (gst_filesink_set_location),
17235 (gst_filesink_open_file), (gst_filesink_close_file),
17236 (gst_filesink_pad_query), (gst_filesink_event),
17237 (gst_filesink_render), (gst_filesink_change_state):
17238 * gst/elements/gstfilesink.h:
17239 Added object to help in making collect pad based elements.
17241 Make event function in sink baseclass return gboolean.
17243 2005-05-05 Wim Taymans <wim@fluendo.com>
17245 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
17246 (gst_bin_get_by_name):
17248 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
17249 (gst_clock_finalize):
17250 * gst/gstdata.c: (gst_data_replace):
17252 * gst/gstelement.c: (gst_element_request_pad),
17253 (gst_element_pads_activate):
17254 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
17255 (gst_object_unref):
17256 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17257 (gst_pad_set_checkgetrange_function),
17258 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
17259 (gst_pad_check_pull_range), (gst_pad_pull_range),
17260 (gst_static_pad_template_get_caps), (gst_pad_start_task),
17261 (gst_pad_pause_task), (gst_pad_stop_task):
17262 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17263 (gst_element_request_pad), (gst_pad_proxy_getcaps):
17264 Fix name lookup in GstBin.
17265 Added _data_replace() function and _buffer_replace()
17266 Use finalize method to clean up clock.
17267 Fix refcounting on request pads.
17268 Fix pad schedule mode error.
17269 Some more object refcounting debug info,
17272 2005-05-04 Andy Wingo <wingo@pobox.com>
17274 * check/Makefile.am:
17275 * docs/gst/tmpl/gstatomic.sgml:
17276 * docs/gst/tmpl/gstplugin.sgml:
17277 * gst/base/gstbasesink.c: (gst_basesink_activate):
17278 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
17279 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
17280 (gst_basesrc_query), (gst_basesrc_set_property),
17281 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
17282 (gst_basesrc_activate):
17283 * gst/base/gstbasesrc.h:
17284 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
17285 (gst_base_transform_src_activate):
17286 * gst/elements/gstelements.c:
17287 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17288 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17289 * gst/elements/gsttee.c: (gst_tee_sink_activate):
17290 * gst/elements/gsttypefindelement.c: (find_element_get_length),
17291 (gst_type_find_element_checkgetrange),
17292 (gst_type_find_element_activate):
17293 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
17294 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
17295 (gst_caps_load_thyself):
17296 * gst/gstelement.c: (gst_element_pads_activate),
17297 (gst_element_save_thyself), (gst_element_restore_thyself):
17298 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
17299 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
17301 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
17302 (gst_xml_parse_file), (gst_xml_parse_memory),
17303 (gst_xml_get_element), (gst_xml_make_element):
17304 * gst/indexers/gstfileindex.c: (gst_file_index_load),
17305 (_file_index_id_save_xml), (gst_file_index_commit):
17306 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
17307 (read_enum), (load_pad_template), (load_feature), (load_plugin),
17309 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
17310 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
17311 * tools/gst-complete.c: (main):
17312 * tools/gst-compprep.c: (main):
17313 * tools/gst-inspect.c: (print_element_properties_info):
17314 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
17315 * tools/gst-xmlinspect.c: (print_element_properties):
17318 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
17320 * gst/gstplugin.c: (gst_plugin_check_module),
17321 (gst_plugin_check_file), (gst_plugin_load_file):
17322 apply patch from #172526 to make register work on MacOSX
17324 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
17326 * docs/gst/tmpl/gstconfig.sgml:
17327 * gst/gstconfig.h.in:
17328 move documentation for some symbols. Add doc for GST_PTR_FORMAT
17329 * testsuite/debug/printf_extension.c: (main):
17330 Do not use GST_PTR_FORMAT on pointers to types with
17331 sizeof < sizeof(gpointer). Fixes test on 64-bit
17332 * testsuite/elements/property.h:
17333 use correct printf format
17335 2005-05-02 Wim Taymans <wim@fluendo.com>
17337 * docs/design/draft-push-pull.txt:
17338 * docs/design/draft-query.txt:
17339 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
17340 (gst_basesrc_start):
17341 Added draft for new query API.
17342 Added draft for better selecting scheduling methods.
17343 Make basesrc ignore length if the subclass does not support
17346 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
17349 possible fixes for automake-1.5 - _LIBADD is reserved
17351 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
17353 * docs/faq/Makefile.am:
17354 * docs/manual/Makefile.am:
17355 * docs/manuals.mak:
17356 * docs/pwg/Makefile.am:
17358 possible fixes for automake-1.5
17360 2005-04-28 Wim Taymans <wim@fluendo.com>
17362 * gst/base/gstbasesink.c: (gst_basesink_base_init),
17363 (gst_basesink_pad_getcaps), (gst_basesink_init),
17364 (gst_basesink_do_sync):
17365 * gst/gstclock.c: (gst_clock_entry_new):
17366 * gst/gstevent.c: (gst_event_discont_get_value):
17367 * gst/gstpipeline.c: (pipeline_bus_handler),
17368 (gst_pipeline_change_state):
17369 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17370 Better debugging of clocking info.
17371 Allow NULL values when getting discont values.
17373 2005-04-27 Wim Taymans <wim@fluendo.com>
17375 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
17376 * check/gst/gstpad.c: (gst_pad_suite):
17377 Increase timeout for checks.
17379 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17381 * check/Makefile.am:
17382 fix the broken rule for cleanup. Apparently this rule is
17383 only needed on FC2, so maybe this warrants further autotool
17386 2005-04-26 Wim Taymans <wim@fluendo.com>
17388 * gst/gsttrashstack.h:
17389 Ooohh. a nasty one! After having a failed pop() from the stack,
17390 it's possible that the stack is empty. In that case, don't
17391 follow the NULL pointer.
17393 2005-04-25 Wim Taymans <wim@fluendo.com>
17395 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17396 (gst_pad_set_checkgetrange_function),
17397 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
17398 (gst_pad_check_pull_range), (gst_pad_pull_range),
17399 (gst_static_pad_template_get_caps), (gst_pad_start_task),
17400 (gst_pad_pause_task), (gst_pad_stop_task):
17401 * gst/gstplugin.c: (gst_plugin_load):
17403 Remove gst_library_load as it does more harm than good with
17404 the new g_module flags.
17405 Revert bogus caps template check in pad linking, pad caps
17406 are important when linking not the template, which is more
17407 general than the current caps.
17409 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17411 * gst/autoplug/.cvsignore:
17412 * gst/autoplug/Makefile.am:
17413 * gst/autoplug/gstsearchfuncs.c:
17414 * gst/autoplug/gstsearchfuncs.h:
17415 * gst/autoplug/gstspider.c:
17416 * gst/autoplug/gstspider.h:
17417 * gst/autoplug/gstspideridentity.c:
17418 * gst/autoplug/gstspideridentity.h:
17419 * gst/autoplug/spidertest.c:
17422 2005-04-25 Wim Taymans <wim@fluendo.com>
17424 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17425 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
17426 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
17427 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
17429 Added stubs for unimplemented functions.
17431 2005-04-24 David Schleef <ds@schleef.org>
17433 * gst/gstpad.h: Disable some unimplemented functions. Wim,
17436 2005-04-24 David Schleef <ds@schleef.org>
17438 Convert everything from GstAtomicInt to g_atomic_int_*, and
17443 * gst/gstatomic_impl.h:
17451 * gst/gstdata_private.h:
17455 * gst/gstmessage.c:
17458 * gst/gststructure.c:
17459 * gst/gststructure.h:
17460 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
17463 2005-04-24 David Schleef <ds@schleef.org>
17465 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
17466 make the regressions tests work. Remove some code that is no
17468 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
17469 Disable warning for pads without templates.
17471 2005-04-24 David Schleef <ds@schleef.org>
17473 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
17474 functions that handle filtered links.
17475 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
17477 * gst/gstutils.c: Fix/remove utility functions that handle
17480 * gst/gstvalue.c: Add serialization/deserialization of caps
17481 * gst/parse/grammar.y: Ignore filtered caps when linking. This
17482 requires fixing so that the filter caps notation creates
17483 a capsfilter element and sets the filter_caps property. I
17484 think everyone probably wants to keep the shorthand notation.
17485 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
17486 * docs/gst/tmpl/gstpad.sgml:
17488 * gst/elements/gstelements.c: Register capsfilter element.
17489 * gst/Makefile.am: fix spacing
17490 * docs/random/ds/0.9-suggested-changes: random
17492 2005-04-23 David Schleef <ds@schleef.org>
17494 * gst/elements/Makefile.am:
17495 * gst/elements/gstcapsfilter.c: New element that acts like an
17496 identity, but filters caps. Will eventually replace filtered
17497 caps in pad linking.
17498 * gst/gstutils.c: (gst_element_create_all_pads): New function
17499 to create all the ALWAYS pads that are registered with an
17500 element class. This functionality should eventually be
17501 merged in with GstElement initialization.
17503 * testsuite/trigger/README: part of trigger test code that should
17504 have been checked in a long time ago.
17506 2005-04-23 David Schleef <ds@schleef.org>
17508 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
17509 needed with new versions of libtool (nobody will confirm this),
17510 and hard to carry around.
17511 * gst/autoplug/Makefile.am:
17512 * gst/base/Makefile.am:
17513 * gst/elements/Makefile.am:
17514 * gst/indexers/Makefile.am:
17515 * gst/schedulers/Makefile.am:
17516 * libs/gst/bytestream/Makefile.am:
17517 * libs/gst/control/Makefile.am:
17518 * libs/gst/dataprotocol/Makefile.am:
17519 * libs/gst/getbits/Makefile.am:
17521 2005-04-21 Wim Taymans <wim@fluendo.com>
17523 * docs/design/draft-push-pull.txt:
17524 * docs/design/part-MT-refcounting.txt:
17525 * docs/design/part-TODO.txt:
17526 * docs/design/part-caps.txt:
17527 * docs/design/part-events.txt:
17528 * docs/design/part-gstbus.txt:
17529 * docs/design/part-gstpipeline.txt:
17530 * docs/design/part-messages.txt:
17531 * docs/design/part-push-pull.txt:
17532 * docs/design/part-query.txt:
17535 2005-04-21 Wim Taymans <wim@fluendo.com>
17537 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
17538 (gst_message_new), (gst_message_new_error),
17539 (gst_message_new_warning), (gst_message_new_tag),
17540 (gst_message_new_state_changed), (gst_message_new_application),
17541 (gst_message_get_structure):
17542 * gst/gstmessage.h:
17543 * gst/gststructure.c: (gst_structure_set_parent_refcount),
17544 (gst_structure_copy_conditional):
17545 Use parent refcount in GstMessage to ensure GstStructure
17547 Cleaned up headers a bit.
17550 2005-04-20 Wim Taymans <wim@fluendo.com>
17552 * gst/base/gstbasesink.c: (gst_basesink_base_init),
17553 (gst_basesink_pad_getcaps), (gst_basesink_init),
17554 (gst_basesink_chain_unlocked):
17555 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
17556 (gst_type_find_helper):
17557 * gst/elements/gsttypefindelement.c:
17558 (gst_type_find_element_have_type), (gst_type_find_element_init),
17559 (stop_typefinding), (gst_type_find_element_handle_event),
17560 (find_suggest), (gst_type_find_element_chain),
17561 (gst_type_find_element_checkgetrange),
17562 (gst_type_find_element_getrange), (do_typefind),
17563 (gst_type_find_element_activate):
17564 * gst/gstbuffer.c: (_gst_buffer_sub_free),
17565 (gst_buffer_default_free), (gst_buffer_default_copy),
17566 (gst_buffer_set_caps):
17567 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
17568 (gst_caps_replace):
17569 * gst/gstmessage.c: (gst_message_new),
17570 (gst_message_new_state_changed):
17571 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17572 (gst_pad_set_checkgetrange_function),
17573 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
17574 (gst_pad_set_caps), (gst_pad_check_pull_range),
17575 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
17577 * gst/gsttypefind.c: (gst_type_find_register):
17578 Make gst_caps_replace() work like other _replace() functions.
17579 Use _caps_replace() where possible.
17580 Make sure _message_new() initialises its field.
17581 Add gst_static_pad_template_get_caps()
17584 2005-04-18 Andy Wingo <wingo@pobox.com>
17586 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
17587 on the peer, not the pad. I think that was a typo. Pass an extra
17588 arg to see if random access is possible. Activate the pads as
17589 PULL_RANGE if possible.
17591 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
17593 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
17594 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
17597 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17599 * docs/faq/using.xml:
17600 Add note on gstreamer-properties (#154996).
17602 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17604 * docs/random/bbb/optional-properties:
17605 Some analysis on optional properties.
17607 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17609 * docs/gst/tmpl/gstelementfactory.sgml:
17610 * gst/gstelement.h:
17611 * gst/gstelementfactory.c: (gst_element_factory_init),
17612 (gst_element_factory_cleanup), (gst_element_register),
17613 (__gst_element_factory_add_static_pad_template),
17614 (gst_element_factory_get_static_pad_templates),
17615 (gst_element_factory_can_src_caps),
17616 (gst_element_factory_can_sink_caps):
17617 * gst/registries/Makefile.am:
17618 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
17619 (gst_xml_registry_class_init), (gst_xml_registry_init),
17620 (gst_xml_registry_new), (gst_xml_registry_set_property),
17621 (gst_xml_registry_get_property), (get_time), (make_dir),
17622 (gst_xml_registry_get_perms_func),
17623 (plugin_times_older_than_recurse), (plugin_times_older_than),
17624 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
17625 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
17626 (add_to_char_array), (read_string), (read_uint), (read_enum),
17627 (load_pad_template), (load_feature), (load_plugin), (load_paths),
17628 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
17629 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
17630 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
17631 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
17632 (gst_xml_registry_rebuild):
17633 * gst/registries/gstlibxmlregistry.h:
17634 * tools/gst-compprep.c: (main):
17635 * tools/gst-inspect.c: (print_pad_templates_info):
17636 * tools/gst-xmlinspect.c: (print_element_info):
17637 Use libxml2 for registry parsing, use staticpadtemplates in
17638 elementfactories. Makes gst_init() +/- 10x faster.
17640 2005-04-12 Wim Taymans <wim@fluendo.com>
17642 * gst/base/Makefile.am:
17643 * gst/base/gstbasesink.c: (gst_basesink_base_init),
17644 (gst_basesink_pad_getcaps), (gst_basesink_init),
17645 (gst_basesink_event), (gst_basesink_change_state):
17646 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17647 (gst_basesrc_init), (gst_basesrc_query),
17648 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
17649 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
17650 (gst_basesrc_check_get_range), (gst_basesrc_loop),
17651 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
17652 (gst_basesrc_stop), (gst_basesrc_activate),
17653 (gst_basesrc_change_state):
17654 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17655 (helper_find_suggest), (gst_type_find_helper):
17656 * gst/base/gsttypefindhelper.h:
17657 * gst/elements/Makefile.am:
17658 * gst/elements/gstelements.c:
17659 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17660 (gst_fakesink_get_times), (gst_fakesink_event),
17661 (gst_fakesink_preroll), (gst_fakesink_render):
17662 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17663 (gst_fakesrc_init), (gst_fakesrc_event_handler),
17664 (gst_fakesrc_get_property), (gst_fakesrc_create),
17665 (gst_fakesrc_start), (gst_fakesrc_stop):
17666 * gst/elements/gstfakesrc.h:
17667 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
17668 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
17669 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
17670 (gst_filesrc_create_read), (gst_filesrc_create),
17671 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
17672 (gst_filesrc_start):
17673 * gst/elements/gsttypefindelement.c:
17674 (gst_type_find_element_have_type), (gst_type_find_element_init),
17675 (start_typefinding), (stop_typefinding), (push_buffer_store),
17676 (gst_type_find_element_handle_event),
17677 (gst_type_find_element_chain),
17678 (gst_type_find_element_checkgetrange),
17679 (gst_type_find_element_getrange), (do_typefind),
17680 (gst_type_find_element_activate),
17681 (gst_type_find_element_change_state):
17682 * gst/elements/gsttypefindelement.h:
17683 * gst/gstpipeline.c: (pipeline_bus_handler):
17684 Added typefind helper.
17685 Small preroll fix in the base sink.
17686 Disable typefind code in basesrc.
17687 Crude port of typefindelement.
17691 2005-04-11 Wim Taymans <wim@fluendo.com>
17693 * check/gst/gstbus.c: (gstbus_suite):
17694 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
17695 * check/gstcheck.h:
17696 Fix up the timeout so that the test does not fail.
17698 2005-04-06 Wim Taymans <wim@fluendo.com>
17701 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17702 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
17703 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
17704 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
17705 (gst_basesrc_check_get_range), (gst_basesrc_loop),
17706 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
17707 (gst_basesrc_stop), (gst_basesrc_activate),
17708 (gst_basesrc_change_state), (basesrc_find_peek),
17709 (basesrc_find_suggest), (gst_basesrc_type_find):
17710 * gst/base/gstbasesrc.h:
17711 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
17712 (gst_filesrc_class_init), (gst_filesrc_init),
17713 (gst_filesrc_finalize), (gst_filesrc_set_location),
17714 (gst_filesrc_set_property), (gst_filesrc_get_property),
17715 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
17716 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
17717 (gst_filesrc_create_read), (gst_filesrc_create),
17718 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
17719 * gst/elements/gstfilesrc.h:
17720 * gst/gstelement.c: (gst_element_get_state_func),
17721 (gst_element_lost_state), (gst_element_pads_activate):
17722 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17723 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
17724 (gst_pad_pull_range):
17726 More work on the generic source base class, implement seeking,
17728 Make filesrc extend the base source class.
17729 Added gst_pad_set_checkgetrange_function to GstPad.
17731 2005-04-06 Andy Wingo <wingo@pobox.com>
17733 * pkgconfig/gstreamer-base.pc.in:
17734 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
17736 * pkgconfig/Makefile.am:
17737 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
17739 2005-04-04 Wim Taymans <wim@fluendo.com>
17741 * gst/base/Makefile.am:
17743 * gst/base/gstbasesink.c: (gst_basesink_base_init),
17744 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17745 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17746 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
17747 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17748 (gst_basesrc_base_init), (gst_basesrc_class_init),
17749 (gst_basesrc_init), (gst_basesrc_get_formats),
17750 (gst_basesrc_get_query_types), (gst_basesrc_query),
17751 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
17752 (gst_basesrc_set_property), (gst_basesrc_get_property),
17753 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
17754 (gst_basesrc_loop), (gst_basesrc_activate),
17755 (gst_basesrc_change_state):
17756 * gst/base/gstbasesrc.h:
17757 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
17758 (gst_fakesrc_class_init), (gst_fakesrc_init),
17759 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
17760 (gst_fakesrc_get_property), (gst_fakesrc_create):
17761 * gst/elements/gstfakesrc.h:
17762 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
17763 (gst_filesrc_open_file), (gst_filesrc_loop),
17764 (gst_filesrc_activate), (filesrc_find_peek),
17765 (gst_filesrc_type_find):
17766 Made base source class, make fakesrc extend it.
17767 Add comments to basesink class.
17768 Some filesrc cleanup.
17770 2005-03-31 David Schleef <ds@schleef.org>
17772 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
17773 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
17774 expected to link against libgstreamer.
17775 * gst/base/Makefile.am: link against libgstreamer
17776 * gst/elements/Makefile.am: same
17778 2005-03-31 Andy Wingo <wingo@pobox.com>
17780 * tests/instantiate/Makefile.am:
17781 * tests/instantiate/caps.c: Add test to test speed of caps copy
17784 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
17785 GMemChunk to be fair.
17787 * gst/gsttrashstack.h: Remove warning about using the fallback
17788 trash stack implementation, it's still faster than malloc.
17790 2005-03-30 Andy Wingo <wingo@pobox.com>
17792 * tests/complexity.c: Add a copyright.
17794 2005-03-31 Wim Taymans <wim@fluendo.com>
17796 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
17797 (gst_base_transform_class_init), (gst_base_transform_init),
17798 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
17799 (gst_base_transform_get_property),
17800 (gst_base_transform_sink_activate),
17801 (gst_base_transform_src_activate),
17802 (gst_base_transform_change_state):
17803 * gst/base/gstbasetransform.h:
17804 * gst/elements/gstidentity.c: (gst_identity_class_init),
17805 (gst_identity_event), (gst_identity_check_perfect),
17806 (gst_identity_transform), (gst_identity_start),
17807 (gst_identity_stop):
17808 Added start/stop methods to transform base class so subclasses
17809 don't need to deal with state changes even.
17811 2005-03-31 Wim Taymans <wim@fluendo.com>
17813 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
17814 (gst_event_new_discontinuous), (gst_event_discont_get_value):
17816 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17817 (gst_pad_pull_range):
17818 Added rate to the discont event to prepare for variable speed
17819 and reverse playback.
17821 2005-03-29 David Schleef <ds@schleef.org>
17824 * testsuite/trigger/Makefile.am:
17825 * testsuite/trigger/trigger.c: A little example program to show
17826 how trigger-based elements can work.
17828 2005-03-29 Wim Taymans <wim@fluendo.com>
17830 * gst/base/Makefile.am:
17832 * gst/base/gstbasesink.c: (gst_basesink_get_type),
17833 (gst_basesink_base_init), (gst_basesink_class_init),
17834 (gst_basesink_pad_getcaps), (gst_basesink_init),
17835 (gst_basesink_activate), (gst_basesink_change_state):
17836 * gst/base/gstbasesink.h:
17837 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
17838 (gst_base_transform_base_init), (gst_base_transform_finalize),
17839 (gst_base_transform_class_init), (gst_base_transform_init),
17840 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
17841 (gst_base_transform_event), (gst_base_transform_getrange),
17842 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
17843 (gst_base_transform_set_property),
17844 (gst_base_transform_get_property),
17845 (gst_base_transform_sink_activate),
17846 (gst_base_transform_src_activate),
17847 (gst_base_transform_change_state):
17848 * gst/base/gstbasetransform.h:
17849 * gst/elements/gstidentity.c: (gst_identity_finalize),
17850 (gst_identity_class_init), (gst_identity_init),
17851 (gst_identity_event), (gst_identity_check_perfect),
17852 (gst_identity_transform), (gst_identity_set_property),
17853 (gst_identity_get_property), (gst_identity_change_state):
17854 * gst/elements/gstidentity.h:
17855 * gst/gstelement.c: (gst_element_get_state_func),
17856 (gst_element_lost_state), (gst_element_pads_activate):
17857 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17858 (gst_pad_check_pull_range), (gst_pad_pull_range):
17860 Simplify pad activation.
17861 Added function to check if pull_range can be performed.
17862 Error out when pulling inactive or flushing pads.
17863 Removed const from refcounted types as it does not make sense.
17864 Simplify pad templates in basesink
17865 Added base class for simple 1-to-1 transforms.
17866 Make identity subclass the base transform.
17868 2005-03-29 Andy Wingo <wingo@pobox.com>
17870 * docs/libs/gstreamer-libs-overrides.txt:
17871 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
17872 really don't understand what's going on, but like whatever. I want
17875 * docs/gst/Makefile.am:
17876 * docs/libs/Makefile.am: Dist the overrides files.
17878 * check/Makefile.am (clean-local): Remove .libs directories.
17880 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
17881 elements to EXTRA_DIST, so po/ files are happy.
17883 * po/POTFILES.in: Er, remove it here.
17885 * po/POTFILES: Remove gstspider.c.
17887 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
17889 * docs/libs/gstreamer-libs-docs.sgml:
17890 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
17893 * tests/complexity.c (main): Set the length of the preroll queue
17894 on the sinks to prevent a lockup.
17896 * libs/gst/dataprotocol/Makefile.am:
17897 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
17898 the same as the one in check/gst-libs/gdp.c.
17900 * po/, docs/gst/: Commit automatic changes to docs and po files.
17902 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
17903 the versioned libgstbase.
17905 * check/Makefile.am: Depend on an unversioned gst-register, seems
17906 to make autoconf happier.
17908 * gst/base/Makefile.am: Make libgstbase a versioned lib.
17910 2005-03-28 Wim Taymans <wim@fluendo.com>
17913 * docs/design/part-gstelement.txt:
17914 * docs/design/part-negotiation.txt:
17915 * docs/design/part-preroll.txt:
17916 * docs/design/part-scheduling.txt:
17917 * docs/design/part-states.txt:
17919 * gst/base/Makefile.am:
17921 * gst/base/gstbasesink.c: (gst_basesink_get_template),
17922 (gst_basesink_base_init), (gst_basesink_class_init),
17923 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17924 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17925 (gst_basesink_set_pad_functions),
17926 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
17927 (gst_basesink_set_property), (gst_basesink_get_property),
17928 (gst_base_sink_get_template), (gst_base_sink_get_caps),
17929 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
17930 (gst_basesink_preroll_queue_push),
17931 (gst_basesink_preroll_queue_empty),
17932 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
17933 (gst_basesink_event), (gst_basesink_get_times),
17934 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
17935 (gst_basesink_chain_unlocked), (gst_basesink_chain),
17936 (gst_basesink_loop), (gst_basesink_activate),
17937 (gst_basesink_change_state):
17938 * gst/base/gstbasesink.h:
17939 * gst/elements/Makefile.am:
17940 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
17941 (gst_fakesink_class_init), (gst_fakesink_init),
17942 (gst_fakesink_set_property), (gst_fakesink_get_property),
17943 (gst_fakesink_get_times), (gst_fakesink_event),
17944 (gst_fakesink_preroll), (gst_fakesink_render),
17945 (gst_fakesink_change_state):
17946 * gst/elements/gstfakesink.h:
17947 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17948 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
17949 * gst/gstelement.c: (gst_element_add_pad),
17950 (gst_element_get_state_func), (gst_element_abort_state),
17951 (gst_element_commit_state), (gst_element_lost_state),
17952 (gst_element_set_state), (gst_element_pads_activate):
17953 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
17954 * gst/gstpipeline.c: (gst_pipeline_send_event),
17955 (gst_pipeline_change_state):
17956 Added state change code.
17957 Added/updated docs.
17958 Added sink base class, make fakesink extend the base class.
17959 Small cleanups in GstPipeline.
17961 2005-03-26 David Schleef <ds@schleef.org>
17963 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
17964 is broken and should be implemented in a different library.
17965 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
17966 * gst/gst.h: remove gstcpu.h
17967 * gst/gstcpu.c: remove
17968 * gst/gstcpu.h: remove
17969 * gst/Makefile.am.future: Remove this file. It's ancient.
17971 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17973 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17974 (gst_bin_send_event):
17975 Add default event/set_manager handlers. The set_manager handler
17976 takes care that the manager is distributed over kids that were
17977 already in the bin before the manager was set. The event handler
17978 is a utility virtual function that sends the event over all sinks,
17979 so that gst_element_send_event (bin, event); has the expected
17981 * gst/gstpad.c: (gst_pad_event_default):
17982 Re-install default event handling for discontinuities, so that
17983 seeking works without requiring hacks in applications or extra
17985 * gst/gstpipeline.c: (gst_pipeline_class_init),
17986 (gst_pipeline_send_event):
17987 Half hack, half utility: set a pipeline to PAUSED for seek events,
17988 since that is the only way we can guarantee a/v sync. Means that
17989 you can do gst_element_seek (pipeline, method, pos); on a pipeline
17990 and it "just works".
17992 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17994 * gst/gstpipeline.c: (gst_pipeline_use_clock):
17995 Lock/unlock mismatch.
17997 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
17999 * docs/faq/gst-uninstalled:
18000 add gst-plugins-base
18001 * docs/gst/Makefile.am:
18002 don't error out until docs are fixed
18003 * docs/gst/gstreamer.types:
18006 2005-03-22 Wim Taymans <wim@fluendo.com>
18008 * check/Makefile.am:
18009 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
18010 * gst/gststructure.c: (gst_structure_set_valist),
18011 (gst_structure_copy_conditional):
18012 Activated more tests.
18013 Added message test.
18014 Added G_TYPE_POINTER to GstStructure.
18017 2005-03-22 Wim Taymans <wim@fluendo.com>
18019 * docs/design/part-TODO.txt:
18020 * docs/design/part-events.txt:
18021 * docs/design/part-gstbin.txt:
18022 * docs/design/part-gstbus.txt:
18023 * docs/design/part-gstpipeline.txt:
18024 * docs/design/part-messages.txt:
18026 * gst/gstmessage.c:
18029 2005-03-21 Wim Taymans <wim@fluendo.com>
18031 * gst/gstbus.c: (gst_bus_post):
18032 Fix copy-and-paste error.
18034 2005-03-21 Wim Taymans <wim@fluendo.com>
18036 * check/Makefile.am:
18038 * gst/elements/Makefile.am:
18039 * gst/elements/gstelements.c:
18040 * gst/elements/gstfakesink.c: (gst_fakesink_init),
18041 (gst_fakesink_event), (gst_fakesink_chain):
18042 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18043 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
18044 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
18045 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
18046 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
18047 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
18048 (gst_fakesrc_loop), (gst_fakesrc_activate),
18049 (gst_fakesrc_change_state):
18050 * gst/elements/gstfakesrc.h:
18051 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
18052 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
18053 (gst_filesrc_open_file), (gst_filesrc_loop),
18054 (gst_filesrc_activate), (gst_filesrc_change_state),
18055 (filesrc_find_peek), (filesrc_find_suggest),
18056 (gst_filesrc_type_find):
18057 * gst/elements/gstidentity.c: (gst_identity_finalize),
18058 (gst_identity_class_init), (gst_identity_init),
18059 (gst_identity_proxy_getcaps), (identity_queue_push),
18060 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
18061 (gst_identity_getrange), (gst_identity_chain),
18062 (gst_identity_sink_loop), (gst_identity_src_loop),
18063 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
18064 (gst_identity_set_property), (gst_identity_get_property),
18065 (gst_identity_change_state):
18066 * gst/elements/gstidentity.h:
18067 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
18068 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
18069 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
18070 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
18071 (gst_tee_sink_activate):
18072 * gst/elements/gsttee.h:
18073 * gst/gst.c: (gst_register_core_elements), (init_post):
18075 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
18076 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
18077 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
18078 (gst_bin_change_state):
18080 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
18081 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
18082 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
18083 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
18084 (gst_bus_set_sync_handler), (gst_bus_create_watch),
18085 (bus_watch_callback), (bus_watch_destroy),
18086 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
18087 (poll_timeout), (gst_bus_poll):
18091 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
18092 (gst_element_post_message), (gst_element_message_full),
18093 (gst_element_get_state_func), (gst_element_get_state),
18094 (gst_element_abort_state), (gst_element_commit_state),
18095 (gst_element_lost_state), (gst_element_set_state),
18096 (gst_element_pads_activate), (gst_element_change_state),
18097 (gst_element_dispose), (gst_element_set_manager_func),
18098 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
18099 (gst_element_set_manager), (gst_element_get_manager),
18100 (gst_element_set_bus), (gst_element_get_bus),
18101 (gst_element_set_scheduler), (gst_element_get_scheduler):
18102 * gst/gstelement.h:
18103 * gst/gstevent.c: (gst_event_new_segment_seek),
18104 (gst_event_new_flush):
18106 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
18107 (_gst_message_free), (gst_message_get_type), (gst_message_new),
18108 (gst_message_new_eos), (gst_message_new_error),
18109 (gst_message_new_warning), (gst_message_new_tag),
18110 (gst_message_new_state_changed), (gst_message_new_application),
18111 (gst_message_get_structure), (gst_message_parse_tag),
18112 (gst_message_parse_state_changed), (gst_message_parse_error),
18113 (gst_message_parse_warning):
18114 * gst/gstmessage.h:
18115 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
18116 (gst_real_pad_set_property), (gst_pad_set_active),
18117 (gst_pad_is_active), (gst_pad_set_blocked_async),
18118 (gst_pad_set_blocked), (gst_pad_is_blocked),
18119 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
18120 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
18121 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
18122 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
18123 (gst_pad_link_filtered), (gst_pad_relink_filtered),
18124 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
18125 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
18126 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
18127 (gst_pad_set_caps), (gst_pad_configure_sink),
18128 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
18129 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
18130 (gst_real_pad_dispose), (gst_real_pad_finalize),
18131 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
18132 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18133 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
18135 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
18136 (pipeline_bus_handler), (gst_pipeline_change_state),
18137 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
18138 * gst/gstpipeline.h:
18140 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18141 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
18142 (gst_queue_link_src), (gst_queue_bufferalloc),
18143 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
18144 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
18145 (gst_queue_loop), (gst_queue_handle_src_event),
18146 (gst_queue_handle_src_query), (gst_queue_src_activate),
18147 (gst_queue_change_state):
18149 * gst/gstscheduler.c: (gst_scheduler_init),
18150 (gst_scheduler_dispose), (gst_scheduler_create_task),
18151 (gst_scheduler_factory_create):
18152 * gst/gstscheduler.h:
18153 * gst/gststructure.c: (gst_structure_get_type),
18154 (gst_structure_copy_conditional):
18155 * gst/gststructure.h:
18156 * gst/gsttaginterface.h:
18157 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18158 (gst_task_init), (gst_task_dispose), (gst_task_create),
18159 (gst_task_get_state), (gst_task_start), (gst_task_stop),
18165 * gst/schedulers/Makefile.am:
18166 * gst/schedulers/cothreads_compat.h:
18167 * gst/schedulers/entryscheduler.c:
18168 * gst/schedulers/faircothreads.c:
18169 * gst/schedulers/faircothreads.h:
18170 * gst/schedulers/fairscheduler.c:
18171 * gst/schedulers/gstbasicscheduler.c:
18172 * gst/schedulers/gstoptimalscheduler.c:
18173 * gst/schedulers/gthread-cothreads.h:
18174 * gst/schedulers/threadscheduler.c:
18175 (gst_thread_scheduler_task_get_type),
18176 (gst_thread_scheduler_task_class_init),
18177 (gst_thread_scheduler_task_init),
18178 (gst_thread_scheduler_task_start),
18179 (gst_thread_scheduler_task_stop),
18180 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
18181 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
18182 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
18183 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
18185 * libs/gst/Makefile.am:
18186 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
18187 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
18188 (gst_file_pad_parent_set):
18189 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18190 (gst_dp_event_from_packet):
18191 * tests/complexity.c: (main):
18192 * tests/mass_elements.c: (main):
18193 * testsuite/states/locked.c: (message_received), (main):
18194 * testsuite/states/parent.c: (main):
18195 * tools/gst-inspect.c: (print_element_flag_info),
18196 (print_implementation_info), (print_pad_info):
18197 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
18199 * tools/gst-md5sum.c: (event_loop), (main):
18200 * tools/gst-typefind.c: (main):
18201 * tools/gst-xmlinspect.c: (print_element_info):
18203 Added GstBus for mainloop integration.
18204 Added GstMessage for sending notifications on the bus.
18205 Added GstTask as an abstraction for pipeline entry points.
18207 Removed Schedulers.
18208 Simplified GstQueue for multithreaded core.
18209 Made _link threadsafe, removed old capsnego.
18210 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
18211 Added pad blocking functions.
18212 Reworked scheduling functions in GstPad to prepare for
18213 scheduling updates soon.
18214 Moved events out of data stream.
18215 Simplified GstEvent types.
18216 Added return values to push/pull.
18217 Removed clocking from GstElement.
18218 Added prototypes for state change function for next merge.
18219 Removed iterate from bins and state change management.
18220 Fixed some elements, disabled others for now.
18221 Fixed -inspect and -launch.
18222 Added check for GstBus.
18224 2005-03-10 Wim Taymans <wim@fluendo.com>
18226 * docs/design/part-MT-refcounting.txt:
18227 * docs/design/part-clocks.txt:
18228 * docs/design/part-gstelement.txt:
18229 * docs/design/part-gstobject.txt:
18230 * docs/design/part-standards.txt:
18231 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
18232 (gst_bin_remove_func), (gst_bin_remove):
18236 * testsuite/clock/clock1.c: (main):
18237 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
18239 * testsuite/dlopen/loadgst.c: (do_test):
18240 * testsuite/refcounting/bin.c: (add_remove_test1),
18241 (add_remove_test2), (main):
18242 * testsuite/refcounting/element.c: (main):
18243 * testsuite/refcounting/element_pad.c: (main):
18244 * testsuite/refcounting/pad.c: (main):
18245 * tools/gst-launch.c: (sigint_handler_sighandler):
18246 * tools/gst-typefind.c: (main):
18248 Added doc about clock.
18249 removed gst_bin_iterate_recurse_up(), marked methods
18251 Fix more testsuites.
18253 2005-03-09 Wim Taymans <wim@fluendo.com>
18255 * gst/gstpad.c: (gst_pad_get_direction),
18256 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
18257 (gst_pad_collect_valist):
18258 * testsuite/bins/interface.c: (main):
18259 * testsuite/caps/audioscale.c: (test_caps):
18260 * testsuite/caps/caps.c: (test1), (test2), (test3):
18261 * testsuite/caps/deserialize.c: (main):
18262 * testsuite/caps/enumcaps.c: (main):
18263 * testsuite/caps/filtercaps.c: (main):
18264 * testsuite/caps/intersect2.c: (main):
18265 * testsuite/caps/random.c: (main):
18266 * testsuite/caps/renegotiate.c: (my_fixate), (main):
18267 * testsuite/caps/sets.c: (check_caps):
18268 * testsuite/caps/simplify.c: (check_caps), (main):
18269 * testsuite/caps/subtract.c: (check_caps):
18270 Fix _pad_get_direction wrt ghostpads.
18271 Fix caps testsuite.
18273 2005-03-09 Wim Taymans <wim@fluendo.com>
18275 * check/Makefile.am:
18276 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
18277 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
18278 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
18279 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
18280 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
18281 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
18282 (gst_bin_remove), (gst_bin_iterate_recurse_up),
18283 (bin_element_is_sink), (gst_bin_iterate_sinks),
18284 (gst_bin_iterate_all_by_interface):
18286 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
18287 (gst_element_change_state), (gst_element_dispose),
18288 (gst_element_finalize), (gst_element_set_loop_function):
18289 * gst/gstelement.h:
18290 * gst/gstiterator.c: (find_custom_fold_func):
18291 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
18292 (gst_pad_collectv), (gst_pad_collect_valist),
18293 (gst_pad_template_new):
18294 * gst/gstpipeline.c: (gst_pipeline_class_init),
18295 (gst_pipeline_dispose), (gst_pipeline_set_property),
18296 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
18297 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
18298 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
18300 * gst/schedulers/entryscheduler.c:
18301 * gst/schedulers/gstbasicscheduler.c:
18302 (gst_basic_scheduler_cothreaded_chain),
18303 (gst_basic_scheduler_chain_add_element):
18304 * testsuite/bins/interface.c: (main):
18306 Added GstSystemClock test.
18307 Implemented clock distribution code in GstBin.
18308 Implemented iterate sinks method for future use.
18309 Rearranged gstelement.h
18310 Fix GstIterator comparison bug.
18311 Moved some code to GstPipeline, mostly clocking related.
18313 2005-03-09 Wim Taymans <wim@fluendo.com>
18316 * gst/gst_private.h:
18317 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
18318 (gst_bin_remove_func), (gst_bin_remove),
18319 (gst_bin_get_by_name_recurse_up):
18320 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
18321 (gst_clock_id_compare_func), (gst_clock_id_wait),
18322 (gst_clock_id_wait_async), (gst_clock_init),
18323 (gst_clock_adjust_unlocked), (gst_clock_get_time):
18324 * gst/gstelement.h:
18325 * gst/gstinfo.c: (_gst_debug_init):
18327 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
18328 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
18330 Bump version number, we're now 0.9.0
18331 Add future debugging category.
18332 Fix NULL _unref() in _get_by_name_recurse_up
18333 Rearrange gstpad.h.
18336 2005-03-08 Wim Taymans <wim@fluendo.com>
18338 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
18339 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
18340 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18341 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
18342 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
18343 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
18344 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
18345 * gst/elements/gstidentity.c: (gst_identity_class_init):
18346 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
18347 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
18348 * gst/elements/gstshaper.c: (gst_shaper_class_init):
18349 * gst/elements/gststatistics.c: (gst_statistics_class_init):
18350 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
18352 * gst/gstelement.c: (gst_element_class_init),
18353 (gst_element_base_class_init), (gst_element_init),
18354 (gst_element_get_random_pad), (gst_element_wait_state_change),
18355 (gst_element_change_state), (gst_element_dispose),
18356 (gst_element_finalize), (gst_element_set_loop_function):
18357 * gst/gstelement.h:
18358 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
18359 * gst/gstthread.c: (gst_thread_class_init),
18360 (gst_thread_release_children_locks), (gst_thread_change_state):
18361 * gst/schedulers/gstbasicscheduler.c:
18362 (gst_basic_scheduler_loopfunc_wrapper),
18363 (gst_basic_scheduler_chain_wrapper),
18364 (gst_basic_scheduler_src_wrapper),
18365 (gst_basic_scheduler_remove_element):
18366 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
18367 Remove threadsafe properties. Fix elements because GObject
18368 complains when installing a property before declaring a
18369 set/get_property handler.
18370 Rearrange gstelement.h file, use STATE macros for state locks.
18371 Free mutexes in the finalize method instead of dispose.
18373 2005-03-08 Wim Taymans <wim@fluendo.com>
18375 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18376 * gst/gstthread.c: (gst_thread_release_children_locks):
18377 Added parentage check.
18378 Fix build og GstThread again.
18380 2005-03-08 Wim Taymans <wim@fluendo.com>
18382 * docs/design/part-MT-refcounting.txt:
18383 * docs/design/part-conventions.txt:
18384 * docs/design/part-gstobject.txt:
18385 * docs/design/part-relations.txt:
18386 * docs/design/part-standards.txt:
18387 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
18388 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
18389 (gst_bin_get_by_name), (gst_bin_get_by_interface),
18390 (gst_bin_iterate_all_by_interface):
18393 * gst/gstelement.c: (gst_element_class_init),
18394 (gst_element_change_state), (gst_element_set_loop_function):
18395 * gst/gstelement.h:
18396 * gst/gstiterator.c:
18397 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
18398 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
18399 (gst_object_dispatch_properties_changed), (gst_object_set_name),
18400 (gst_object_set_parent), (gst_object_unparent),
18401 (gst_object_check_uniqueness):
18403 Docs updates, clean up some headers.
18405 2005-03-07 Wim Taymans <wim@fluendo.com>
18407 * check/.cvsignore:
18408 * check/Makefile.am:
18409 * check/gst-libs/.cvsignore:
18410 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
18411 * check/gst/.cvsignore:
18412 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
18413 (START_TEST), (gstbus_suite), (main):
18414 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
18415 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
18416 (gst_data_suite), (main):
18417 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
18418 (add_fold_func), (gstiterator_suite), (main):
18419 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
18420 (thread_name_object), (thread_name_object_default),
18421 (gst_object_name_compare), (gst_object_suite), (main):
18422 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
18423 (gst_pad_suite), (main):
18424 * check/gstcheck.c: (gst_check_log_message_func),
18425 (gst_check_log_critical_func), (gst_check_init):
18426 * check/gstcheck.h:
18427 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18428 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
18431 2005-03-07 Wim Taymans <wim@fluendo.com>
18433 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18434 (gst_list_iterator_next), (gst_list_iterator_resync),
18435 (gst_list_iterator_free), (gst_iterator_new_list),
18436 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
18437 (gst_iterator_free), (gst_iterator_push), (filter_next),
18438 (filter_resync), (filter_uninit), (filter_free),
18439 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
18440 (gst_iterator_foreach), (find_custom_fold_func),
18441 (gst_iterator_find_custom):
18442 * gst/gstiterator.h:
18443 Added missing files.
18445 2005-03-07 Wim Taymans <wim@fluendo.com>
18449 * docs/design/part-MT-refcounting.txt:
18450 * docs/design/part-conventions.txt:
18451 * docs/design/part-gstobject.txt:
18452 * docs/design/part-relations.txt:
18453 * examples/mixer/mixer.c: (main):
18454 * examples/thread/thread.c: (eos), (main):
18456 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
18457 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
18458 (gst_spider_plug_from_srcpad):
18459 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
18460 (gst_spider_identity_change_state),
18461 (gst_spider_identity_sink_loop_type_finding):
18462 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
18463 * gst/elements/gstidentity.c: (gst_identity_init):
18464 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
18465 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
18466 * gst/elements/gsttypefindelement.c: (free_entry):
18469 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
18470 (gst_bin_set_clock_func), (gst_bin_auto_clock),
18471 (gst_bin_set_index), (gst_bin_set_element_sched),
18472 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
18473 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
18474 (gst_bin_iterate_elements), (iterate_child_recurse),
18475 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
18476 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
18477 (compare_interface), (gst_bin_get_by_interface),
18478 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
18480 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
18481 (gst_buffer_default_free), (gst_buffer_default_copy),
18482 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
18483 (gst_buffer_create_sub):
18485 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
18486 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
18487 (gst_caps_unref), (gst_static_caps_get),
18488 (gst_caps_remove_and_get_structure), (gst_caps_append),
18489 (gst_caps_append_structure), (gst_caps_remove_structure),
18490 (gst_caps_copy_nth), (gst_caps_set_simple),
18491 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
18492 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
18493 (gst_caps_structure_intersect_field), (gst_caps_intersect),
18494 (gst_caps_structure_subtract_field), (gst_caps_subtract),
18495 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
18496 (gst_caps_structure_figure_out_union),
18497 (gst_caps_switch_structures), (gst_caps_do_simplify),
18498 (gst_caps_replace), (gst_caps_from_string),
18499 (gst_caps_copy_conditional):
18501 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
18502 (_gst_clock_id_free), (gst_clock_id_unref),
18503 (gst_clock_id_compare_func), (gst_clock_id_wait),
18504 (gst_clock_id_wait_async), (gst_clock_class_init),
18505 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
18506 (gst_clock_get_time), (gst_clock_set_time_adjust),
18507 (gst_clock_set_property), (gst_clock_get_property):
18510 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
18511 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
18513 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
18514 (gst_element_requires_clock), (gst_element_provides_clock),
18515 (gst_element_set_clock), (gst_element_clock_wait),
18516 (gst_element_wait), (gst_element_set_time_delay),
18517 (gst_element_is_indexable), (gst_element_add_pad),
18518 (gst_element_add_ghost_pad), (gst_element_remove_pad),
18519 (pad_compare_name), (gst_element_get_static_pad),
18520 (gst_element_request_pad), (gst_element_get_request_pad),
18521 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
18522 (gst_element_class_get_pad_template_list),
18523 (gst_element_class_get_pad_template), (gst_element_error_func),
18524 (gst_element_get_random_pad), (gst_element_get_event_masks),
18525 (gst_element_send_event), (gst_element_seek),
18526 (gst_element_get_query_types), (gst_element_query),
18527 (gst_element_get_formats), (gst_element_convert),
18528 (gst_element_is_locked_state), (gst_element_set_locked_state),
18529 (gst_element_sync_state_with_parent), (gst_element_change_state),
18530 (gst_element_finalize), (gst_element_yield),
18531 (gst_element_interrupt), (gst_element_set_scheduler),
18532 (gst_element_get_scheduler), (gst_element_set_loop_function):
18533 * gst/gstelement.h:
18535 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
18536 (gst_format_get_by_nick), (gst_format_get_details),
18537 (gst_format_iterate_definitions):
18539 * gst/gstindex.c: (gst_index_gtype_resolver):
18542 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
18543 (gst_mem_chunk_free):
18544 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
18545 (gst_object_ref), (gst_object_unref), (gst_object_sink),
18546 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
18547 (gst_object_dispatch_properties_changed),
18548 (gst_object_set_name_default), (gst_object_set_name),
18549 (gst_object_get_name), (gst_object_set_name_prefix),
18550 (gst_object_get_name_prefix), (gst_object_set_parent),
18551 (gst_object_get_parent), (gst_object_unparent),
18552 (gst_object_check_uniqueness), (gst_object_save_thyself),
18553 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
18554 (gst_object_set_property), (gst_object_get_property),
18555 (gst_object_get_path_string):
18557 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18558 (gst_real_pad_init), (gst_real_pad_get_property),
18559 (gst_pad_custom_new), (gst_pad_get_direction),
18560 (gst_pad_set_active), (gst_pad_is_active),
18561 (gst_pad_set_event_function), (gst_pad_is_linked),
18562 (gst_pad_link_free), (gst_pad_link_intersect),
18563 (gst_pad_link_fixate), (gst_pad_set_caps),
18564 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
18565 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
18566 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
18567 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
18568 (gst_pad_get_caps), (gst_pad_peer_get_caps),
18569 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
18570 (gst_pad_realize), (gst_pad_get_allowed_caps),
18571 (gst_real_pad_dispose), (gst_real_pad_finalize),
18572 (gst_pad_collectv), (gst_pad_collect_valist),
18573 (gst_pad_template_dispose), (gst_pad_template_new),
18574 (gst_pad_get_internal_links):
18576 * gst/gstpipeline.c: (gst_pipeline_dispose),
18577 (gst_pipeline_change_state):
18578 * gst/gstpipeline.h:
18580 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
18581 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
18582 * gst/gstpluginfeature.h:
18583 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
18584 * gst/gstquery.c: (_gst_query_type_initialize),
18585 (gst_query_type_register), (gst_query_type_get_by_nick),
18586 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
18588 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
18589 * gst/gstscheduler.c: (gst_scheduler_add_element),
18590 (gst_scheduler_factory_create):
18591 * gst/gststructure.c: (gst_structure_set_parent_refcount),
18592 (gst_structure_free), (gst_structure_set_name),
18593 (gst_structure_id_set_value), (gst_structure_set_value),
18594 (gst_structure_set_valist), (gst_structure_remove_field),
18595 (gst_structure_remove_fields),
18596 (gst_structure_remove_fields_valist),
18597 (gst_structure_remove_all_fields), (gst_structure_foreach),
18598 (gst_structure_map_in_place),
18599 (gst_caps_structure_fixate_field_nearest_int),
18600 (gst_caps_structure_fixate_field_nearest_double):
18601 * gst/gststructure.h:
18602 * gst/gstsystemclock.c: (gst_system_clock_class_init),
18603 (gst_system_clock_init), (gst_system_clock_dispose),
18604 (gst_system_clock_async_thread),
18605 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
18606 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
18607 * gst/gstsystemclock.h:
18608 * gst/gsttag.c: (gst_tag_list_add_value_internal),
18609 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
18610 * gst/gsttaginterface.c:
18611 * gst/gstthread.c: (gst_thread_dispose),
18612 (gst_thread_release_children_locks), (gst_thread_change_state),
18613 (gst_thread_main_loop):
18614 * gst/gsttrashstack.h:
18615 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
18617 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18618 (gst_element_request_pad), (gst_element_get_pad_from_template),
18619 (gst_element_request_compatible_pad),
18620 (gst_element_get_compatible_pad_filtered),
18621 (gst_element_get_compatible_pad), (gst_element_state_get_name),
18622 (gst_element_link_pads_filtered), (gst_element_link_filtered),
18623 (gst_element_link_many), (gst_element_link),
18624 (gst_element_link_pads), (gst_element_unlink_pads),
18625 (gst_element_unlink_many), (gst_element_unlink),
18626 (gst_pad_can_link_filtered), (gst_pad_can_link),
18627 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
18628 (gst_object_default_error), (gst_bin_add_many),
18629 (gst_bin_remove_many), (gst_element_populate_std_props),
18630 (gst_element_class_install_std_props), (gst_buffer_merge),
18631 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
18632 (link_fold_func), (gst_pad_proxy_setcaps):
18634 * gst/gstvalue.c: (gst_value_deserialize_string):
18635 * gst/parse/grammar.y:
18636 * gst/schedulers/gstbasicscheduler.c:
18637 (gst_basic_scheduler_cothreaded_chain),
18638 (gst_basic_scheduler_chain_recursive_add),
18639 (gst_basic_scheduler_pad_link):
18640 * gst/schedulers/gstoptimalscheduler.c:
18641 (get_group_schedule_function),
18642 (gst_opt_scheduler_state_transition),
18643 (gst_opt_scheduler_add_element), (element_get_reachables_func):
18644 * libs/gst/bytestream/bytestream.c:
18645 * libs/gst/dataprotocol/dataprotocol.c:
18646 (gst_dp_header_from_buffer):
18649 * tests/threadstate/threadstate2.c: (eos):
18650 * tools/gst-compprep.c: (main):
18651 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
18652 (print_pad_info), (print_children_info):
18653 * tools/gst-launch.c: (idle_func), (main):
18654 * tools/gst-md5sum.c: (idle_func), (main):
18655 * tools/gst-xmlinspect.c: (print_element_info):
18656 First THREADED backport attempt, focusing on adding locks and
18657 making sure the API is threadsafe. Needs more work. More docs
18660 2005-02-24 Andy Wingo <wingo@pobox.com>
18662 * tests/bench-complexity.scm:
18663 * tests/complexity.gnuplot: New files, good for running complexity
18666 * tests/Makefile.am:
18667 * tests/complexity.c: New test, sets up N elements, at each level
18668 teeing into M streams per element. Eeeenteresting.
18670 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
18671 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
18672 running bench-mass_elements.scm.
18674 * tests/bench-mass_elements.scm: New script, runs mass_elements
18675 for various numbers of identities, outputting the results to a
18676 file. Requires guile 1.6. Just for testing.
18678 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
18680 * gst/schedulers/fairscheduler.c:
18681 compile with debug disabled
18683 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
18686 hunting season on 0.9 is now OPEN