1 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
3 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4 Oops, meant to uncomment this line too to dampen the noise a bit.
6 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
10 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11 (GST_START_TEST), (parse_suite):
12 Fix some of the leaks exposed by extending the parse-launch testsuite,
13 and move the 3 I can't figure out into a separate test that won't run
14 the pipelines unless the appropriate line is uncommented.
16 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
18 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
19 Requesting 0 bytes before the end of the file should result in
20 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
23 2006-07-27 Wim Taymans <wim@fluendo.com>
25 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
26 Fix useless assert, a uint is always positive.
28 * gst/gststructure.c: (gst_structure_nth_field_name),
29 (gst_structure_foreach), (gst_structure_map_in_place):
30 Check input arguments for public functions to avoid obvious crashes.
32 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
33 * plugins/elements/gstfakesink.h:
34 Do less useless typechecking.
36 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
38 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
39 Do not use mmap() by default since there are a number of error
40 conditions that we would like to handle in a non-fatal way that
41 will result in a SIGBUS if we use mmap(). Examples: external
42 devices (USB harddrive, portable music player) being unplugged
43 while in use; file on mounted CD/DVD that can't be read because
44 the medium is partly damaged. Fixes #348455 and #348475.
46 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
49 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
52 2006-07-26 Stefan Kost <ensonic@users.sf.net>
55 Move big documentation comment into class section header, so that it
56 appears in the API docs.
58 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
60 * docs/gst/gstreamer-sections.txt:
61 Oops. Commit the docs additions too for new API.
62 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
64 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
66 * gst/gststructure.c: (gst_structure_id_set),
67 (gst_structure_id_set_valist):
69 Add API for setting values into structures without performing
70 a quark lookup, if the appropriate quark is already known.
72 API: gst_structure_id_set
73 API: gst_structure_id_set_valist
75 * gst/parse/grammar.y:
77 Remove some dead code shown by the coverage information.
78 Don't throw a critical g_warning when encountering a syntax error,
79 just warn and let the normal error path handle it.
81 * plugins/elements/gstelements.c:
82 Bump the rank of filesink up to PRIMARY so that it is preferred over
83 gnomevfssink for file:// sink uri's
85 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
86 (GST_START_TEST), (run_delayed_test),
87 (gst_parse_test_element_base_init),
88 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
89 (gst_parse_test_element_change_state),
90 (gst_register_parse_element), (parse_suite):
91 Beef up the tests for parse syntax to check that more error cases
92 fail as they are supposed to. Increases the test coverage a bit.
94 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
96 * docs/manual/basics-elements.xml:
97 Fix gst_element_link() example.
100 Mention in API docs that one should usually gst_bin_add()
101 elements to a bin or pipeline before doing the linking.
103 2006-07-26 Wim Taymans <wim@fluendo.com>
105 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
106 (gst_subbuffer_get_type), (gst_buffer_create_sub):
107 Avoid function call for known types by keeping the buffer and
108 subbuffer GType global.
110 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
111 Random silly optimisations in read() path.
113 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
115 * tools/gst-launch.c: (main):
116 If the top-level of the parse is a normal bin, it doesn't do the
117 right logic to run as a top-level element, so place it inside a
120 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
122 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
123 Remove superfluous g_object_notify() calls, GObject does
124 that for us automatically.
126 2006-07-25 Stefan Kost <ensonic@users.sf.net>
129 Move the Win32 version from gst-plugins-good/gst/avi/avidemux.c to
132 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
134 * gst/gsttaglist.c: (_gst_tag_initialize):
135 Allow more than one GST_TAG_IMAGE per taglist.
137 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
139 * gst/gstminiobject.c:
141 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
143 log recurring events at LOG level
144 add more debug for when the fd gets set
146 2006-07-21 Stefan Kost <ensonic@users.sf.net>
148 * gst/gstparse.c: (gst_parse_launch):
149 Also remove reentrance checks if flex is MT save (#348179)
150 Fix my empty ChangeLog entry below
152 2006-07-21 Andy Wingo <wingo@pobox.com>
154 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
156 * libs/gst/check/Makefile.am
157 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
158 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
159 * libs/gst/check/gstbufferstraw.h:
160 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
161 functions, thus proving I am still a GStreamer haxor. OK I wrote
162 them a long time ago, but anyways.
164 2006-07-21 Stefan Kost <ensonic@users.sf.net>
167 * gst/gstparse.c: (gst_parse_launch):
168 Check for flex version and omit mutex if we have a MT save flex
171 2006-07-21 Wim Taymans <wim@fluendo.com>
173 * gst/gstparse.c: (gst_parse_launch):
174 Protect recursive calls to _parse with a recursive mutex
177 2006-07-21 Wim Taymans <wim@fluendo.com>
179 * tests/check/gst/gstpad.c: (GST_START_TEST):
182 2006-07-20 Stefan Kost <ensonic@users.sf.net>
184 * gst/gstparse.c: (gst_parse_launch):
185 Do not hange on recursive uasge of gst_parse_launch()
187 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
190 Add some more docs, comments and FIXME 0.11s here and there
191 and also fix some typos.
193 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
196 Convert tabs to spaces for better readability.
198 2006-07-20 Edward Hervey <edward@fluendo.com>
200 * tests/check/libs/gdp.c: (gst_dp_suite):
201 the test_buffer test fails at line 140 on ppc64 at the following
203 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer, GST_BUFFER_FLAG_IN_CAPS),
204 "GST_BUFFER_IN_CAPS flag should have been copied !");
205 See bug #348114 for more details.
207 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
209 * docs/pwg/advanced-scheduling.xml:
213 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
215 * docs/pwg/intro-basics.xml:
216 Fix wrong links (#347927).
218 2006-07-18 Stefan Kost <ensonic@users.sf.net>
221 * gst/gstregistryxml.c: (load_feature),
222 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
223 * win32/common/config.h:
224 make --disable-index work (#342564)
226 2006-07-18 Wim Taymans <wim@fluendo.com>
228 Patch by: Peter Kjellerstedt <pkj at axis dot com>
232 The attached patch adds two missing defines to gsttrace.h when tracing
233 is disabled. It also corrects one existing define.
236 2006-07-17 Wim Taymans <wim@fluendo.com>
238 * docs/gst/gstreamer-sections.txt:
239 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
241 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
242 Add two functions to check and change the SIGSEGV behaviour
243 when loading plugins.
244 Don't mess with the SIGSEGV handler when we were told not to.
246 API: gst_segtrap_is_enabled
247 API: gst_segtrap_set_enabled
249 2006-07-14 Wim Taymans <wim@fluendo.com>
251 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
252 * tests/check/elements/filesrc.c: (GST_START_TEST):
253 Revert fix for regression in #347408 after release.
255 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
257 Patch by: Antoine Tremblay <hexa00 at gmail com>
259 * gst/gstutils.c: (gst_element_unlink):
260 Free iterator when done (#347311).
262 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
263 And add a test case for this.
265 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
268 Bump nano back to CVS
270 === release 0.10.9 ===
272 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
275 releasing 0.10.9, "On the road again"
277 2006-07-13 Wim Taymans <wim@fluendo.com>
279 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
280 * tests/check/elements/filesrc.c: (GST_START_TEST):
281 Revert pull-0 fix for release. Disable check. Fixes #347408.
283 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
285 * libs/gst/dataprotocol/dataprotocol.c:
286 (gst_dp_event_from_packet_1_0):
287 Fixes #347337: failure to deserialize event packets with
288 empty payload (only event type)
290 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
293 do not install a .c file in the header directory
295 2006-07-13 Edward Hervey <edward@fluendo.com>
297 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
298 GhostPad no longer implicitely use the padtemplates of the targets.
301 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
303 * gst/gstvalue.c: (gst_value_compare_list),
304 (gst_value_compare_array), (_gst_value_initialize):
305 * tests/check/gst/gstvalue.c: (GST_START_TEST):
306 Make GstValueArray comparison be order dependent as designed.
307 Add checks for value lists and value array comparisons.
310 2006-07-11 Edward Hervey <edward@fluendo.com>
312 * gst/gstbin.c: (activate_pads),
313 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
314 (gst_bin_change_state_func):
315 (de)activate src pads before calling state_change on the childs.
316 This is to avoid the case where a src ghostpad is blocked (holding the
317 stream lock), which would block the deactivation of the ghostpad's
319 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
320 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
321 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
322 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
323 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
324 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
325 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
326 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
327 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
328 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
329 (gst_ghost_pad_class_init),
330 (gst_ghost_pad_internal_do_activate_push),
331 (gst_ghost_pad_internal_do_activate_pull),
332 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
333 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
334 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
335 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
336 GhostPads now create their internal GstProxyPad at creation (and not
337 when they're linked, as it was being done previously).
338 The internal and target pads are linked straight away.
339 The data will also travel through the other pad in order to make
340 pad blocking and probes non-hackish (the probe/block now really happens
341 on the GhostPad and not on the target).
342 * gst/gstpad.c: (gst_pad_set_blocked_async),
343 (gst_pad_link_prepare), (gst_pad_push_event):
344 Remove previous ghostpad cruft.
345 * gst/gstutils.c: (gst_pad_add_data_probe),
346 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
347 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
348 (gst_pad_remove_buffer_probe):
349 Remove previous ghost pad cruft.
350 Added more detailed debug statements.
351 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
352 Fix the testsuite for refcounting changes.
353 The comments about who has references were correct, but the refcount
354 being checked wasn't the same (!?!).
358 2006-07-10 Stefan Kost <ensonic@users.sf.net>
360 * docs/gst/gstreamer-sections.txt:
361 * gst/gstconfig.h.in:
362 More docs for configuration options, add docs to gtk-doc.
364 2006-07-10 Stefan Kost <ensonic@users.sf.net>
367 * gst/gstconfig.h.in:
368 * win32/common/config.h:
369 Fix build when disabling tracing (fixes #344016). Also start to document
370 the defines that disable the sub-systems.
372 2006-07-10 Edward Hervey <edward@fluendo.com>
374 * gst/gst.c: (ensure_current_registry_forking):
375 let's make valgrind happy...
377 2006-07-09 Wim Taymans <wim@fluendo.com>
379 * gst/gstelement.c: (activate_pads),
380 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
381 Better pad activation code: Reset the collect value too on resync.
384 2006-07-09 Wim Taymans <wim@fluendo.com>
386 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
387 (gst_pad_activate_push):
388 Use some more macros where it makes sense.
389 Allow pad mode switching instead of asserting. When a pad
390 is activated in one mode and we activate it in another,
391 deactivate it first before activating it in a different mode.
394 2006-07-08 Andy Wingo <wingo@pobox.com>
396 * tools/gst-launch.c (main): Handle err == NULL.
398 * gst/gst.c (init_post, ensure_current_registry)
399 (ensure_current_registry_forking)
400 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
401 factoring out the registry scanning into separate functions. Don't
402 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
403 Better environment var name/interface suggestions accepted.
405 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
407 * gst/gstobject.c: (gst_object_set_name_default),
408 (gst_object_set_name):
409 Random micro-optimisation: don't use a hash table
410 with strings as keys and the usual strdup/strcmp
411 involved, but rather just use the GQuark of the
412 type name as key, since it needs to be looked up
413 anyway to get the type name string.
415 * tests/check/gst/gstobject.c: (GST_START_TEST):
418 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
420 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
421 (gst_bin_iterate_all_by_interface):
422 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
423 GTypes are gulongs and thus the top 4 bytes might be cut
424 off on some platforms when doing GPOINTER_TO_INT, leading
425 to invalid GTypes and bad things happening (see RH bug #179654).
426 Also add a check to make sure the type passed in is really
429 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
434 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
438 * gst-element-check.m4:
439 * gst-element-check.m4.in:
440 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
441 instead of the unversioned gst-inspect (#324176, #168659).
443 2006-07-06 Wim Taymans <wim@fluendo.com>
446 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
449 2006-07-06 Wim Taymans <wim@fluendo.com>
451 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
452 (gst_base_src_wait), (gst_base_src_update_length),
453 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
454 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
455 (gst_base_src_loop), (gst_base_src_start),
456 (gst_base_src_activate_pull):
458 blocksize == 0 now means the default blocksize when working in push
460 Remove some pointless asserts in _wait function.
461 Fix offset/length calculations and EOS handling. We can now pull 0
462 bytes as well, which is allowed.
463 use _check_get_range() to decide if we can operate in _pull based
465 Fix refcounting leak when check_get_range function was not
467 API GstBaseSrc::blocksize range can be 0 too now (default)
469 * tests/check/elements/filesrc.c: (GST_START_TEST),
471 Added check to test _get_range() behaviour.
473 2006-07-06 Wim Taymans <wim@fluendo.com>
475 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
476 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
477 (gst_pad_pull_range):
479 Lots of comments and docs added to the pad functions.
480 Flesh out the expected behaviour of the get_range() functions.
482 2006-07-06 Wim Taymans <wim@fluendo.com>
491 Remove comma at end of enumerator list.
493 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
495 * win32/common/libgstbase.def:
496 * win32/common/libgstdataprotocol.def:
497 * win32/common/libsgtreamer.def:
498 Add new exported functions.
500 2006-07-05 Wim Taymans <wim@fluendo.com>
502 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
503 Add some more docs here and there.
505 2006-07-05 Wim Taymans <wim@fluendo.com>
507 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
508 (gst_base_sink_loop), (gst_base_sink_get_position):
509 When operating in pull mode update the offset so that we
512 2006-07-05 Wim Taymans <wim@fluendo.com>
514 * gst/gstregistryxml.c: (read_string):
515 Avoid strdup. (will happen in libxml, but hey!)
520 2006-07-05 Wim Taymans <wim@fluendo.com>
522 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
523 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
525 No point in checking if the size of the subbuffer > 0, the
526 code handles it correclty as demonstrated by unit test.
527 Also add a unit test for the zero sized _new_and_alloc and
528 _copy. Fixes #346663.
530 2006-07-05 Wim Taymans <wim@fluendo.com>
532 * libs/gst/base/gstbasetransform.c:
533 (gst_base_transform_prepare_output_buffer),
534 (gst_base_transform_buffer_alloc),
535 (gst_base_transform_handle_buffer):
536 Make sure the buffer we pass to transform_ip has a refcount of
537 1 and thus is writable. Fixes #343196
539 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
541 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
542 (gst_file_src_init), (gst_file_src_set_property),
543 (gst_file_src_get_property), (gst_file_src_map_region):
544 * plugins/elements/gstfilesrc.h:
545 Add "sequential" property, off by default, to use madvise and hint
546 to the kernel that sequential access is desired.
547 Touch all retrieved pages by default to ensure they are pulled
548 into memory. (Closes #345720)
550 2006-07-03 Wim Taymans <wim@fluendo.com>
552 * docs/design/part-block.txt:
553 * docs/design/part-dynamic.txt:
556 2006-07-03 Wim Taymans <wim@fluendo.com>
558 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
559 (gst_caps_unref), (gst_static_caps_get),
560 (gst_caps_append_structure):
561 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
562 Use GSlice when the glib we build against is >= 2.10
564 2006-07-03 Wim Taymans <wim@fluendo.com>
566 * gst/gstelement.c: (gst_element_pads_activate):
567 Small cleanup in pad activation code.
569 2006-07-03 Wim Taymans <wim@fluendo.com>
571 Patch by: Peter Kjellerstedt <pkj at axis dot com>
573 * gst/gst-i18n-app.h:
574 * gst/gst-i18n-lib.h:
575 * tools/gst-inspect.c: (print_signal_info):
576 The attached patch will make the inclusion of gettext.h unconditional in
577 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
578 libintl.h in tools/gst-inspect.c.
579 This allows use of --disable-nls again and fixes #344642.
581 2006-07-03 Edward Hervey <edward@fluendo.com>
583 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
584 Implement pad blocking on events according to part-block.txt.
585 More comments on behaviour.
586 * tests/check/gst/gstevent.c: (test_event):
587 Send event to peer pad of blocked pad (else it will block).
589 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
591 * libs/gst/check/gstcheck.c: (gst_check_message_error),
592 (gst_check_run_suite):
593 if we get the wrong message, give us the types as string
594 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
596 * tests/check/elements/filesrc.c: (GST_START_TEST):
597 add a test for trying to open a non-existing file
599 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
601 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
602 add a test for adding self
604 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
606 * libs/gst/check/gstcheck.h:
607 add some assert_ as alias for fail_unless_*
608 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
609 increase test coverage
611 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
614 include lcov.mak for lcov coverage generation
618 2006-07-02 Edward Hervey <edward@fluendo.com>
620 * tests/check/elements/.cvsignore:
623 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
626 don't set CFLAGS and friends for gcov, done from GST_GCOV now
627 * tests/check/Makefile.am:
630 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
632 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
633 remove gst_caps_simplify; it was not declared and not used
634 and deprecated in 0.8
636 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
638 * docs/faq/gst-uninstalled:
639 don't put empty paths on PYTHONPATH
640 * docs/gst/gstreamer-sections.txt:
641 remove some symbols that are not there
643 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
645 * gst/gstcaps.c: (gst_caps_compare_structures):
647 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
648 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
651 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
653 * libs/gst/dataprotocol/Makefile.am:
654 build dataprotocol test by linking to the lib, instead of
655 compiling the source, so we get coverage
656 * tests/check/Makefile.am:
657 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
658 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
659 add a test for filesrc
661 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
663 * tests/check/gst/gststructure.c: (GST_START_TEST),
664 (gst_structure_suite):
665 Push coverage from 59.04% to 70.00%
667 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
669 * tests/check/Makefile.am:
670 gst-inspect every element; this makes sure that we also get
671 coverage on element's get/set functions
673 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
676 set CFLAGS and friends to -O0 if gcov is being used
679 * libs/gst/base/Makefile.am:
680 * libs/gst/check/Makefile.am:
681 * libs/gst/controller/Makefile.am:
682 * libs/gst/dataprotocol/Makefile.am:
683 * libs/gst/net/Makefile.am:
684 * plugins/elements/Makefile.am:
685 * plugins/indexers/Makefile.am:
686 add makefile rules to generate gcov data and clean up
687 * tests/check/Makefile.am:
688 add a coverage target that generates an html overview
691 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
693 * tests/check/elements/fakesink.c:
694 * tests/check/elements/fakesrc.c:
695 * tests/check/elements/fdsrc.c:
696 * tests/check/elements/identity.c:
697 * tests/check/generic/sinks.c: (gst_sinks_suite):
698 * tests/check/generic/states.c:
699 * tests/check/gst/gst.c:
700 * tests/check/gst/gstabi.c:
701 * tests/check/gst/gstbin.c:
702 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
703 * tests/check/gst/gstbus.c: (gst_bus_suite):
704 * tests/check/gst/gstcaps.c: (GST_START_TEST):
705 * tests/check/gst/gstelement.c:
706 * tests/check/gst/gstevent.c: (gst_event_suite):
707 * tests/check/gst/gstghostpad.c:
708 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
709 * tests/check/gst/gstmessage.c: (gst_message_suite):
710 * tests/check/gst/gstminiobject.c:
711 * tests/check/gst/gstobject.c:
712 * tests/check/gst/gstpad.c:
713 * tests/check/gst/gstpipeline.c:
714 * tests/check/gst/gstplugin.c:
715 * tests/check/gst/gstquery.c: (gst_query_suite):
716 * tests/check/gst/gstsegment.c: (gst_segment_suite):
717 * tests/check/gst/gststructure.c:
718 * tests/check/gst/gstsystemclock.c:
719 * tests/check/gst/gsttag.c:
720 * tests/check/gst/gsttask.c: (gst_task_suite):
721 * tests/check/gst/gstutils.c:
722 * tests/check/gst/gstvalue.c:
723 * tests/check/libs/adapter.c:
724 * tests/check/libs/basesrc.c:
725 * tests/check/libs/collectpads.c:
726 * tests/check/libs/controller.c:
727 * tests/check/libs/gdp.c: (gst_dp_suite):
728 * tests/check/libs/gstnetclientclock.c:
729 * tests/check/libs/gstnettimeprovider.c:
730 * tests/check/libs/libsabi.c: (libsabi_suite):
731 * tests/check/libs/typefindhelper.c:
732 * tests/check/pipelines/cleanup.c:
733 * tests/check/pipelines/parse-launch.c:
734 * tests/check/pipelines/simple-launch-lines.c:
735 * tests/check/pipelines/stress.c: (stress_suite):
738 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
740 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
741 * libs/gst/check/gstcheck.h:
742 create a macro and function so that the simple unit test
743 case can be just one macro to create main()
745 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
747 * gst/gstbin.c: (gst_bin_restore_thyself):
748 * gst/gstxml.c: (gst_xml_make_element):
749 Fix deserialisation from XML. Set parent manually
750 instead of using gst_bin_add(), since gst_bin_add()
751 will unlink all pads of the element being added.
754 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
756 Patch by: Peter Kjellerstedt <pkj at axis com>
758 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
759 Fix missing g_strdup() and double free when using the
760 --gst-plugin-load command line option (#346097).
762 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
765 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
767 * libs/gst/net/gstnetclientclock.c:
768 * libs/gst/net/gstnettimeprovider.c:
769 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
771 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
773 * docs/manual/advanced-dataaccess.xml:
774 Fix buffer probe example compilation in
777 2006-06-22 Edward Hervey <edward@fluendo.com>
779 * gst/gstelement.c: (gst_element_pads_activate):
780 We need to deactivate src pads first and then sink pads.
781 The reason is the src pads might be blocking while holding the streaming
782 lock, so we need to deactivate them first so that deactivating the sink
783 pads doesn't block (since it will require the streaming lock).
785 2006-06-22 Wim Taymans <wim@fluendo.com>
787 * libs/gst/base/gstbasetransform.c:
788 (gst_base_transform_buffer_alloc):
789 Forgot to remove two unneeded unrefs.
790 Simplify a check _is_equal allready checks the obvious case.
792 2006-06-22 Wim Taymans <wim@fluendo.com>
794 * docs/design/part-block.txt:
795 Some docs about what pad_block should do.
797 2006-06-22 Wim Taymans <wim@fluendo.com>
799 * gst/gstcaps.c: (gst_caps_replace):
800 Fix crasher when passed NULL. Doc clarification.
801 Optimize for the trivial case.
803 * gst/gstpipeline.c: (gst_pipeline_change_state):
806 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
807 Small documentation cleanup.
809 * libs/gst/base/gstbasetransform.c:
810 (gst_base_transform_buffer_alloc):
811 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
812 is what we need and it avoids a whole lot of redundant
815 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
817 Patch by: Philip Jägenstedt <philip at lysator liu se>
819 * docs/manual/advanced-dataaccess.xml:
820 Fix 'Embedding static elements' section to use
821 GST_PLUGIN_DEFINE_STATIC (#345607).
823 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
825 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
826 Attempt to 'fix' spuriously failing test case: it seems like the
827 timeout of half a second is simply too small when the system is under
828 load otherwise, and the timeout doesn't really seem to serve any
829 particular purpose here. Give the pipeline a few seconds to preroll
830 first, and then give it another half a second to go from PAUSED to
831 PLAYING and marshal the message into the main thread.
833 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
835 * tools/gst-feedback-m.m:
836 Don't only use unversioned tools, try versioned tools as well
839 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
841 * gst/gstbus.c: (gst_bus_class_init):
842 Fix some typos, make docs more explicit.
844 2006-06-20 Wim Taymans <wim@fluendo.com>
846 * tests/check/gst/gstghostpad.c: (block_callback),
847 (GST_START_TEST), (gst_ghost_pad_suite):
848 Added some more ghostpad tests, mainly blocking
851 2006-06-16 Wim Taymans <wim@fluendo.com>
853 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
854 (gst_file_sink_close_file), (gst_file_sink_do_seek),
855 (gst_file_sink_event), (gst_file_sink_render):
856 * plugins/elements/gstfilesink.h:
857 Check if we can seek in the file instead of assuming
858 we always can. Post an error when we are asked to seek in a
859 non-seekable file (like a fifo). Fixes #343312.
862 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
864 * tools/gst-launch.1.in:
865 Un-garble (fourcc) bit in filtered caps section.
867 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
869 * docs/manual/advanced-autoplugging.xml:
870 * docs/manual/basics-helloworld.xml:
871 * docs/manual/highlevel-components.xml:
872 Don't leak bus reference in sample code.
874 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
877 Add default for new --enable-plugin-docs switch.
880 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
884 Use new ENABLE_PLUGIN_DOCS conditional.
886 2006-06-14 Wim Taymans <wim@fluendo.com>
888 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
889 Make it clear with a FIXME and a real define what the #if 0
892 2006-06-14 Wim Taymans <wim@fluendo.com>
894 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
895 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
896 * libs/gst/base/gstbasetransform.c:
897 (gst_base_transform_sink_eventfunc):
898 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
899 Don't randomly and silently reset a segment when the format
900 changes as this is a bug somewhere upstream. Fixes #330379.
902 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
904 Patch by: Wouter Paesen <wouter at kangaroot net>
906 * libs/gst/controller/gstcontroller.c:
907 (gst_controlled_property_new):
908 Fix controlling of float properties (#344849).
910 * tests/check/libs/controller.c:
911 (gst_test_mono_source_get_property),
912 (gst_test_mono_source_set_property),
913 (gst_test_mono_source_class_init), (GST_START_TEST):
914 While we're at it, add some float stuff to unit test.
916 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
919 * docs/images/gdp-header.svg:
921 * docs/libs/Makefile.am:
922 * docs/libs/gdp-header.png:
923 * libs/gst/dataprotocol/dataprotocol.c:
924 add it to the API docs
925 * docs/manual/intro-motivation.xml:
928 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
930 * gst/gst.c: (scan_and_update_registry), (init_post):
931 If the fork()'ed child process can't write the updated registry cache
932 file to disk for some reason, make it exit with a failure exit code,
933 so that the parent can then re-scan the plugins itself and update the
934 registry structures in memory and work with that (rather than failing
935 when creating elements because seemingly no plugins are available).
936 Refactor registry scanning code into separate function for this and
937 also separate fork() and non-fork() code paths. Fixes #344748.
939 2006-06-13 Wim Taymans <wim@fluendo.com>
941 * docs/manual/advanced-dataaccess.xml:
942 Fix wrong PluginDesc. Fixes #344755.
944 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
946 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
947 Fix silly bug that prevented us from creating
948 ~/.gstreamer-0.10 and writing the registry in one
949 go (the first call to g_mkstemp() would overwrite the
950 placeholder in the template string, so the second call
951 to g_mkstemp() after creating the missing directory
952 would then error out with 'invalid argument').
954 2006-06-13 Edward Hervey <edward@fluendo.com>
956 * gst/gst.c: (init_post):
959 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
961 * gst/glib-compat-private.h:
964 * gst/gstvalue.c: (gst_value_serialize_flags):
965 remove GLib 2.6 compatibility code
967 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
969 * gst/parse/Makefile.am:
970 Fix build with 'make -j N' even more (#340016).
972 2006-06-12 Wim Taymans <wim@fluendo.com>
974 * docs/gst/gstreamer-sections.txt:
977 2006-06-12 Wim Taymans <wim@fluendo.com>
979 * gst/gstsegment.c: (gst_segment_set_duration),
980 (gst_segment_set_last_stop), (gst_segment_set_seek),
981 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
982 (gst_segment_to_running_time), (gst_segment_clip):
983 Use G_UNLIKELY to help the compiler a bit.
985 2006-06-12 Wim Taymans <wim@fluendo.com>
987 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
989 * gst/gstevent.c: (gst_event_get_type):
991 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
993 constify quark registration strings. Fixes #344115
994 Avoid unneeded type checking is _pad_push() by internally
995 calling gst_pad_chain_unchecked().
997 2006-06-12 Wim Taymans <wim@fluendo.com>
999 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
1000 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
1001 (gst_subbuffer_finalize), (gst_buffer_create_sub),
1002 (gst_buffer_is_span_fast), (gst_buffer_span):
1003 Init _type for consistency.
1004 Use _FLAGS macro to avoid type check.
1005 Avoid unneeded type checks in subbufer code.
1007 2006-06-12 Wim Taymans <wim@fluendo.com>
1009 * gst/gst.c: (gst_debug_help):
1010 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
1011 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1012 (gst_plugin_feature_list_free):
1013 * gst/gstregistry.c: (gst_registry_add_plugin),
1014 (gst_registry_add_feature), (gst_registry_plugin_filter),
1015 (gst_registry_feature_filter), (gst_registry_find_plugin),
1016 (gst_registry_find_feature), (gst_registry_get_plugin_list),
1017 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
1018 * gst/gstregistryxml.c: (load_feature),
1019 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
1020 * gst/gstminiobject.c: (gst_mini_object_unref),
1021 (gst_mini_object_replace), (gst_value_mini_object_free),
1022 (gst_value_mini_object_copy):
1023 Use _CAST macros to avoid unneeded type checking.
1024 Added some more G_UNLIKELY.
1026 2006-06-12 Wim Taymans <wim@fluendo.com>
1029 Avoid unneeded type checking.
1030 API: GST_BUFFER_IS_DISCONT
1032 * gst/gstminiobject.h:
1033 Avoid type check in flag accessor.
1035 * gst/gstelementfactory.h:
1037 * gst/gstpluginfeature.h:
1039 API: GST_ELEMENT_FACTORY_CAST
1040 API: GST_PLUGIN_CAST
1041 API: GST_PLUGIN_FEATURE_CAST
1043 2006-06-12 Wim Taymans <wim@fluendo.com>
1045 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
1047 Add G_UNLIKELY in type registration.
1048 Avoid type check in _ref/_unref since that is also
1051 2006-06-12 Wim Taymans <wim@fluendo.com>
1053 * gst/gsterror.c: (gst_g_error_get_type):
1054 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
1055 (gst_static_pad_template_get_type):
1056 * gst/gsttaglist.c: (gst_tag_list_get_type):
1057 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
1058 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
1059 * gst/gsturi.c: (gst_uri_handler_get_type):
1060 * gst/gstvalue.c: (gst_date_get_type):
1061 * gst/gstxml.c: (gst_xml_get_type):
1062 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
1063 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1064 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
1065 Add G_UNLIKELY in type registration.
1067 2006-06-12 Wim Taymans <wim@fluendo.com>
1069 * tools/gst-inspect.c: (print_signal_info):
1070 Properly print enum values.
1072 2006-06-12 Wim Taymans <wim@fluendo.com>
1074 * gst/gstinfo.c: (gst_debug_set_active),
1075 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
1077 Add some G_[UN]LIKELY.
1078 Maintain __gst_debug_min to avoid formatting the arguments of
1079 debug messages that will be dropped anyway to avoid a lot of
1080 overhead from the debugging system.
1082 2006-06-11 Stefan Kost <ensonic@users.sf.net>
1086 add missing files containing translatable strings, tell intltool about
1089 2006-06-11 Stefan Kost <ensonic@users.sf.net>
1091 * tests/check/libs/.cvsignore:
1092 add test-binary to ignore list
1094 2006-06-11 Stefan Kost <ensonic@users.sf.net>
1096 * docs/libs/gstreamer-libs-docs.sgml:
1097 reorder (put dp into a chapter) and indent
1099 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
1104 === release 0.10.8 ===
1106 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
1109 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
1111 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
1113 * gst/gst.c: (init_post):
1114 move pid declaration to declaration block
1116 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
1118 * gst/gst.c: (init_post):
1119 use _exit() instead of exit() in our forked child; this ensures
1120 that none of the registered exit handlers from whatever is using
1121 GStreamer get executed. This fixes gnome-mixer-applet failing
1122 to load, because ORBit would shut down.
1123 Spotted by: Edward Hervey <edward@fluendo.com>
1124 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
1127 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
1132 === release 0.10.7 ===
1134 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
1137 releasing 0.10.7, "Soepeke, ik zie ou"
1139 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
1162 * win32/common/config.h:
1165 2006-06-07 Wim Taymans <wim@fluendo.com>
1167 * gst/gstindex.c: (gst_index_gtype_resolver):
1168 * tools/gst-xmlinspect.c: (print_plugin_info):
1169 Fix leak spotted by coverity checker. Fixes #343827
1170 Fix another other leak found by paolo borelli.
1172 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
1174 * libs/gst/dataprotocol/dataprotocol.c:
1175 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1176 (gst_dp_version_get_type), (gst_dp_init),
1177 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
1178 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
1179 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
1180 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
1181 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
1182 (gst_dp_packetizer_free):
1183 * libs/gst/dataprotocol/dataprotocol.h:
1184 API: add a GstDPPacketizer object, and create/free functions
1185 API: add GstDPVersion enum
1186 Add 1.0 event function that uses the string serialization
1187 Serialize more useful buffer flags
1190 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
1192 * tests/check/Makefile.am:
1193 * tests/check/gst/gstabi.c:
1194 * tests/check/gst/struct_ppc64.h:
1195 * tests/check/libs/libsabi.c:
1196 * tests/check/libs/struct_ppc64.h:
1197 add ppc64 structure sizes
1199 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
1201 * tests/check/Makefile.am:
1202 * tests/check/gst/gstabi.c:
1203 * tests/check/gst/struct_x86_64.h:
1204 * tests/check/libs/libsabi.c:
1205 * tests/check/libs/struct_x86_64.h:
1206 generate and add structure size lists for x86_64
1208 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
1210 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1211 * libs/gst/check/gstcheck.h:
1212 factor out the method from tests that checks size of structures,
1213 and add code to generate the header containing these sizes
1214 * tests/check/gst/gstabi.c: (GST_START_TEST):
1215 * tests/check/gst/struct_i386.h:
1216 * tests/check/libs/libsabi.c: (GST_START_TEST):
1217 * tests/check/libs/struct_i386.h:
1220 2006-06-06 Michael Smith <msmith@fluendo.com>
1223 Don't use c++-style comments, fixes #343929
1225 2006-06-05 Edward Hervey <edward@fluendo.com>
1228 plugin_paths is not used if we build without registry support.
1230 * gst/gstsegment.c: (gst_segment_copy):
1231 _copy() was always returning NULL...
1233 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
1235 * libs/gst/dataprotocol/dataprotocol.c:
1236 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1237 (gst_dp_packet_from_event):
1240 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
1242 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
1243 make sure we unset caps
1245 2006-06-02 Michael Smith <msmith@fluendo.com>
1247 * libs/gst/check/gstcheck.c: (gst_check_init),
1248 (gst_check_chain_func):
1249 * libs/gst/check/gstcheck.h:
1250 Add a cond/mutex to the check support lib, signal this whenever we
1251 add to the buffers list. This will allow tests to not busy-wait on
1254 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
1256 * libs/gst/dataprotocol/dataprotocol.c:
1257 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1258 (gst_dp_packet_from_event):
1259 factor out some common header init code
1261 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
1263 * docs/libs/gstreamer-libs-sections.txt:
1264 * docs/libs/tmpl/gstdataprotocol.sgml:
1265 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
1266 * libs/gst/dataprotocol/dataprotocol.h:
1267 API: make gst_dp_crc() public
1269 2006-06-01 Stefan Kost <ensonic@users.sf.net>
1271 * plugins/indexers/gstindexers.c: (plugin_init):
1272 conditionally register fileindexer (fixes #343598)
1274 2006-06-01 Stefan Kost <ensonic@users.sf.net>
1276 * gst/gsttagsetter.h:
1277 Can't cast ifaces to a class
1279 * libs/gst/net/gstnetclientclock.h:
1280 * libs/gst/net/gstnettimeprovider.h:
1281 * plugins/elements/gstfakesink.h:
1282 * plugins/elements/gstfakesrc.h:
1283 * plugins/elements/gstfdsink.h:
1284 * plugins/elements/gstfdsrc.h:
1285 * plugins/elements/gstfilesink.h:
1286 * plugins/elements/gstfilesrc.h:
1287 * plugins/elements/gstidentity.h:
1288 * plugins/elements/gstqueue.h:
1289 * plugins/elements/gsttee.h:
1290 * plugins/indexers/gstfileindex.c:
1291 * plugins/indexers/gstmemindex.c:
1292 * tests/old/examples/plugins/example.h:
1293 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
1295 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
1297 * libs/gst/dataprotocol/dataprotocol.c:
1298 (gst_dp_header_from_buffer):
1299 make sure we zero the whole ABI-compatible area
1301 2006-06-01 Wim Taymans <wim@fluendo.com>
1303 Patch by: Alessandro Decina <alessandro at nnva dot org>
1305 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
1306 Make sure the EOS flag is cleared from pads after a flush
1307 or stop. Fixes #343538.
1309 * tests/check/libs/collectpads.c: (GST_START_TEST),
1310 (gst_collect_pads_suite):
1311 Added test for collectpads reusage after EOS.
1313 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
1316 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
1317 * win32/common/libgstbase.def:
1318 export gst_collect_pads_set_flushing
1319 * win32/common/libgstreamer.def:
1320 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
1321 gst_value_fraction_multiply
1322 * win32/vs6/gst_inspect.dsp:
1323 add a link to intl.lib
1325 2006-05-30 Wim Taymans <wim@fluendo.com>
1327 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
1328 (gst_collect_pads_chain):
1329 Handle the case where a pad is removed from the collection
1330 that could cause the other pads to become collectable.
1332 2006-05-30 Wim Taymans <wim@fluendo.com>
1335 Clarify the use of _release_request_pad() and
1336 _get_request_pad() a bit better.
1338 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
1339 (gst_adapter_take_buffer):
1340 Fix some doc and comment typos.
1342 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1344 * docs/gst/gstreamer-sections.txt:
1345 * docs/libs/gstreamer-libs-sections.txt:
1346 add declared symbols
1348 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
1350 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
1351 Add debug that can be enabled using a #define at the top of the file,
1352 for dumping stats about how late/early we were when waking up from
1353 waiting on the clock.
1355 2006-05-30 Wim Taymans <wim@fluendo.com>
1357 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
1358 When rebuilding the pad list, don't leak the previous list.
1360 2006-05-30 Wim Taymans <wim@fluendo.com>
1362 Patch by: Lutz Mueller <lutz at topfrose dot de>
1364 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1365 (gst_base_src_get_query_types), (gst_base_src_update_length):
1366 Publish supported query types.
1367 Update last_stop field in get_range mode so the position
1368 query works. Fixes #342321.
1370 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
1372 * docs/gst/gstreamer-sections.txt:
1373 * gst/gsttaglist.c: (_gst_tag_initialize):
1375 API: add GST_TAG_PREVIEW_IMAGE (#343341).
1377 2006-05-30 Wim Taymans <wim@fluendo.com>
1379 Patch by: Alessandro Decina <alessandro at nnva dot org>
1381 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1382 Unlock mutex when removing an unknown pad.
1385 * tests/check/Makefile.am:
1386 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
1387 (push_event), (setup), (teardown), (GST_START_TEST),
1388 (gst_collect_pads_suite), (main):
1389 Added collecpads check, disabled for now as check crashes for
1392 2006-05-29 Wim Taymans <wim@fluendo.com>
1394 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
1395 Don't leak pads lists.
1397 2006-05-29 Wim Taymans <wim@fluendo.com>
1399 * docs/libs/gstreamer-libs-sections.txt:
1400 * libs/gst/base/gstcollectpads.c:
1401 (gst_collect_pads_set_flushing_unlocked),
1402 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
1403 (gst_collect_pads_stop):
1404 * libs/gst/base/gstcollectpads.h:
1405 API: gst_collect_pads_set_flushing()
1406 Added api to set the pads to flushing, useful for seeking
1407 code in elements using collectpads.
1408 Clear segment when receiving a flush.
1410 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
1412 * gst/gst.c: (add_path_func), (init_post):
1413 Don't scan registry paths passed via --gst-plugin-path immediately
1414 (will crash, because absolutely nothing is set up and no types are
1415 registered etc.); do this later in init_post(). Fixes #343057.
1417 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
1419 * gst/gst.c: (init_post):
1420 if we have fork, fork while reading/rebuilding the registry
1421 so the parent doesn't take the hit of having all plugins loaded
1422 in memory. Fixes #342777.
1424 Check if we have fork()
1425 * win32/common/config.h.in:
1428 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
1430 * plugins/elements/gstelements.c:
1431 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1432 (gst_file_src_init), (gst_file_src_set_property),
1433 (gst_file_src_get_property), (gst_file_src_start):
1434 * plugins/elements/gstfilesrc.h:
1435 API: GstFileSrc::use-mmap
1437 Add a use-mmap property to enable easier testing of all code paths.
1438 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
1439 in the absence of gnomevfssrc. (Closes #340501)
1441 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1443 * tools/gst-inspect.c:
1444 Add missing include, removes warning of ngettext not being defined on
1447 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
1449 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1450 Handle NULL input and output pointers silently as a failed conversion,
1451 rather than g_warnings.
1453 2006-05-25 Wim Taymans <wim@fluendo.com>
1455 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
1456 Initialize variable before using. Fixes #342820.
1458 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
1460 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
1461 Fix off-by-one bug that would only allow peeks of N-1 bytes
1462 from the start even if the buffer to typefind on contains
1463 in fact N bytes of data (makes vorbis typefinding from a
1464 vorbis identification header buffer work).
1466 * tests/check/Makefile.am:
1467 * tests/check/libs/.cvsignore:
1468 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
1469 (gst_typefindhelper_suite), (main), (foobar_typefind),
1471 Add very basic unit test for gst_type_find_helper_for_buffer()
1472 that checks for the problem fixed above.
1474 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
1476 * tools/gst-inspect.c: (print_interfaces),
1477 (print_element_properties_info), (print_element_list), (main):
1478 add more translatable strings
1480 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
1482 Patch by: Julien Moutte <julien at moutte net>
1484 * docs/gst/gstreamer-sections.txt:
1485 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
1487 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1488 (gst_fake_sink_preroll):
1489 * plugins/elements/gstfakesink.h:
1490 API: Add new GstFakeSink::preroll-handoff signal (#337100).
1492 2006-05-23 Wim Taymans <wim@fluendo.com>
1494 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
1496 Added _CUSTOM error and success GstFlowReturn that can be
1497 used be elements internally.
1498 Added macro to check for SUCCESS flowreturns.
1499 API: GST_FLOW_CUSTOM_SUCCESS
1500 API: GST_FLOW_CUSTOM_ERROR
1501 API: GST_FLOW_IS_SUCCESS
1503 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1504 Added check for GstFlowReturn sanity.
1506 2006-05-23 Wim Taymans <wim@fluendo.com>
1508 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1510 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
1511 (gst_collect_pads_event):
1512 clear/reset segment info in FLUSH_STOP.
1515 2006-05-22 Stefan Kost <ensonic@users.sf.net>
1517 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
1518 (gst_collect_pads_check_collected):
1519 Flush queued buffer on _stop(), fixes playing again (#342454)
1521 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
1523 * tests/check/gst/gststructure.c: (GST_START_TEST),
1524 (gst_structure_suite):
1525 add a test for a complete structure
1527 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
1529 * docs/faq/developing.xml:
1531 * docs/faq/troubleshooting.xml:
1532 * docs/faq/using.xml:
1533 Some minor FAQ updates that won't change the fact that
1534 our FAQ is badly structured, full of information hardly
1535 anyone new to GStreamer needs to know and lacking lots
1536 of information people constantly ask for.
1538 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
1540 * gst/gstpad.c: (gst_pad_set_caps):
1541 Short-circuit gst_pad_set_caps if setting the existing
1542 caps pointer again, and avoid printing debug and
1543 reffing/unreffing the caps.
1545 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1546 There's actually no need to set the caps before pushing -
1547 the acceptcaps method will handle it anyway.
1549 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
1551 * docs/gst/gstreamer-sections.txt:
1552 * win32/common/libgstreamer.def:
1553 * gst/gstutils.c: (gst_element_seek_simple):
1555 API: add gst_element_seek_simple() (#342238).
1557 2006-05-18 Edward Hervey <edward@fluendo.com>
1559 * gst/gsttypefind.c: (gst_type_find_get_type):
1560 * gst/gsttypefind.h:
1561 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
1562 registered for GstTypeFind pointers. This allows wrapping the structure
1563 in bindings (i.e. gst-python).
1565 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
1567 * gst/gsttagsetter.c:
1568 Docs additions and fixes (see #339918).
1570 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
1572 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1573 The caps intersection algorithm can produce multiple copies of the
1574 caps. Until that is fixed, we need to simplify the result to be
1575 sure whether the allowed caps are fixed or not.
1577 * plugins/elements/gstqueue.c: (gst_queue_init),
1578 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
1579 (gst_queue_push_one):
1580 Proxied buffer alloc should not set the caps on the source pad.
1581 When pushing buffers, we always accept the caps change that triggers.
1582 This prevents negotiation errors caused by caps changing mid-stream
1583 and then being refused on our source pad (because upstream is now
1584 refusing those caps).
1586 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
1588 * tests/examples/helloworld/helloworld.c: (main):
1589 Must plug audioconvert and audioresample between decoder
1592 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
1594 * gst/gstregistryxml.c: (read_string), (load_pad_template),
1595 (load_feature), (load_plugin):
1596 Allow empty strings for some of the plugin fields so we don't
1597 drop valid plugin entries that were written out correctly
1600 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
1602 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
1603 Use g_remove and g_rename instead of remove and rename that don't
1604 handle utf8 characters. rename was failing for users who had specific
1605 characters in their name then the registry was built at each
1607 * win32/vs6/gst_inspect.dsp:
1608 * win32/vs6/gst_launch.dsp:
1609 * win32/vs6/libgstbase.dsp:
1610 * win32/vs6/libgstcoreelements.dsp:
1611 * win32/vs6/libgstreamer.dsp:
1612 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
1613 build of libgstreamer and clean unused libraries in projects link
1616 2006-05-17 Edward Hervey <edward@fluendo.com>
1618 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1619 The queue is not responsible for pushing an EOS when receiving a fatal
1620 flow error. It's up to the real element driving the pipeline to do that.
1622 2006-05-16 Edward Hervey <edward@fluendo.com>
1624 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1625 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
1626 buffer returned a fatal error. It should just send an EOS and stop
1628 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
1629 when pushing buffers on the queue and will be able to handle the event.
1631 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
1633 * docs/manual/basics-bins.xml:
1634 * docs/manual/basics-init.xml:
1635 Fix typos and minor errors in sample code (#341856).
1637 2006-05-16 Wim Taymans <wim@fluendo.com>
1639 * docs/design/part-qos.txt:
1640 Fix indexes in formulas to make more sense.
1642 2006-05-15 Wim Taymans <wim@fluendo.com>
1644 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
1645 Don't report POSITION based on clock time if sync is
1648 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
1651 Add cast to make compiler happy - refcount variable was a gint
1652 in GstObject but is a guint in GObject and g_atomic_int_get()
1655 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
1657 * gst/parse/Makefile.am:
1658 chain commands using &&, which also makes parallel make work
1660 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
1662 * docs/gst/gstreamer-sections.txt:
1668 === release 0.10.6 ===
1670 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
1673 releasing 0.10.6, "Take the cannoli"
1675 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
1677 * tools/gst-launch.c: (print_tag):
1678 Fix use of uninitialized variable in the hypothetical
1679 case that some broken plugin creates a GST_TAG_IMAGE
1680 tag containing a NULL buffer (#341667).
1682 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
1684 * tools/gst-launch.c: (print_tag):
1685 Print something more intelligible for image tags when
1686 using the -t switch (#341556).
1688 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
1693 define GST_MAJORMINOR so we have it available in win32/common/config.h
1694 Possibly remove it from our Makefile.am files later
1695 * win32/common/config.h:
1696 * win32/common/config.h.in:
1697 added GST_MAJORMINOR
1698 * win32/common/gstenumtypes.c: (register_gst_resource_error):
1699 * win32/common/gstversion.h:
1702 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
1705 Update win32 files listing.
1706 * win32/common/gstversion.h:
1707 Add GST_MAJORMINOR definition.
1708 * win32/common/libgstreamer.def:
1709 Add new exported functions.
1711 2006-05-12 Michael Smith <msmith@fluendo.com>
1713 * gst/gstplugin.c: (gst_plugin_load_file):
1714 If an so file has no plugin entry point, unload the module.
1716 2006-05-11 Wim Taymans <wim@fluendo.com>
1718 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
1719 (gst_queue_set_property):
1720 Don't forget to signal the _chain or _loop function
1721 when the queue size or thresholds change since that might
1722 cause them to make progres again.
1724 2006-05-11 Stefan Kost <ensonic@users.sf.net>
1726 * gst/gstclock.c: (gst_clock_class_init):
1727 * gst/gstindex.c: (gst_index_class_init):
1728 * gst/gstobject.c: (gst_object_class_init):
1729 * gst/gstpad.c: (gst_pad_class_init):
1730 * gst/gstpipeline.c: (gst_pipeline_class_init):
1731 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1732 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1733 * libs/gst/base/gstbasetransform.c:
1734 (gst_base_transform_class_init):
1735 * libs/gst/net/gstnetclientclock.c:
1736 (gst_net_client_clock_class_init):
1737 * libs/gst/net/gstnettimeprovider.c:
1738 (gst_net_time_provider_class_init):
1739 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1740 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1741 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1742 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1743 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1744 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1745 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1746 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1747 * plugins/elements/gsttee.c: (gst_tee_class_init):
1748 * tests/old/examples/plugins/example.c: (gst_example_class_init):
1749 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1750 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
1752 2006-05-11 Wim Taymans <wim@fluendo.com>
1754 * gst/gstbuffer.c: (_gst_buffer_initialize):
1755 Register subbufer along with the buffer type so that
1756 it does not accidentally gets registered from N
1757 different streaming threads in a non threadsafe way.
1759 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
1764 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
1765 gst_event_ref() and gst_message_ref() functions again
1766 (ugly hack, please do fix if there's a better way besides
1767 overrides.txt, which doesn't seem to work).
1769 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1771 * libs/gst/check/gstcheck.h:
1772 add an assert for setting state to avoid lots of repetitive code
1775 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1777 * gst/gstvalue.c: (gst_value_serialize_flags):
1778 fix a leak if no flags are set
1779 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1782 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
1784 * docs/manual/basics-pads.xml:
1785 Expand a bit on caps and filtered links and update
1786 examples that were still using the no longer existing
1787 gst_pad_link_filtered() (#338206).
1789 2006-05-10 Wim Taymans <wim@fluendo.com>
1791 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1792 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1793 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
1794 (gst_collect_pads_stop):
1795 * libs/gst/base/gstcollectpads.h:
1796 No need to call _stop in _finalize.
1797 Iterate the main pad list in _finalize.
1798 Added some more debug.
1799 Free lists and data in the right order.
1800 Also free data whem doing _remove_pad when stopped for
1801 backward compatibility protect ::started with PAD_LOCK as
1804 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1806 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
1807 (gst_structure_parse_value):
1809 rename a method so that it actually says what it does better
1811 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1813 * gst/gstevent.c: (_gst_event_initialize):
1814 * gst/gstformat.c: (_gst_format_initialize):
1815 make sure some essential types used by events are registered
1816 as part of gst_init()
1817 * gst/gstvalue.c: (gst_value_serialize_flags):
1818 if no flags are set, serialize them to a value that represents NONE
1819 so that deserializing them works
1820 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1821 add tests for serialization and deserialization of flags
1823 2006-05-10 Wim Taymans <wim@fluendo.com>
1825 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
1826 (gst_collect_pads_collect_range), (gst_collect_pads_available),
1827 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
1828 (gst_collect_pads_event), (gst_collect_pads_chain):
1831 Catch and return errors from the collect function
1832 Refuse data on eos pads.
1834 2006-05-10 Edward Hervey <edward@fluendo.com>
1836 * gst/gstinterface.h:
1837 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
1838 GInterface type checking.
1839 They were previously using non-defined macros.
1841 2006-05-09 Wim Taymans <wim@fluendo.com>
1843 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
1844 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
1845 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
1846 (gst_collect_pads_start), (gst_collect_pads_stop),
1847 (gst_collect_pads_peek), (gst_collect_pads_pop),
1848 (gst_collect_pads_available), (gst_collect_pads_read),
1849 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
1850 (gst_collect_pads_is_collected), (gst_collect_pads_event),
1851 (gst_collect_pads_chain):
1852 * libs/gst/base/gstcollectpads.h:
1853 Clean up the mess that is collectpads, add comments and
1854 FIXMEs where needed.
1855 Maintain a separate pad list so we can add pads while
1856 collecting the other ones. For this we need a new separate
1858 Fix memory leak in finalize.
1859 Refactor some weird code to set/unset pad flushing flags, mark
1861 Don't crash in _available, _read, _flush when we're EOS.
1863 * tests/check/libs/.cvsignore:
1864 Ignore adapter check binary.
1866 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1868 * gst/gstindex.c: (gst_index_resolver_get_type):
1869 * plugins/elements/gstfakesink.c:
1870 (gst_fake_sink_state_error_get_type):
1871 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1872 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
1873 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1874 Const-ify GEnumValue arrays.
1876 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1878 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1879 Add test case for flags + gst_buffer_make_metadata_writable().
1881 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1883 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
1884 gst_buffer_make_metadata_writable() should maintain the
1885 buffer flags (those that make sense at least) (see #340859).
1887 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1889 * tools/gst-inspect.c:
1890 * tools/gst-launch.c:
1891 * tools/gst-typefind.c:
1892 * tools/gst-xmlinspect.c:
1894 Fix up includes: need to include stdlib.h in tools.h for exit().
1896 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1898 * gst/gsttaglist.c: (_gst_tag_initialize):
1900 API: add GST_TAG_IMAGE tag (#340721).
1902 2006-05-08 Wim Taymans <wim@fluendo.com>
1905 Added some docs for the segment query.
1907 2006-05-08 Wim Taymans <wim@fluendo.com>
1909 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1910 (gst_base_src_loop), (gst_base_src_change_state):
1911 Always push non-flushing serialized events in the streaming
1914 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
1916 * gst/gsterror.c: (_gst_stream_errors_init):
1917 Add a missing error string.
1919 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
1921 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
1922 Add applied_rate to the debug
1924 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1925 Copy applied_rate into the outgoing NEWSEGMENT event
1927 2006-05-08 Wim Taymans <wim@fluendo.com>
1929 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
1931 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
1932 (gst_base_sink_change_state):
1933 call ::unlock before taking the PREROLL_LOCK so we can safely
1934 handle elements that lock in ::render.
1937 2006-05-08 Edward Hervey <edward@fluendo.com>
1939 * autogen.sh: (CONFIGURE_DEF_OPT):
1940 Darwin's libtoolize is in fact called glibtoolize.
1941 Adding glibtoolize to the list of accepted names for libtoolize.
1943 2006-05-08 Wim Taymans <wim@fluendo.com>
1945 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1946 Unify error handling, don't post an error message
1947 when a push() returns EOS but perform our normal EOS
1948 handling code. Fixes #340772.
1950 2006-05-08 Wim Taymans <wim@fluendo.com>
1952 * docs/design/part-overview.txt:
1953 Make upsteam/downstream concepts more clear.
1954 Give an example of serialized/non-serialized events.
1956 * docs/design/part-events.txt:
1957 * docs/design/part-streams.txt:
1958 Mention applied_rate.
1960 * docs/design/part-trickmodes.txt:
1961 Mention applied rate, flesh out some more use cases.
1963 * gst/gstevent.c: (gst_event_new_new_segment),
1964 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
1965 (gst_event_parse_new_segment_full), (gst_event_new_tag),
1966 (gst_event_parse_tag), (gst_event_new_buffer_size),
1967 (gst_event_parse_buffer_size), (gst_event_new_qos),
1968 (gst_event_parse_qos), (gst_event_parse_seek),
1969 (gst_event_new_navigation):
1971 Add applied_rate field to NEWSEGMENT event.
1972 API: gst_event_new_new_segment_full()
1973 API: gst_event_parse_new_segment_full()
1975 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
1976 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
1977 (gst_segment_to_stream_time), (gst_segment_to_running_time):
1979 Add applied_rate to GstSegment structure.
1980 Make calculation of stream_time and running_time more correct
1981 wrt rate/applied_rate.
1983 API: GstSegment::applied_rate field
1984 API: gst_segment_set_newsegment_full();
1986 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1987 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
1988 * libs/gst/base/gstbasetransform.c:
1989 (gst_base_transform_sink_eventfunc),
1990 (gst_base_transform_handle_buffer):
1991 Parse and use applied_rate in the GstSegment field.
1993 * tests/check/gst/gstevent.c: (GST_START_TEST):
1994 Add check for applied_rate field.
1996 * tests/check/gst/gstsegment.c: (GST_START_TEST),
1997 (gstsegments_suite):
1998 Add more checks for various GstSegment operations.
2000 2006-05-08 Wim Taymans <wim@fluendo.com>
2002 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2003 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
2004 (gst_base_sink_get_position), (gst_base_sink_change_state):
2005 Store the sync time of the buffer end position separatly in a
2006 new variable eos_rtime so we can properly sync the EOS event.
2008 Fix the docs for gst_base_sink_set_qos_enabled().
2009 Don't set segment start to invalid value when we receive a
2010 non TIME newsegment.
2011 get closer to handling position reporting for negative rates
2014 2006-05-07 Stefan Kost <ensonic@users.sf.net>
2017 Docs about how to print caps for debug purposes.
2019 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
2020 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
2022 2006-05-07 Stefan Kost <ensonic@users.sf.net>
2025 use full enum names and preprend a '%' in docs strings to make recent
2026 gtk-doc turn that into a link
2028 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
2030 * docs/manual/basics-bins.xml:
2031 * docs/manual/basics-bus.xml:
2032 * docs/manual/basics-pads.xml:
2033 Some typo fixes, some additions, some clarifications.
2035 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
2037 * tools/gst-inspect.c: (main):
2038 * tools/gst-launch.c: (main):
2039 * tools/gst-run.c: (main):
2040 * tools/gst-typefind.c: (main):
2041 * tools/gst-xmlinspect.c: (main):
2042 Use the string passed to g_option_context_new() for
2043 what it's intended for - the program name is already
2046 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
2048 * tools/Makefile.am:
2049 * tools/gst-inspect.c: (main):
2050 * tools/gst-launch.c: (main):
2051 * tools/gst-xmlinspect.c: (main):
2053 Add back --version command line option (#340460).
2055 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
2056 Add --version option and use GOption for argument parsing; refactor a
2057 bit; accept directories as arguments and recurse into them; lastly,
2058 print a decent error message when things go wrong.
2060 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
2062 * docs/manual/basics-bins.xml:
2063 Don't mention GstThread (#340611)
2064 * docs/manual/basics-elements.xml:
2065 Update link to GObject tutorial (#340607)
2067 2006-05-05 Wim Taymans <wim@fluendo.com>
2070 * gst/gstminiobject.c:
2071 Add note about refcounting and miniobject/buffer writeability
2072 to docs. Fixes #340604
2074 * gst/gstelementfactory.h:
2075 Added some explanation about @klass.
2077 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
2079 * docs/manual/intro-motivation.xml:
2080 * docs/manual/manual.xml:
2081 Avoid CORBA & Bonobo references (#340598)
2083 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
2085 * docs/manual/basics-bus.xml:
2086 * docs/manual/basics-pads.xml:
2087 Fix up some inaccuracies and omissions (#340609)
2089 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
2091 * gst/gstghostpad.c:
2092 Small typo in docs (#340625)
2094 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
2096 * gst/parse/Makefile.am:
2097 Make 'make -j' proof (see #340698).
2099 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
2102 Require GLib-2.8 here as well.
2104 2006-05-05 Wim Taymans <wim@fluendo.com>
2106 * gst/glib-compat.c:
2107 * gst/gst.c: (init_pre):
2108 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
2109 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
2110 (gst_object_dispatch_properties_changed):
2112 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
2113 * gst/gststructure.c: (gst_structure_set_valist):
2114 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2115 Remove pre glib2.8 compatibility, fixes #340508
2117 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
2120 Mention type of tags in doc blurbs.
2122 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
2124 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
2125 (gst_pad_configure_src), (gst_pad_push):
2126 Restore acceptcaps checking behaviour now that good plugins have
2129 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
2131 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
2142 * gst/parse/Makefile.am:
2143 * libs/gst/base/gstadapter.c:
2144 * libs/gst/base/gstbasesrc.c:
2145 * libs/gst/base/gstpushsrc.c:
2146 * libs/gst/base/gsttypefindhelper.c:
2147 * plugins/elements/gstfakesrc.c:
2148 * plugins/elements/gstidentity.c:
2149 Make sure gstprivate.h and/or config.h are
2150 always included first, otherwise some of our
2151 defines (like _FILE_OFFSET_BITS) might be
2152 redefined in the system headers. Fixes build
2153 on opensolaris (#340016).
2155 2006-05-04 Wim Taymans <wim@fluendo.com>
2157 * docs/libs/gstreamer-libs-sections.txt:
2158 API: addition: gst_adapter_take_buffer()
2160 * libs/gst/base/gstadapter.c: (gst_adapter_push),
2161 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
2162 (gst_adapter_available_fast):
2163 * libs/gst/base/gstadapter.h:
2164 Prepare for optimizing the hell out of this hugely inefficient
2166 Added gst_adapter_take_buffer() so we can at least start thinking
2167 about subbuffering and merging.
2168 Added some comments.
2170 * tests/check/Makefile.am:
2171 * tests/check/libs/adapter.c: (GST_START_TEST),
2172 (gst_adapter_suite), (main):
2173 Added GstAdapter check.
2175 2006-05-04 Wim Taymans <wim@fluendo.com>
2177 * docs/design/part-overview.txt:
2178 Fix some typos, add blurb about buffer flags.
2180 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
2182 * docs/libs/gstreamer-libs-sections.txt:
2183 make sure GstBaseTransformClass shows up in the docs
2184 * libs/gst/base/gstbasetransform.c:
2185 * libs/gst/base/gstbasetransform.h:
2186 move docs so gtk-doc picks it up now
2188 2006-05-02 Stefan Kost <ensonic@users.sf.net>
2190 * docs/libs/gstreamer-libs-sections.txt:
2191 add missing symbols to docs
2193 2006-05-02 Stefan Kost <ensonic@users.sf.net>
2195 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2196 back out the newsegment handling change, see #340060 for ongoing
2199 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
2201 * tools/gst-run.c: (get_candidates), (main):
2202 Fix wrong g_file_test() usage (see glib docs for why it doesn't
2203 work); fix typo in error message. Fixes #340079.
2205 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
2207 * common/Makefile.am:
2209 * docs/faq/Makefile.am:
2210 * docs/gst/Makefile.am:
2211 * docs/libs/Makefile.am:
2212 * docs/manual/Makefile.am:
2213 * docs/plugins/Makefile.am:
2214 * docs/pwg/Makefile.am:
2215 * docs/slides/Makefile.am:
2217 * common/upload.mak:
2218 move upload.mak to common
2220 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
2222 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2223 add more asserts on refcounts
2224 do more cleanup at end of tests
2225 fix test leaks showing in FC5
2227 2006-04-29 Stefan Kost <ensonic@users.sf.net>
2229 * plugins/elements/gsttypefindelement.c:
2230 (gst_type_find_element_handle_event):
2231 reverted wrong change and reflowed code to avoid others falling into
2234 2006-04-28 Stefan Kost <ensonic@users.sf.net>
2236 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2237 fix changelog entry about last collectpads change,
2238 add notes about proper fix
2240 2006-04-28 Stefan Kost <ensonic@users.sf.net>
2243 * gst/gstregistry.c: (gst_registry_scan_path_level),
2244 (gst_registry_scan_path):
2245 * gst/gstregistry.h:
2246 only write out registry if it has changed, fixes #338339
2248 2006-04-28 Stefan Kost <ensonic@users.sf.net>
2251 * gst/gstpipeline.c:
2252 * plugins/elements/gstcapsfilter.c:
2253 * plugins/elements/gstfakesink.c:
2254 * plugins/elements/gstfakesrc.c:
2255 * plugins/elements/gstfdsink.c:
2256 * plugins/elements/gstfdsrc.c:
2257 * plugins/elements/gstfilesink.c:
2258 * plugins/elements/gstfilesrc.c:
2259 * plugins/elements/gstidentity.c:
2260 * plugins/elements/gstqueue.c:
2261 * plugins/elements/gsttee.c:
2262 * plugins/elements/gsttypefindelement.c:
2263 (gst_type_find_element_handle_event):
2264 make GstElementDetails const
2266 2006-04-28 Stefan Kost <ensonic@users.sf.net>
2268 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
2269 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2270 (gst_collect_pads_is_collected), (gst_collect_pads_event):
2271 more detailed debug and formatting cleanup,
2272 forward newsegments to src-pad (so that e.g. adder not eats them)
2274 2006-04-28 Stefan Kost <ensonic@users.sf.net>
2276 * gst/gstutils.c: (gst_element_link_pads):
2279 2006-04-28 Stefan Kost <ensonic@users.sf.net>
2281 * libs/gst/controller/gstcontroller.c:
2282 (gst_controller_sync_values):
2284 * tests/check/libs/controller.c: (GST_START_TEST),
2285 (gst_controller_suite):
2286 a new test for live value handling
2288 2006-04-28 Wim Taymans <wim@fluendo.com>
2290 * gst/gstutils.c: (push_and_ref):
2291 Added some more docs.
2292 Fix refcount issue whith gst_element_found_tags() helper
2293 function. Fixes #338335
2295 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
2296 Added testsuite for gst_element_found_tags().
2298 2006-04-28 Michael Smith <msmith@fluendo.com>
2300 * gst/gstvalue.c: (gst_value_serialize_flags):
2301 Avoid NULL dereference when trying to serialize flags containing
2304 2006-04-28 Michael Smith <msmith@fluendo.com>
2306 * plugins/elements/gsttypefindelement.c:
2307 (gst_type_find_element_handle_event):
2308 If we get EOS before any data is accumulated, don't use
2309 uninitialised local variables.
2311 2006-04-28 Michael Smith <msmith@fluendo.com>
2313 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
2314 (gst_dp_event_from_packet):
2315 Fixes in reading/writing events over GDP (not currently used?) -
2316 dereferencing NULL events for unknown/invalid event types, memory
2317 leak, and change g_warning to GST_WARNING.
2319 2006-04-28 Wim Taymans <wim@fluendo.com>
2321 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
2322 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
2323 (gst_base_sink_get_position), (gst_base_sink_change_state):
2324 When frame dropping is enabled, we should not ignore frames
2326 Update some documentation.
2328 2006-04-28 Wim Taymans <wim@fluendo.com>
2330 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2331 (gst_base_src_send_event), (gst_base_src_change_state):
2332 Documentation updates.
2334 2006-04-28 Wim Taymans <wim@fluendo.com>
2336 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2337 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
2338 handle EAGAIN, EINTR and short writes correctly. Also clean
2339 up some error cases, avoid a deadlock on bad file descriptors and
2340 use GST_DEBUG_OBJECT.
2343 2006-04-28 Wim Taymans <wim@fluendo.com>
2345 * gst/gstvalue.c: (gst_value_serialize_buffer),
2346 (gst_value_deserialize_buffer):
2347 Don't try to serialize a GValue with a NULL buffer.
2350 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2351 Added check for serialisation of NULL buffers.
2353 2006-04-28 Wim Taymans <wim@fluendo.com>
2355 * gst/gstminiobject.c: (gst_value_take_mini_object):
2356 Taking a NULL miniobject is valid, fix the case where
2357 we try to unref the NULL miniobject.
2359 2006-04-28 Wim Taymans <wim@fluendo.com>
2361 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2363 * gst/gstbin.c: (gst_bin_handle_message_func):
2365 Don't leak bin refcount when a state recalc is
2366 in progress and we delay another one #339808.
2368 2006-04-28 Wim Taymans <wim@fluendo.com>
2370 * docs/design/part-TODO.txt:
2371 Mention QoS as an ongoing work item.
2373 * docs/design/part-buffering.txt:
2374 New doc about buffering that needs to be fleshed out
2377 * docs/design/part-qos.txt:
2378 More QoS policy for decoders/demuxers/transforms
2380 * docs/design/part-trickmodes.txt:
2383 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
2388 === release 0.10.5 ===
2390 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
2393 releasing 0.10.5, "Fogo"
2395 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
2397 patch by: Wim Taymans
2399 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
2400 (gst_pad_configure_src), (gst_pad_push):
2401 * gst/gstpipeline.c: (gst_pipeline_init):
2402 Fix internal data flow errors. Fixes #338711.
2404 2006-04-12 Wim Taymans <wim@fluendo.com>
2406 * tests/check/gst/gstelement.c: (GST_START_TEST):
2407 Don't leak the factory.
2409 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
2412 * win32/common/config.h:
2415 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
2417 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2418 (gst_controller_unset_all):
2419 Free allocated GstTimedValues when freeing list nodes.
2420 Should fix leaks 'make check-valgrind' complains about.
2422 * win32/common/libgstcontroller.def:
2423 Add gst_controller_unset_all.
2425 2006-04-11 Stefan Kost <ensonic@users.sf.net>
2427 * docs/libs/gstreamer-libs-sections.txt:
2428 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2429 (gst_controller_unset_all):
2430 * libs/gst/controller/gstcontroller.h:
2431 API: Added new method gst_controller_unset_all()
2432 fixed gst_controller_unset()
2433 * tests/check/libs/controller.c: (GST_START_TEST),
2434 (gst_controller_suite):
2435 Added two testcases for new and fixed method
2437 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
2439 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
2440 MSG_DONTWAIT is not defined on Cygwin, so work
2441 around that (fixes #317048).
2443 2006-04-11 Wim Taymans <wim@fluendo.com>
2445 * gst/gstelementfactory.c: (gst_element_register),
2446 (gst_element_factory_create), (gst_element_factory_make):
2449 Updated docs (Fixes #131079)
2451 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2454 * tests/check/gst/gstelement.c: (GST_START_TEST),
2455 (gst_element_suite):
2456 Added testcase for elementfactory class field.
2458 2006-04-10 Wim Taymans <wim@fluendo.com>
2461 Added some more docs.
2463 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
2464 (gst_base_sink_reset_qos):
2465 Calculate more accurate rate values.
2467 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
2469 * gst/gst_private.h:
2470 add a new #ifdef to use __declspec(dllimport) only for
2471 other modules and not for gstreamer core
2472 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
2473 use gst_guint64_to_gdouble for conversion
2474 * win32/common/libgstreamer.def:
2475 add new exported functions
2476 * win32/vs6/gst_inspect.dsp:
2477 * win32/vs6/gst_launch.dsp:
2478 * win32/vs6/libgstbase.dsp:
2479 * win32/vs6/libgstcontroller.dsp:
2480 * win32/vs6/libgstcoreelements.dsp:
2481 * win32/vs6/libgstdataprotocol.dsp:
2482 * win32/vs6/libgstnet.dsp:
2483 update project files
2485 2006-04-08 Stefan Kost <ensonic@users.sf.net>
2487 * gst/gstbuffer.c: (gst_subbuffer_class_init):
2488 * gst/gstclock.c: (gst_clock_class_init):
2489 * gst/gstelement.c: (gst_element_class_init):
2490 * gst/gstindex.c: (gst_index_class_init):
2491 * gst/gstindexfactory.c: (gst_index_factory_class_init):
2492 * gst/gstobject.c: (gst_object_class_init),
2493 (gst_signal_object_class_init):
2494 * gst/gstpad.c: (gst_pad_class_init):
2495 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
2496 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
2497 * gst/gstregistry.c: (gst_registry_class_init):
2498 * gst/gstsystemclock.c: (gst_system_clock_class_init):
2499 * gst/gsttask.c: (gst_task_class_init):
2500 * gst/gstxml.c: (gst_xml_class_init):
2501 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2502 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2503 (gst_base_src_loop):
2504 * libs/gst/controller/gstcontroller.c:/
2505 (_gst_controller_class_init):
2506 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2507 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2508 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
2509 * tests/old/examples/plugins/example.c: (gst_example_class_init):
2510 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
2511 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
2513 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
2515 * gst/gstpad.c: (gst_pad_link):
2516 Must set peer pads before calling the link function, otherwise
2517 a task started from a link function might get a flow-not-linked
2518 result when trying to push because the other thread where the
2519 linking happens hasn't had a chance to set the peers yet. This
2520 might happen for example when a queue gets linked to a downstream
2521 element, as queue starts a streaming task when its source pad
2522 gets linked. Happens in real life when playing back flac/musepack
2523 files in playbin (#332390).
2525 2006-04-08 Stefan Kost <ensonic@users.sf.net>
2529 * libs/gst/base/gstadapter.h:
2530 * libs/gst/base/gstbasesink.h:
2531 * libs/gst/base/gstbasesrc.h:
2532 * libs/gst/base/gstbasetransform.h:
2533 * libs/gst/base/gstcollectpads.h:
2534 * libs/gst/base/gstpushsrc.h:
2535 Fix broken GObject macros
2537 2006-04-07 Wim Taymans <wim@fluendo.com>
2539 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2540 Initialize start and stop times, thanks valgrind.
2542 2006-04-07 Wim Taymans <wim@fluendo.com>
2544 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2545 Be a bit nicer to badly behaving upstream elements that expect
2546 us to deal with non TIME segments and timestamps (such as fakesrc
2549 2006-04-07 Wim Taymans <wim@fluendo.com>
2552 Small documentation clarification about the signal watch.
2554 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2555 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
2556 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2557 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
2558 (gst_base_sink_get_position_last),
2559 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
2560 Convert and store timestamps in stream time and running time, the
2561 raw timestamps are not usefull, also document this better.
2562 Use different window sizes for good and bad QoS observations so
2563 we react to badness a little quicker.
2564 Keep track of the amount of rendered and dropped buffers.
2565 Send QoS timestamps in running time.
2567 * libs/gst/base/gstbasetransform.c:
2568 (gst_base_transform_sink_eventfunc),
2569 (gst_base_transform_handle_buffer):
2570 Compare QoS timestamps against running time.
2572 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
2577 2006-04-06 Michael Smith <msmith@fluendo.com>
2579 * gst/gstpad.c: (gst_pad_set_property):
2580 Use g_value_get_object() instead of g_value_dup_gst_object(),
2581 to avoid double-reffing the pad template (which we then sink,
2582 so this worked previously if (and only if) the pad template
2585 * gst/gstpadtemplate.c: (gst_pad_template_init),
2586 (gst_pad_template_pad_created):
2587 Never return floating references to pad templates, create
2588 them as initially-sunken.
2590 Document an extra function (and make this stop sinking our
2591 pad template, since that is now guaranteed to do nothing,
2592 since we created it sunken).
2594 * gst/gstghostpad.c:
2597 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
2599 * gst/gstinfo.c: (__gst_in_valgrind):
2602 * plugins/elements/gsttypefindelement.c:
2603 (gst_type_find_element_chain):
2604 Don't leak buffer caps.
2606 2006-04-06 Michael Smith <msmith@fluendo.com>
2608 * gst/parse/grammar.y:
2609 Fix a leak in parse-launch for any source-or-sink named element
2612 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
2613 Unref the pipeline if it exists after we've failed parsing.
2615 2006-04-05 Michael Smith <msmith@fluendo.com>
2617 * gst/gstpipeline.c: (gst_pipeline_init):
2618 When we create a pipeline bus, initially create it in flushing mode.
2619 Fixes leaks in at least one test, and makes a new pipeline work the
2620 same as one that has gone to READY and then back to NULL.
2625 2006-04-05 Michael Smith <msmith@fluendo.com>
2627 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2628 Unref a pad we reffed.
2629 * tests/check/gst/gstutils.c: (GST_START_TEST):
2632 2006-04-05 Michael Smith <msmith@fluendo.com>
2634 * gst/gstquery.c: (gst_query_set_formats),
2635 (gst_query_set_formatsv):
2636 Fix leaking GValues in queries, as shown by valgrind/testsuite.
2638 2006-04-05 Michael Smith <msmith@fluendo.com>
2640 * tests/check/generic/sinks.c: (GST_START_TEST):
2641 Fix a variety of memleaks in sinks check, which are only sometimes
2642 shown by running the tests under valgrind (weird?).
2644 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
2646 * docs/version.entities.in:
2647 Fix the substituted entity name after thomas' changes on the
2650 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2652 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
2655 2006-04-05 Andy Wingo <wingo@pobox.com>
2657 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
2659 * libs/gst/base/gstbasetransform.c
2660 (gst_base_transform_sink_eventfunc): When resetting our segment on
2661 FLUSH_STOP, also update the flag saying we haven't seen a
2664 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
2666 Patch by: Paolo Borelli <pborelli at katamail dot com>
2668 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
2669 (gst_plugin_check_license):
2670 minor clean-ups: G_DEFINE_TYPE already takes care of the
2671 parent_class stuff, no need to do it twice. Mark array of
2672 license strings as constant. (#337103)
2674 2006-04-04 Michael Smith <msmith@fluendo.com>
2676 * tools/gst-inspect.c: (print_element_list):
2677 Free the right plugin list; fixes a memory leak.
2679 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
2681 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2683 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2684 Don't error out on empty buffers (#336945).
2686 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
2688 * docs/libs/gstreamer-libs-sections.txt:
2690 * libs/gst/base/gstbasesink.c:
2691 * libs/gst/base/gstbasesink.h:
2692 * libs/gst/base/gstbasesrc.c:
2693 * libs/gst/base/gstbasesrc.h:
2694 Documentation updates. Make BaseSink and BaseSrc docs contain the
2695 class structure so that people can actually see the prototypes for
2696 virtual functions they're supposed to be overriding.
2698 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
2700 * plugins/elements/gsttypefindelement.c:
2701 (gst_type_find_element_chain):
2702 More debug info; when skipping typefinding, send cached
2703 events in all cases.
2705 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
2708 use new AS_VERSION and AS_NANO macros
2709 * gst/gst-i18n-lib.h:
2712 * gst/gstversion.h.in:
2713 * win32/common/config.h:
2714 * win32/common/config.h.in:
2717 2006-03-31 Michael Smith <msmith@fluendo.com>
2719 * plugins/elements/gsttypefindelement.c:
2720 (gst_type_find_element_chain):
2721 Do not typefind content if the buffers already have caps.
2722 Neccesary for icydemux (#333657), and the right thing to do anyway.
2724 2006-03-30 Wim Taymans <wim@fluendo.com>
2726 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2727 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
2728 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
2729 (gst_base_sink_record_qos_observation),
2730 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2731 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
2732 (gst_base_sink_change_state):
2733 More QoS measurements as described in the design doc.
2734 Get rid of ringbuffer with observations, running average is
2735 more simple and equally good.
2736 Calculates valid proportion now.
2737 Added beginning of flood measurement.
2739 2006-03-29 Wim Taymans <wim@fluendo.com>
2741 * docs/design/part-qos.txt:
2743 Small documentation updates and additions.
2745 2006-03-29 Wim Taymans <wim@fluendo.com>
2747 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
2748 (gst_base_src_send_event), (gst_base_src_loop),
2749 (gst_base_src_change_state):
2750 Perform the EOS logic when we reach the segment stop position.
2751 Fix compilation on gcc4.1
2753 2006-03-29 Wim Taymans <wim@fluendo.com>
2755 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2757 * plugins/elements/gstqueue.c: (gst_queue_init),
2758 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
2759 (gst_queue_set_property):
2760 * plugins/elements/gstqueue.h:
2761 In queue, when EOS is received, if minimum threshold > max_size -
2762 current_level, there is chance that queue blocks forever in conditional
2763 item del wait. This is because the queue is not emptied completely due
2764 to minimum threshold. Here is another approach. Instead of setting
2765 cur_levels to max in EOS, just zero all minimum threshold levels. This
2766 should make sure that queue gives out all data. When going to READY
2767 (stop) state, just reset the original minimum threshold levels.
2770 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
2772 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
2773 (gst_type_find_element_handle_event),
2774 (gst_type_find_element_send_cached_events),
2775 (gst_type_find_element_change_state):
2776 * plugins/elements/gsttypefindelement.h:
2777 When typefinding is done in push mode, we should cache
2778 events we receive during typefinding instead of just
2779 dropping them (e.g. newsegment, custom events from
2780 dvdreadsrc etc.) and then send them out once we've
2781 determined the type of the stream (and decodebin
2782 has had a chance to plug in a decoder/demuxer).
2784 2006-03-27 Wim Taymans <wim@fluendo.com>
2786 * docs/design/part-qos.txt:
2789 2006-03-27 Wim Taymans <wim@fluendo.com>
2791 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
2793 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
2794 (gst_base_src_send_event), (gst_base_src_change_state):
2795 Handle element seek correctly when we are streaming.
2798 2006-03-24 Michael Smith <msmith@fluendo.com>
2800 * docs/faq/gst-uninstalled:
2801 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
2802 allow you to correctly run intalled applications built against old
2803 core, using plugins that require updated core (e.g. running
2804 installed totem against a full uninstalled gstreamer stack)
2806 2006-03-24 Stefan Kost <ensonic@users.sf.net>
2808 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
2811 2006-03-24 Wim Taymans <wim@fluendo.com>
2813 * docs/gst/gstreamer-sections.txt:
2814 Rearrange the order of the methods so that related methods
2815 are grouped together in sections.
2817 2006-03-24 Stefan Kost <ensonic@users.sf.net>
2820 Little clarification in the docs
2822 2006-03-24 Stefan Kost <ensonic@users.sf.net>
2826 * plugins/elements/gstidentity.c:
2827 * plugins/elements/gstqueue.c:
2828 * plugins/elements/gsttee.c:
2829 * plugins/elements/gsttypefindelement.c:
2830 GST_ELEMENT_DETAILS formatting
2832 2006-03-24 Wim Taymans <wim@fluendo.com>
2834 * libs/gst/base/gstbasesink.h:
2835 Only add fields, not insert or we break ABI.
2837 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
2839 * win32/common/libgstbase.def:
2840 * win32/common/libgstreamer.def:
2841 Update, add recently added functions.
2843 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
2845 * docs/gst/gstreamer-sections.txt:
2846 * gst/gstutils.c: (gst_pad_query_peer_position),
2847 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
2849 API: add some new utility functions:
2850 - gst_pad_query_peer_position()
2851 - gst_pad_query_peer_duration()
2852 - gst_pad_query_peer_convert()
2854 2006-03-23 Wim Taymans <wim@fluendo.com>
2856 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2857 (gst_base_sink_init), (gst_base_sink_finalize),
2858 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
2859 (gst_base_sink_set_property), (gst_base_sink_get_property),
2860 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
2861 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
2862 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
2863 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2864 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
2865 (gst_base_sink_preroll_object), (gst_base_sink_event),
2866 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
2867 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
2868 (gst_base_sink_query), (gst_base_sink_change_state):
2869 Decouple max-lateness and the fact that QoS messages are generated
2870 with a new property (qos).
2871 added API: GstBaseSink::async_play()
2872 Add vmethod so subclasses can be notified of ASYNC playing
2874 Collect timestamp start and stop to report better current
2875 position in EOS/PLAYING/PAUSED/READY/NULL.
2876 Refactor QoS/frame dropping and other measurements.
2877 API: GstBaseSrc::qos
2880 * libs/gst/base/gstbasesink.h:
2881 Added Private struct.
2882 API: gst_base_sink_set_qos_enabled()
2883 API: gst_base_sink_is_qos_enabled()
2885 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
2887 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
2888 If compiling against GLib-2.8 or newer, try to read the
2889 registry file using GMappedFile first before falling back
2890 to fopen() + fread() (#332151).
2892 2006-03-22 Wim Taymans <wim@fluendo.com>
2894 * gst/gstinfo.c: (gst_debug_set_active),
2895 (gst_debug_category_set_threshold):
2896 Disable debugging unless explicitly activated.
2899 2006-03-22 Wim Taymans <wim@fluendo.com>
2901 * gst/gstelement.c: (gst_element_set_locked_state),
2902 (gst_element_dispose):
2903 Cleanup the error case.
2905 * gst/gstobject.c: (gst_object_dispose):
2906 print a critical when some object was disposed with
2907 a parent, also revive the object since it might
2910 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
2912 * tools/gst-launch.1.in:
2915 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
2918 * tests/check/Makefile.am:
2919 disable some tests when we don't have a registry
2920 * tests/check/gst/gstutils.c: (gst_utils_suite):
2921 don't build the part that needs parsing
2923 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
2926 * tests/examples/Makefile.am:
2927 fix --disable-parse build
2929 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2931 * tools/gst-feedback.1.in:
2932 Fix typo: s/feeback/feedback/ (#133494).
2934 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2936 * tools/Makefile.am:
2937 * tools/gst-launch.1.in:
2938 Add FILES section and correct entry about GST_REGISTRY_PATH
2939 environment variable (#133495; #133494).
2941 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2943 * tools/Makefile.am:
2944 * tools/gst-md5sum.1.in:
2945 * tools/gst-md5sum.c:
2946 Remove gst-md5sum and man page (the md5sink element
2947 required was removed ages ago)
2949 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2951 * gst/gststructure.c: (gst_structure_id_set_value):
2952 Make sure that string fields in structures/taglists
2953 contain valid UTF-8 - we don't want to pass rubbish to
2954 applications because of a buggy plugin (cp. #334167).
2956 2006-03-21 Edward Hervey <edward@fluendo.com>
2958 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2959 (gst_bin_handle_message_func):
2960 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
2961 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
2962 (gst_element_set_bus_func):
2963 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
2964 * gst/gstminiobject.c: (gst_value_set_mini_object),
2965 (gst_value_take_mini_object):
2966 * gst/gstpad.c: (gst_pad_set_pad_template):
2967 * gst/gstpipeline.c: (gst_pipeline_dispose),
2968 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2969 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
2970 (gst_collect_pads_chain):
2971 * libs/gst/net/gstnettimeprovider.c:
2972 (gst_net_time_provider_set_property):
2973 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
2974 It's in fact all issues with gst_*object_replace().
2976 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2978 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
2980 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2981 * pkgconfig/gstreamer-check.pc.in:
2982 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
2984 2006-03-21 Edward Hervey <edward@fluendo.com>
2989 gst_[buffer|event|message]_ref() macros are replaced by a static
2990 inline functions because gcc-4.1 will about if the return value
2992 * tests/check/gst/gstevent.c: (event_probe):
2993 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
2995 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
2998 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
2999 the type' case. (Closes: #335195 for now). In the future, when we
3000 depend on GLib 2.10, we could also intern the type name using
3001 g_intern_static_string()
3003 2006-03-20 Wim Taymans <wim@fluendo.com>
3005 * gst/gstbin.c: (gst_bin_handle_message_func),
3006 (bin_query_max_init), (bin_query_position_fold),
3007 (bin_query_position_done), (gst_bin_query):
3008 Position query should also take max of all streams.
3010 2006-03-20 Wim Taymans <wim@fluendo.com>
3012 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3013 (gst_fake_src_finalize):
3014 Fix leaks in fakesrc.
3016 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3017 Fix leaks in the testcase.
3019 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
3021 * gst/gst_private.h:
3022 add win32 specific import decoration(__declspec(dllimport))
3023 for all extern GstDebugCategory * variables
3024 * win32/common/libgstbase.def:
3025 * win32/common/libgstcontroller.def:
3026 * win32/common/libgstreamer.def:
3027 Add some exports, remove empty lines
3028 * win32/common/libgstdataprotocol.def:
3029 * win32/common/libgstdataprotocol.dsp:
3030 * win32/common/libgstnet.def:
3031 * win32/common/libgstnet.dsp:
3032 new project files and exportation files added
3034 2006-03-19 Wim Taymans <wim@fluendo.com>
3036 * tests/check/libs/basesrc.c: (eos_event_counter):
3037 Use proper return value for probe.
3039 2006-03-17 Wim Taymans <wim@fluendo.com>
3041 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
3043 Don't leak buffers, caps and pads on negotiation errors.
3045 2006-03-16 Stefan Kost <ensonic@users.sf.net>
3048 * docs/faq/dependencies.xml:
3049 * docs/faq/developing.xml:
3051 * docs/faq/general.xml:
3052 * docs/faq/getting.xml:
3053 * docs/faq/legal.xml:
3054 * docs/faq/troubleshooting.xml:
3055 * docs/faq/using.xml:
3056 Faq review and update.
3058 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
3060 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
3062 Don't pound the cpu to pieces by checking get_caps when accept_caps
3063 is called with the same caps as the pad already has.
3064 Use GST_DEBUG_OBJECT when outputting caps change information.
3066 2006-03-15 Wim Taymans <wim@fluendo.com>
3068 * gst/gstclock.c: (gst_clock_class_init):
3071 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
3076 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
3077 (gst_pad_accept_caps), (gst_pad_configure_sink),
3078 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
3079 Make the default acceptcaps behaviour be to check the requested
3080 caps against the gst_pad_get_caps output.
3082 Ensure that gst_pad_accept_caps is used to check caps when a pad
3083 doesn't have a setcaps function, so that pads automatically refuse
3084 caps that they don't allow in their pad template. (Fixes #332986)
3086 When a buffer with attached caps is pushed, ensure that the source
3087 pad receives those caps even if the element didn't call
3088 gst_pad_set_caps first.
3090 2006-03-15 Wim Taymans <wim@fluendo.com>
3092 * libs/gst/base/gstadapter.c:
3095 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
3097 * win32/common/libgstbase.def:
3098 * win32/common/libgstcontroller.def:
3099 * win32/common/libgstreamer.def:
3100 Add a whole bunch of missing functions (#334434).
3102 2006-03-14 Wim Taymans <wim@fluendo.com>
3104 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3105 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
3106 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
3107 Better debug info when we receive a segment event.
3108 Reorganize a bit so we can pass the get_times() results around.
3109 Use the segment format when calculating the running time.
3110 Don't do QoS is sync is disabled or we have no clock or the
3111 element does not want us to sync to the clock.
3112 Don't drop buffers if QoS is disabled for now.
3114 2006-03-14 Wim Taymans <wim@fluendo.com>
3116 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
3117 Marked the stats property as unimplemented so people don't get
3119 Add debug message when regression goes wrong.
3120 Added some more docs.
3122 2006-03-14 Wim Taymans <wim@fluendo.com>
3124 * gst/gstsegment.c: (gst_segment_to_stream_time):
3125 Return correct return type in case of errors.
3127 2006-03-14 Wim Taymans <wim@fluendo.com>
3129 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
3130 Don't segfault on invalid formats.
3132 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
3134 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3135 Can't use gst_segment_to_running_time() when the segment
3136 is not in GST_TIME_FORMAT (like with filesink, for example).
3137 Stops flac encoding pipelines from spewing critical warnings
3140 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
3142 * gst/gstpipeline.c: (gst_pipeline_class_init):
3143 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
3145 * plugins/elements/gsttypefindelement.c:
3146 (gst_type_find_element_handle_event):
3147 Don't try to typefind empty streams.
3149 2006-03-14 Wim Taymans <wim@fluendo.com>
3151 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
3152 (gst_base_sink_do_qos):
3153 Separate QoS calculation.
3154 Only drop buffers when lateness is bigger than the
3155 duration of the buffer.
3157 2006-03-13 Wim Taymans <wim@fluendo.com>
3159 * gst/gstpipeline.c: (gst_pipeline_set_property),
3160 (gst_pipeline_get_property), (do_pipeline_seek),
3161 (gst_pipeline_change_state), (gst_pipeline_set_delay),
3162 (gst_pipeline_get_delay):
3163 Don't deadlock when reading properties.
3165 2006-03-13 Wim Taymans <wim@fluendo.com>
3167 * libs/gst/base/gstbasetransform.c:
3168 (gst_base_transform_class_init), (gst_base_transform_init),
3169 (gst_base_transform_sink_event),
3170 (gst_base_transform_sink_eventfunc),
3171 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
3172 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3173 (gst_base_transform_set_property),
3174 (gst_base_transform_get_property),
3175 (gst_base_transform_change_state), (gst_base_transform_update_qos),
3176 (gst_base_transform_set_qos_enabled),
3177 (gst_base_transform_is_qos_enabled):
3178 * libs/gst/base/gstbasetransform.h:
3179 Make basetransform virtual method for src events too.
3180 Handle QOS in basetransform.
3181 API: gst_base_transform_update_qos()
3182 API: gst_base_transform_set_qos_enabled()
3183 API: gst_base_transform_is_qos_enabled()
3185 2006-03-13 Wim Taymans <wim@fluendo.com>
3187 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3188 (gst_base_sink_do_sync):
3190 Use QOS debug category.
3192 2006-03-13 Wim Taymans <wim@fluendo.com>
3194 * plugins/elements/gstqueue.c:
3195 Very small doc update.
3197 2006-03-13 Wim Taymans <wim@fluendo.com>
3199 * gst/gst_private.h:
3200 * gst/gstinfo.c: (_gst_debug_init):
3201 Added QOS debug category
3203 2006-03-13 Wim Taymans <wim@fluendo.com>
3205 * docs/gst/gstreamer-sections.txt:
3206 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
3208 * gst/gstbus.c: (gst_bus_class_init):
3211 * gst/gstelement.c: (gst_element_set_locked_state):
3213 Documentation updates.
3215 * gst/gstpipeline.c: (gst_pipeline_get_type),
3216 (gst_pipeline_class_init), (gst_pipeline_init),
3217 (gst_pipeline_dispose), (gst_pipeline_set_property),
3218 (gst_pipeline_get_property), (do_pipeline_seek),
3219 (gst_pipeline_send_event), (gst_pipeline_change_state),
3220 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
3221 (gst_pipeline_get_delay):
3222 * gst/gstpipeline.h:
3223 Added methods for setting the delay.
3224 API: gst_pipeline_set_delay()
3225 API: gst_pipeline_get_delay()
3226 Add pipeline debug category
3229 Don't reset stream time when seek failed.
3231 2006-03-13 Wim Taymans <wim@fluendo.com>
3233 * docs/design/draft-klass.txt:
3234 * docs/design/part-clocks.txt:
3235 * docs/design/part-events.txt:
3236 * docs/design/part-gstbin.txt:
3237 * docs/design/part-gstpipeline.txt:
3238 * docs/design/part-messages.txt:
3239 * docs/design/part-negotiation.txt:
3240 * docs/design/part-overview.txt:
3241 * docs/design/part-preroll.txt:
3242 * docs/design/part-seeking.txt:
3243 * docs/design/part-states.txt:
3244 * docs/design/part-streams.txt:
3245 Documentation updates.
3247 2006-03-12 Julien MOUTTE <julien@moutte.net>
3249 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
3250 us to leak strings...
3252 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
3254 * libs/gst/net/gstnettimeprovider.c:
3256 * win32/common/config.h:
3259 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
3261 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
3264 Don't check for libgnomeui (leftover from old examples
3265 that aren't built or disted any longer) (#334303).
3267 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
3269 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3270 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3271 Emit RESOURCE_NO_SPACE_LEFT error here as well when
3272 there's no space left on the device.
3274 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
3277 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
3278 to cast the input to GstClockTime before comparing with
3279 another GstClockTime value.
3281 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
3286 === release 0.10.4 ===
3288 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
3291 releasing 0.10.4, "Light"
3293 2006-03-10 Michael Smith <msmith@fluendo.com>
3295 * libs/gst/dataprotocol/dataprotocol.c:
3296 Fix docs for dataprocotol to not get the return types completely
3297 wrong for a few functions.
3299 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
3301 * docs/gst/gstreamer-sections.txt:
3302 * gst/gstpipeline.c: (gst_pipeline_class_init),
3303 (gst_pipeline_init), (gst_pipeline_set_property),
3304 (gst_pipeline_get_property), (gst_pipeline_change_state),
3305 (gst_pipeline_set_auto_flush_bus),
3306 (gst_pipeline_get_auto_flush_bus):
3307 * gst/gstpipeline.h:
3308 Add new API: gst_pipeline_set_auto_flush_bus() and
3309 gst_pipeline_get_auto_flush_bus() to disable automatic
3310 flushing of the pipeline's GstBus when going from READY
3311 to NULL state (#332045).
3313 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
3315 * docs/gst/gstreamer-sections.txt:
3316 * gst/gsturi.c: (gst_uri_has_protocol):
3318 Add new API: gst_uri_has_protocol() (#333779).
3320 2006-03-09 Wim Taymans <wim@fluendo.com>
3322 * gst/gstclock.c: (gst_clock_entry_new),
3323 (gst_clock_id_compare_func), (gst_clock_id_wait),
3324 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
3325 (gst_clock_init), (gst_clock_get_internal_time),
3326 (gst_clock_set_master), (do_linear_regression),
3327 (gst_clock_add_observation), (gst_clock_set_property):
3331 Fix a possible segfault when the window-size is made smaller.
3332 Calculate jitter before performing the clock wait. Ideally
3333 the clock implementation should calculate jitter but we need
3334 API breakage for that.
3336 * gst/gstsystemclock.c: (gst_system_clock_init):
3339 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3340 Remove leftover else
3342 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3343 (gst_systemclock_suite):
3344 Added check to test GST_CLOCK_DIFF.
3346 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
3348 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
3349 (gst_type_find_helper_get_range):
3350 If we are provided with the size, we should implement
3351 GstTypeFind::get_length, so that typefind functions who
3352 want to can actually peek at the middle of a file.
3354 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
3356 * docs/manual/advanced-dataaccess.xml:
3357 Add some very very basic error checking.
3359 * docs/pwg/appendix-checklist.xml:
3360 Some updates to the list of things to check when writing an element.
3362 2006-03-08 Wim Taymans <wim@fluendo.com>
3364 * docs/design/part-element-transform.txt:
3365 Added some docs about the design of tranform elements.
3367 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3368 (gst_base_src_loop), (gst_base_src_change_state):
3369 Mark buffers with the DISCONT flag.
3371 2006-03-08 Michael Smith <msmith@fluendo.com>
3373 * gst/gstregistry.h:
3374 * gst/gstregistryxml.c: (gst_registry_save),
3375 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
3376 (gst_registry_xml_save_pad_template),
3377 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
3378 (gst_registry_xml_write_cache):
3379 Rewrite registry-saving to avoid race conditions and check for
3382 2006-03-08 Wim Taymans <wim@fluendo.com>
3384 * libs/gst/base/gstbasetransform.c:
3385 (gst_base_transform_transform_caps),
3386 (gst_base_transform_transform_size),
3387 (gst_base_transform_prepare_output_buffer),
3388 (gst_base_transform_get_unit_size),
3389 (gst_base_transform_buffer_alloc),
3390 (gst_base_transform_handle_buffer),
3391 (gst_base_transform_change_state):
3392 Cleanups, separate normal flow from errors, add sensible
3394 Don't try to renegotiate when allocating an output buffer.
3395 Also copy DISCONT buffer flag when copying a buffer.
3396 Reset the transform after we finish streaming, not during.
3398 2006-03-08 Wim Taymans <wim@fluendo.com>
3400 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3401 Use last buffer timestamp in qos message.
3403 2006-03-07 Wim Taymans <wim@fluendo.com>
3405 Patch by: Christophe Fergeau
3407 * docs/pwg/advanced-tagging.xml:
3408 * docs/pwg/building-pads.xml:
3411 2006-03-07 Wim Taymans <wim@fluendo.com>
3413 * docs/libs/gstreamer-libs-sections.txt:
3414 Added basesink new methods.
3418 Docs updates. Flesh out the QoS docs.
3420 * libs/gst/base/gstadapter.c:
3421 Small doc clarification about ownership and flushing.
3423 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
3424 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
3425 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
3426 (gst_base_sink_get_property), (gst_base_sink_do_sync):
3427 * libs/gst/base/gstbasesink.h:
3429 Added new methods to allow subclass to control max-lateness
3431 Generate very basic QoS events based on last sync observation.
3432 Updated docs, fix typo, added some QoS blurb.
3434 * libs/gst/base/gstbasesrc.c:
3435 Remove obsolete _get_state() calls from docs.
3437 2006-03-07 Wim Taymans <wim@fluendo.com>
3439 * docs/libs/gstreamer-libs-sections.txt:
3440 * libs/gst/base/gstbasetransform.h:
3441 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
3442 Fix docs for GstBaseSrc.
3444 2006-03-07 Wim Taymans <wim@fluendo.com>
3446 * docs/gst/gstreamer-sections.txt:
3449 * libs/gst/base/gstbasetransform.h:
3450 Small documentation fixes.
3452 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
3455 Document thread-unsafety of gst_value_register_foo_func()
3456 when used at the same time as gst_value_foo() (#322628).
3458 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
3460 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
3461 (gst_push_src_check_get_range):
3462 Push sources don't support pull mode by default.
3464 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
3466 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3467 (gst_base_src_init), (gst_base_src_pad_check_get_range),
3468 (gst_base_src_default_check_get_range):
3469 * libs/gst/base/gstbasesrc.h:
3470 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
3471 provide default implementation, and rename
3472 gst_base_src_check_get_range() to
3473 gst_base_src_pad_check_get_range() for clarity.
3475 2006-03-06 Wim Taymans <wim@fluendo.com>
3477 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3478 Make property overridable.
3480 2006-03-06 Wim Taymans <wim@fluendo.com>
3482 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3483 (gst_base_sink_init), (gst_base_sink_set_property),
3484 (gst_base_sink_get_property), (gst_base_sink_do_sync):
3485 * libs/gst/base/gstbasesink.h:
3486 API addition: Make max-lateness a property.
3488 2006-03-06 Wim Taymans <wim@fluendo.com>
3490 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
3491 (gst_base_sink_do_sync), (gst_base_sink_render_object):
3492 Don't ever draw a frame that is >10ms late.
3494 2006-03-06 Michael Smith <msmith@fluendo.com>
3496 * gst/gstmessage.c: (_gst_message_copy):
3497 When copying a message, set the parent_refcount of the enclosed
3498 structure to point at the copy, not the original message.
3500 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
3502 Patch by: Christophe Fergeau
3505 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
3506 usable in c++ code (#333417)
3508 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
3511 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
3513 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
3515 * libs/gst/base/gstbasetransform.c:
3516 (gst_base_transform_transform_caps):
3517 Make sure caps are writable before passing them to
3520 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
3523 Fix some minor docs errors.
3525 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
3527 Patch by: Ross Burton <ross at burtonini dot com>
3529 * gst/gsterror.c: (_gst_resource_errors_init):
3531 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
3533 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
3536 Add a check and output a g_warning when GStreamer is built
3537 against GLib 2.6 but running against 2.8 or higher, and vice
3538 versa. (Closes: #323542)
3540 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
3542 * gst/parse/parse.l:
3543 Commit patch for parse_launch syntax from #331255. Removes
3544 support for quoted strings and mimetypes when writing filtered
3545 caps. See the bug report for more details - I'm pretty sure this
3546 obscure feature is not in use by _anyone_ anywhere.
3548 With this simple change, the size of the gstreamer.so here
3549 drops from 2193KB to 1565KB.
3551 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
3553 * plugins/elements/gsttypefindelement.h:
3554 * plugins/elements/gsttypefindelement.c:
3555 (gst_type_find_element_src_event), (start_typefinding),
3556 (stop_typefinding), (gst_type_find_element_handle_event),
3557 (gst_type_find_element_chain),
3558 (gst_type_find_element_chain_do_typefinding):
3559 Use gst_type_find_helper_for_buffer() for chain-based
3562 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
3564 * plugins/elements/gsttypefindelement.c:
3565 (gst_type_find_element_class_init),
3566 (gst_type_find_element_set_property),
3567 (gst_type_find_element_get_property):
3568 Deprecate "maximum" property (not only was it only taken into
3569 account for typefinding in push-mode anyway, it also was never
3570 actually possible to set it in the first place because the
3571 property was registered with the numeric property ID for the
3572 "minimum" property). Register "maximum" property correctly,
3573 for the sake of future copy'n'pasters. Remove some cruft
3574 from property get/set functions.
3576 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
3578 * plugins/elements/gsttypefindelement.c:
3579 (gst_type_find_element_activate):
3580 Use gst_type_find_helper_get_range() here, so we
3581 can honour the "minimum" property and also emit
3582 the signal with the correct probability of the found caps.
3584 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
3586 * docs/libs/gstreamer-libs-sections.txt:
3587 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3588 (helper_find_suggest), (gst_type_find_helper_get_range),
3589 (gst_type_find_helper):
3590 * libs/gst/base/gsttypefindhelper.h:
3591 New API: gst_type_find_helper_get_range() (#333042).
3593 2006-03-02 Michael Smith <msmith@fluendo.com>
3595 * gst/gstregistryxml.c: (load_feature):
3596 Asserting on a failure to read part of the registry is Not Cool.
3597 Just log a warning and return NULL (which is already handled)
3599 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
3601 * win32/common/libgstbase.def:
3602 added export of gst_type_find_helper_for_buffer
3603 * win32/common/libgstbase.def:
3604 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
3605 gst_ghost_pad_get_target
3607 2006-02-28 Wim Taymans <wim@fluendo.com>
3609 * docs/design/draft-klass.txt:
3611 Added Connector to mark elements that are only used to
3612 allow pipeline connections.
3613 Moved Debug to extra feature since most of them are
3614 functionally something else.
3616 2006-02-28 Wim Taymans <wim@fluendo.com>
3618 * docs/design/draft-klass.txt:
3619 Some updates and clarifications.
3621 2006-02-28 Wim Taymans <wim@fluendo.com>
3623 * docs/design/draft-klass.txt:
3624 Proposal for klass field values.
3626 * docs/design/part-streams.txt:
3627 Start of a doc describing stream anatomy.
3629 2006-02-28 Wim Taymans <wim@fluendo.com>
3631 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
3632 Help the compiler a bit with type registration.
3633 Use existing forward cod path instead of duplicating it when
3636 * gst/gstbus.c: (gst_bus_get_type):
3637 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
3638 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
3639 * gst/gstclock.c: (gst_clock_get_type):
3640 * gst/gstelement.c: (gst_element_get_type),
3641 * gst/gstelementfactory.c: (gst_element_factory_get_type):
3642 * gst/gstindexfactory.c: (gst_index_factory_get_type):
3643 * gst/gstminiobject.c: (gst_mini_object_get_type):
3644 * gst/gstpad.c: (gst_pad_get_type):
3645 * gst/gstsegment.c: (gst_segment_get_type):
3646 * gst/gststructure.c: (gst_structure_get_type):
3647 * gst/gstsystemclock.c: (gst_system_clock_get_type):
3648 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
3650 Help compiler with type registration.
3652 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3655 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3657 * plugins/elements/gsttypefindelement.c:
3658 (gst_type_find_element_handle_event):
3659 When we get an EOS event and have not found a type yet
3660 (most likely because we had not yet accumulated
3661 TYPE_FIND_MIN_SIZE of data yet), try to determine the
3662 type given the data we have so far. Fixes typefinding
3663 for very short streams again, most notably quicktime
3664 redirections as used on Apple's trailer site (#331701).
3666 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3668 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
3669 (gst_type_find_helper):
3670 Try typefinding factories with the highest rank first.
3672 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3674 * docs/libs/gstreamer-libs-docs.sgml:
3675 * docs/libs/gstreamer-libs-sections.txt:
3676 * libs/gst/base/gsttypefindhelper.c:
3677 Add section for typefind helper and add documentation
3678 for the old and the new function.
3680 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3682 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
3683 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
3684 (gst_type_find_helper_for_buffer):
3685 * libs/gst/base/gsttypefindhelper.h:
3686 New API: gst_type_find_helper_for_buffer() (#332723).
3688 2006-02-27 Michael Smith <msmith@fluendo.com>
3690 Patch by: Loïc Minier
3694 * docs/slides/Makefile.am:
3695 prevent CVS directories getting disted.
3697 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3699 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
3700 Use the REFCOUNTING category for caps refcounting.
3702 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
3704 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
3705 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
3707 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
3709 * plugins/elements/gsttypefindelement.c:
3710 (gst_type_find_element_activate):
3711 Use gst_pad_check_pull_range() before _activate_pull()
3712 to avoid unnecessary open/close (see #331690).
3714 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
3717 Docs enhancement: make it crystal clear what the
3718 gst_pad_add_*_probe() callbacks should look like.
3720 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
3722 * libs/gst/base/gstbasesrc.c:
3723 Document how applications can stop recording from
3724 live sources (see #330996).
3726 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3728 * tests/check/Makefile.am:
3729 * tests/check/libs/basesrc.c: (eos_event_counter),
3730 (basesrc_eos_events_pull), (basesrc_eos_events_push),
3731 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
3732 (gst_basesrc_suite), (main):
3733 ... and add some tests for the base source EOS stuff.
3735 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3737 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
3738 Test case originally showed the problem fixed below,
3739 but was then amended. Add checks back at the place
3740 where they used to be.
3742 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3744 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3745 (gst_base_src_init), (gst_base_src_loop),
3746 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3747 (gst_base_src_change_state):
3748 * libs/gst/base/gstbasesrc.h:
3749 Don't unconditionally send EOS when going from PAUSED to
3750 READY state, esp. make sure we don't send two EOS events
3751 in some cases (e.g. one when reaching EOS and one when
3752 going from PAUSED to READY). Also, we don't want to send
3753 EOS events when operating in pull mode. However, we do
3754 want to send an EOS event when shutting down a live
3755 source explicitly, for example (fixes #330996).
3757 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3759 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3760 Update src->read_position after a seek when not using mmap.
3761 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
3763 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
3769 Make things work with --disable-parse as they do with
3770 --disable-load-save - the symbols involved disappear, but the
3771 header is still installed and GST_DISABLE_PARSE is included via
3774 2006-02-20 Julien MOUTTE <julien@moutte.net>
3776 * libs/gst/base/gstbasetransform.c:
3777 (gst_base_transform_change_state): Fix a stupid bug. I was
3778 sure I compiled that.
3780 2006-02-20 Julien MOUTTE <julien@moutte.net>
3782 * gst/gstpad.c: (gst_pad_set_blocked_async):
3783 * gst/gstutils.c: (gst_pad_add_data_probe),
3784 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
3785 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
3786 (gst_pad_remove_buffer_probe): Make those function act on the
3787 ghostpad target when it's a ghostpad. (Closes #331727)
3789 2006-02-20 Julien MOUTTE <julien@moutte.net>
3791 * libs/gst/base/gstbasetransform.c:
3792 (gst_base_transform_change_state): Make basetransform reusable.
3795 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
3797 * docs/random/release:
3798 Move the current documentation of how to do a release to the top
3801 * gst/gstbin.c: (gst_bin_class_init),
3802 (gst_bin_handle_message_func):
3803 Allow multiple state-recalculation threads. (Closes #328873)
3805 2006-02-19 Julien MOUTTE <julien@moutte.net>
3807 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
3808 * gst/gstpad.c: (gst_pad_set_event_function),
3809 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3810 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
3811 2 strings. You can't use the STR_NULL macro on that.
3813 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
3815 * gst/gstpad.c: (gst_pad_set_event_function),
3816 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3817 (gst_pad_set_getcaps_function)
3818 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
3819 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
3820 So now, we can use --gst-debug-level=5 on Windows
3821 * win32/common/libgstcontroller.def:
3822 Added export of gst_controller_init
3823 * win32/vs6/libgstcontroller.dsp:
3824 Fixed Release post build configuration
3826 2006-02-17 Wim Taymans <wim@fluendo.com>
3828 * tests/check/gst/gstquery.c: (GST_START_TEST):
3829 Added another check.
3831 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
3833 * plugins/elements/gsttypefindelement.c: (find_peek):
3834 We can do peeks at non-zero offsets, as long as they
3835 fall within the buffer we have.
3837 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
3839 * tests/check/Makefile.am:
3840 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
3841 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
3842 (parse_suite), (main):
3843 Add testsuite for parse launch syntax
3845 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
3847 * plugins/elements/gsttypefindelement.c:
3848 (gst_type_find_element_chain):
3849 When typefinding is unsuccessful in the chain function, don't
3850 error out immediately. Only error out with NO_CAPS_FOUND if
3851 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
3852 otherwise simply wait for more data so we can try typefinding
3853 again with more data later. Also, don't attempt to typefind
3854 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
3855 this should improve typefinding from network sources where the
3856 size of the first buffer can be somewhat random.
3858 2006-02-14 Wim Taymans <wim@fluendo.com>
3860 * docs/gst/gstreamer-sections.txt:
3861 * gst/gstpadtemplate.c:
3862 * gst/gstpadtemplate.h:
3863 Fix padtemplate docs, fixes #328805.
3865 2006-02-14 Wim Taymans <wim@fluendo.com>
3867 * tools/gst-launch.c: (main):
3868 NO_PREROLL is not an ERROR so don't send confusing messages
3871 2006-02-14 Wim Taymans <wim@fluendo.com>
3873 Patch by: Torsten Schoenfeld
3875 * gst/gstregistry.c: (gst_registry_get_default),
3876 (_gst_registry_cleanup):
3877 Protect default registry with lock and ref/sink it.
3880 2006-02-14 Wim Taymans <wim@fluendo.com>
3883 * gst/gstquery.c: (gst_query_list_add_format),
3884 (gst_query_set_formatsv), (gst_query_parse_formats_length),
3885 (gst_query_parse_formats_nth):
3886 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3889 2006-02-14 Wim Taymans <wim@fluendo.com>
3891 * docs/gst/gstreamer-sections.txt:
3892 Reworked query docs.
3894 * gst/gstquery.c: (gst_query_new_formats),
3895 (gst_query_list_add_format), (gst_query_set_formats),
3896 (gst_query_set_formatsv), (gst_query_parse_formats_length),
3897 (gst_query_parse_formats_nth):
3899 Flesh out formats query, added some new methods.
3900 Fix part of #324398.
3902 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
3903 Added query creation tests.
3905 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
3907 * gst/gstpad.c: (fixate_value):
3908 Add a default fixation for fraction lists.
3910 2006-02-13 Wim Taymans <wim@fluendo.com>
3912 * gst/gsttask.c: (gst_task_init), (gst_task_func),
3913 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
3916 Detect and warn for obvious deadlocks. fixes #320340
3917 Fix error case where lock was not released.
3919 * tests/check/Makefile.am:
3920 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
3921 (task_func), (gst_element_suite), (main):
3924 2006-02-13 Wim Taymans <wim@fluendo.com>
3926 * docs/gst/gstreamer-sections.txt:
3928 Add new functions to docs.
3930 2006-02-13 Wim Taymans <wim@fluendo.com>
3932 * docs/design/part-TODO.txt:
3933 Updated TODO list, basesrc supports seeking to non-bytes
3936 * docs/design/part-element-sink.txt:
3939 * gst/gstbin.c: (bin_replace_message),
3940 (gst_bin_handle_message_func):
3941 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
3942 * gst/gstevent.c: (gst_event_finalize):
3943 * gst/gstpad.c: (gst_pad_event_default_dispatch),
3944 (gst_pad_send_event):
3945 Use shiny new _TYPE_NAME macros.
3947 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3948 Move debug statement up.
3950 * gst/gstelement.c: (gst_element_set_locked_state):
3953 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
3955 * docs/gst/gstreamer-sections.txt:
3958 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
3959 macros (#330906). Also, document the already existing
3960 GST_QUERY_TYPE macro.
3962 2006-02-13 Wim Taymans <wim@fluendo.com>
3964 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
3965 (event_probe), (GST_START_TEST):
3966 Only events up to the pipeline EOS are counted, there are
3967 some more when going to NULL currently which we don't care
3970 2006-02-13 Wim Taymans <wim@fluendo.com>
3972 * gst/gstpad.c: (gst_pad_send_event):
3973 Correctly check flushing and emit probes. fixes #330125
3975 2006-02-10 Andy Wingo <wingo@pobox.com>
3977 * gst/gstbus.c (gst_bus_class_init): Declare our private data
3979 (gst_bus_init): Cache the location of the private data in the
3981 (gst_bus_enable_sync_message_emission)
3982 (gst_bus_disable_sync_message_emission): Implement new public
3984 (gst_bus_post): Emit the sync-message signal if the user asked for
3987 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
3988 location of the bus-private structure.
3989 (gst_bus_enable_sync_message_emission)
3990 (gst_bus_disable_sync_message_emission): API addition
3992 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
3994 Patch by: Vincent Torri
3996 * docs/pwg/building-boiler.xml:
3997 PWG patch from #326800
3999 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
4003 * docs/design/Makefile.am:
4006 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
4011 === release 0.10.3 ===
4013 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
4016 releasing 0.10.3, "Like a virgin"
4018 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
4021 2nd prerelease of 0.10.3
4022 Bump libtool versioning.
4024 2006-02-07 Andy Wingo <wingo@pobox.com>
4026 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
4027 update last_stop if we're in TIME format and the timestamp is
4030 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
4031 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
4032 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
4033 If we get a new newsegment with a different format, adapt
4036 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
4037 of 0. Not a problem, really.
4039 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
4042 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
4047 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
4050 project files updated to the default vs7 configuration
4051 * win32/common/libgstbase.def:
4052 * win32/common/libgstreamer.def:
4054 removed empty lines,
4055 sorted all exported symbols alphabetically
4056 * win32/common/dirent.c:
4057 * win32/common/dirent.h:
4058 * win32/common/gchar.h:
4059 use windows line end.
4061 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
4063 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4064 Send EOS event when stopping.
4066 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
4069 Tell folks what to do if the plugin-foobar.xml file
4070 hasn't been generated for a newly-added plugin.
4072 2006-02-05 Julien MOUTTE <julien@moutte.net>
4074 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4075 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4076 (gst_collect_pads_start), (gst_collect_pads_stop),
4077 (gst_collect_pads_event): Collectpads now holds a reference
4078 to the GstPad that was added. Indeed we don't want to look
4079 at pads that might just go away with no warning...
4081 2006-02-05 Julien MOUTTE <julien@moutte.net>
4083 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
4084 (gst_collect_pads_start), (gst_collect_pads_stop),
4085 (gst_collect_pads_event), (gst_collect_pads_chain):
4086 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
4087 Mark Nauwelaerts's patch on bug #328491.
4089 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
4091 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
4093 Add some simple tests for gst_parse_bin_from_description() and
4094 gst_bin_find_unconnected_pad() (#329069).
4096 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
4098 * tools/gst-launch.c: (event_loop), (main):
4099 Catch errors during preroll (#320084).
4101 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
4103 * plugins/elements/gsttypefindelement.c:
4104 (gst_type_find_element_activate):
4105 Post TYPE_NOT_FOUND error message when typefinding
4106 is unsuccessful in the activate function as well.
4108 2006-02-02 Wim Taymans <wim@fluendo.com>
4110 * docs/design/part-element-sink.txt:
4113 2006-02-02 Wim Taymans <wim@fluendo.com>
4115 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4116 (gst_base_sink_render_object),
4117 (gst_base_sink_queue_object_unlocked):
4118 Only keep track of prerollable items when we are
4120 Before rendering after preroll, always check if we
4122 Added some more debugging.
4124 2006-02-02 Wim Taymans <wim@fluendo.com>
4126 * gst/gstelement.c: (gst_element_continue_state),
4127 (gst_element_set_state_func), (gst_element_change_state):
4128 Fixed #326576, been running this for quite some time with
4129 no regressions at all.
4131 2006-02-02 Wim Taymans <wim@fluendo.com>
4134 Added more suppressions
4136 2006-02-02 Wim Taymans <wim@fluendo.com>
4138 * docs/design/part-element-sink.txt:
4141 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4142 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
4143 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
4144 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4145 (gst_base_sink_do_sync), (gst_base_sink_render_object),
4146 (gst_base_sink_preroll_object),
4147 (gst_base_sink_queue_object_unlocked),
4148 (gst_base_sink_queue_object), (gst_base_sink_event),
4149 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
4150 (gst_base_sink_loop), (gst_base_sink_activate_pull),
4151 (gst_base_sink_get_position), (gst_base_sink_change_state):
4152 * libs/gst/base/gstbasesink.h:
4153 Totally refactored matching the design doc.
4154 Use two segments, one to clip incomming buffers and another to
4156 Handle queueing correctly, bypass the queue when playing.
4157 Make EOS cancelable.
4158 Handle errors correctly when operating in pull based mode.
4160 * tests/check/elements/fakesink.c: (GST_START_TEST),
4162 Added new check for sinks.
4164 2006-02-02 Wim Taymans <wim@fluendo.com>
4166 * gst/gstsegment.c: (gst_segment_clip):
4167 No reason to refuse to clip when start == -1
4169 2006-02-02 Stefan Kost <ensonic@users.sf.net>
4172 * docs/manual/intro-basics.xml:
4173 * docs/manual/intro-preface.xml:
4174 * docs/manual/manual.xml:
4175 * docs/pwg/advanced-dparams.xml:
4176 * docs/pwg/intro-basics.xml:
4177 * docs/pwg/intro-preface.xml:
4179 describe dparams (controller) for plugins
4180 unify docs a little more
4182 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
4184 * docs/gst/gstreamer-sections.txt:
4185 * gst/gstutils.c: (element_find_unconnected_pad),
4186 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
4188 Add new API: gst_parse_bin_from_description() and
4189 gst_bin_find_unconnected_pad() (#329069).
4191 2006-02-01 Stefan Kost <ensonic@users.sf.net>
4193 * docs/manual/README:
4194 uncover a nasty detail of the docs build
4196 2006-01-31 Wim Taymans <wim@fluendo.com>
4198 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
4199 Don't cache duration messages if we're not going to use or
4202 2006-01-31 Stefan Kost <ensonic@users.sf.net>
4204 * docs/manual/advanced-dparams.xml:
4205 * docs/pwg/advanced-dparams.xml:
4209 * libs/gst/controller/lib.c: (gst_controller_init):
4212 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
4214 * gst/gstelement.c: (gst_element_message_full):
4215 also show file/line/func if no additional debug was given
4217 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
4219 * win32/vs7/grammar.vcproj:
4220 activate copy of autogenerated files for Release mode
4222 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
4224 * win32/common/libgstreamer.def:
4225 export gst_value_compare
4227 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
4229 * plugins/elements/Makefile.am:
4230 * plugins/elements/gstelements.c:
4231 * plugins/elements/gstfdsink.c: (_do_init),
4232 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
4233 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
4234 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
4235 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
4236 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
4237 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
4238 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
4239 * plugins/elements/gstfdsink.h:
4240 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
4242 2006-01-30 Stefan Kost <ensonic@users.sf.net>
4244 * docs/manual/advanced-dparams.xml:
4246 * docs/manual/advanced-position.xml:
4247 * docs/manual/basics-init.xml:
4248 * docs/manual/manual.xml:
4249 * docs/manual/titlepage.xml:
4251 * docs/pwg/titlepage.xml:
4252 cleanup xml (more to come)
4253 * libs/gst/controller/gstcontroller.c:
4256 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
4258 * win32/vs6/grammar.dsp:
4259 add autogen of gstmarshal.c,h for Release mode
4261 2006-01-30 Wim Taymans <wim@fluendo.com>
4263 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4264 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
4265 (gst_base_sink_handle_object), (gst_base_sink_event),
4266 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
4267 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4268 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
4269 (gst_base_sink_deactivate), (gst_base_sink_activate),
4270 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
4271 (gst_base_sink_query), (gst_base_sink_change_state):
4272 Basesink cleanups, remove some old code.
4273 Handle the case where a subclass can preroll in the render
4274 method (mostly audiosinks).
4276 Remove some locks around variables that are now protected
4277 with the PREROLL_LOCK (clock_id, flushing, ..).
4278 Optimize position query some more, do correct locking.
4279 Remove old code to push queue in state change, this is not
4280 needed anymore since preroll blocks on all prerollable items
4282 Almost implemented as described in design doc.
4284 2006-01-30 Wim Taymans <wim@fluendo.com>
4286 * tests/check/gst/gstbin.c: (GST_START_TEST):
4287 Wait for refcount to settle down before checking.
4289 2006-01-30 Wim Taymans <wim@fluendo.com>
4291 * docs/design/part-element-sink.txt:
4292 Pseudo code overview of desired sink behaviour regarding
4295 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
4296 * win32/vs6/grammar.dsp:
4297 fix some bugs in Release mode for autogenerated files
4299 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
4300 * win32/common/libgstbase.def:
4301 * win32/common/libgstreamer.def:
4302 export some new symbols: gst_base_src_set_format,
4303 gst_iterator_next, gst_structure_set_valist
4305 2006-01-29 Julien MOUTTE <julien@moutte.net>
4307 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4308 Set pad functions unconditionally. Fixes #329105.
4310 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
4312 add vs8 project files created by Sergey Scobich
4314 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
4316 * gst/gstutils.c: (gst_element_unlink_pads):
4317 Don't leak pad references.
4319 * tests/check/elements/fakesink.c: (GST_START_TEST):
4320 * tests/check/generic/sinks.c: (GST_START_TEST):
4321 * tests/check/generic/states.c: (GST_START_TEST):
4322 * tests/check/gst/gstbin.c: (GST_START_TEST):
4323 * tests/check/gst/gstcaps.c: (GST_START_TEST):
4324 * tests/check/gst/gstelement.c: (GST_START_TEST):
4325 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4326 * tests/check/gst/gstiterator.c: (GST_START_TEST):
4327 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4328 Fix a bunch of leaks. Make generic/sinks.c
4329 use a bit less cpu by slowing the buffer rate
4330 between fakesrc and fakesink.
4332 2006-01-27 Stefan Kost <ensonic@users.sf.net>
4334 * gst/gstelement.c: (gst_element_send_event):
4337 * gst/gstiterator.c:
4338 * gst/gstiterator.h:
4339 * gst/gstpad.c: (gst_pad_send_event):
4340 * gst/gststructure.c:
4344 * libs/gst/base/gstadapter.c:
4345 doc fixes, to link to function, just write gst_cool_function(), don't
4348 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
4350 * plugins/elements/gsttee.c: (gst_tee_do_push),
4351 (gst_tee_handle_buffer):
4352 Always prefer an actual return value from a src
4353 pad in place of NOT_LINKED. This means we return
4354 WRONG_STATE when all src pads are WRONG_STATE
4355 instead of NOT_LINKED.
4357 Lock when replacing the last message to prevent
4358 racing with the get_property method.
4362 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
4364 * tests/check/Makefile.am:
4365 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
4367 Add a very simple check that should have caught the memleak I fixed
4368 last night (if not for the slice allocator hiding it)
4370 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
4372 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4373 (gst_bin_remove_func), (gst_bin_handle_message_func),
4374 (bin_query_duration_fold), (bin_query_generic_fold):
4375 Clean up references to the clock provider when disposed or when
4376 handling a clock-lost message from it.
4378 Unref sinks when performing a query via gst_iterator_fold, as the
4379 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
4381 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
4382 (gst_clock_set_master):
4383 Drop our reference to the master clock, if any, when we are disposed.
4385 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
4386 Chain up in dispose.
4388 2006-01-26 Wim Taymans <wim@fluendo.com>
4390 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4393 2006-01-26 Julien MOUTTE <julien@moutte.net>
4395 * plugins/elements/gsttee.c: (gst_tee_do_push),
4396 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
4397 handles pad being NOT_LINKED or in WRONG_STATE.
4399 2006-01-26 Stefan Kost <ensonic@users.sf.net>
4404 2006-01-26 Stefan Kost <ensonic@users.sf.net>
4407 remove obsolete entry
4409 2006-01-26 Stefan Kost <ensonic@users.sf.net>
4411 * docs/gst/gstreamer-sections.txt:
4412 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
4413 (gst_bin_iterate_sources), (gst_bin_send_event):
4415 * gst/gstelement.c: (gst_element_send_event):
4417 * gst/gstpad.c: (gst_pad_send_event):
4418 added code for downstream events, reviewed docs in gstevent.c
4420 2006-01-25 Julien MOUTTE <julien@moutte.net>
4422 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4423 We only query position using the clock in the playing state.
4424 Query peer in the other cases.
4425 * win32/common/config.h: Updates.
4427 2006-01-24 Wim Taymans <wim@fluendo.com>
4429 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
4430 A clock entry that is scheduled for the exact time of the
4431 clock is still in time.
4433 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4434 (gst_base_sink_do_sync):
4435 Add some more debug info.
4437 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
4440 Add new vs7 project files and solution.
4442 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
4445 all files removed as they were out-dated.
4447 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
4449 * docs/random/release:
4451 * gst/gstbin.c: (gst_bin_init):
4452 * gst/gstbus.c: (gst_bus_new):
4454 * gst/gstpipeline.c: (gst_pipeline_init):
4455 use gst_bus_new(), improve logging, fix docs
4456 * win32/common/config.h:
4457 update for cvs build
4459 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
4462 up required version of automake to 1.7
4464 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
4466 * win32/common/libgstreamer.def:
4467 export gst_buffer_is_metadata_writable
4469 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
4471 * docs/gst/gstreamer-sections.txt:
4473 Add gst_event_replace() (#327001)
4475 2006-01-20 Wim Taymans <wim@fluendo.com>
4477 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4478 Make it actually compile too..
4480 2006-01-20 Wim Taymans <wim@fluendo.com>
4483 Clarify behaviour of _is_equal() when passing NULL parameters.
4485 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
4487 Cleanups. Don't unref NULL caps.
4488 When setting the same caps, protect caps of the pad with
4490 Use full functionality of _is_equal() when comparing caps.
4492 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
4494 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4495 Don't loop infinitely if there are no buffers to present. Partially
4496 fixes #327197, but collectpads is just broken for reusing elements
4497 to do multiple encodes atm.
4499 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
4501 * tools/gst-inspect.c: (print_element_features):
4502 * tools/gst-xmlinspect.c: (main):
4503 URL_HANDLER is not a plugin feature we can search for in
4506 2006-01-19 Edward Hervey <edward@fluendo.com>
4508 * gst/gstelement.c: (gst_element_pads_activate):
4509 When activating, do src pads first, then sink pads.
4510 When de-activating, do sink pads first, then src pads.
4512 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
4514 * docs/gst/gstreamer-sections.txt:
4515 Add gst_index_add_associationv to the docs
4517 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
4522 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
4523 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
4524 Do some refactoring. Doesn't actually change functionality,
4525 but makes landing the DRAIN event easier later.
4527 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
4529 * docs/pwg/advanced-scheduling.xml:
4530 Update from 0.9.x to 0.10 API and make example a bit
4533 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
4535 * docs/gst/gstreamer-sections.txt:
4536 Add gst_buffer_(is|make)_metadata_writable methods.
4538 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
4540 * docs/design/part-sparsestreams.txt:
4541 Update sparse streams doc, hopefully for greater clarity
4543 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
4545 * docs/design/part-events.txt:
4546 Remove mention of FILLER events.
4549 * docs/design/part-sparsestreams.txt:
4550 Write some things about using NEWSEGMENT to keep sparse streams
4553 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
4555 * gst/gstbin.c: (gst_bin_dispose):
4556 Guard gst_object_unref call against a NULL object (dispose
4557 can theoretically be called multiple times).
4559 2006-01-18 Wim Taymans <wim@fluendo.com>
4561 * gst/gstbin.c: (gst_bin_element_set_state):
4562 * gst/gstclock.c: (gst_clock_id_wait):
4563 Added some more debug info.
4565 * libs/gst/base/gstadapter.c:
4568 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4569 (gst_base_sink_do_sync), (gst_base_sink_chain):
4570 Added some comments.
4572 2006-01-18 Wim Taymans <wim@fluendo.com>
4574 * tests/check/Makefile.am:
4575 * tests/check/elements/fakesink.c: (chain_async_buffer),
4576 (chain_async), (chain_async_return), (GST_START_TEST),
4577 (fakesink_suite), (main):
4578 Added fakesink test that checks prerolling and clipping
4581 * tests/check/gst/gstutils.c: (GST_START_TEST):
4582 Make check run faster so that buildbots don't timeout.
4584 2006-01-18 Wim Taymans <wim@fluendo.com>
4586 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4587 (gst_base_sink_do_sync):
4589 When the sink finishes blocking on the preroll buffer, it can
4590 immediatly render it instead of rendering when the next buffer
4593 2006-01-18 Wim Taymans <wim@fluendo.com>
4595 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
4596 (gst_base_sink_get_property), (gst_base_sink_do_sync),
4597 (gst_base_sink_chain):
4599 GST_ELEMENT_CLOCK and sync are protected with LOCK.
4600 Don't store _last_stop if the buffer is dropped.
4602 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
4604 * plugins/elements/gsttypefindelement.c:
4605 (gst_type_find_element_class_init):
4606 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
4607 object method handler that sets the caps on the pad and we want
4608 that to happen before we emit the signal (fixes e.g. feeding a
4609 plain text file to decodebin).
4611 2006-01-18 Christian Schaller <Christian@fluendo.com>
4613 * gst/gstplugin.c: Add MPL and Proprietary as license options
4615 2006-01-18 Andy Wingo <wingo@pobox.com>
4617 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
4618 symbol was exported before, it appears this was just an oversight.
4620 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
4622 * gst/gstindex.c (gst_index_add_associationv): Changed int in
4623 prototype to gint. OK since this prototype was not in the header.
4625 2006-01-17 Andy Wingo <wingo@pobox.com>
4627 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
4628 registry while we remove plugins.
4630 * tools/gst-inspect.c (print_element_info): Don't unref the
4631 factory arg, that should be the responsibility of whatever code
4632 received the ref. Fixes a double-free when called from
4633 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
4634 (main): Unref the factory if we have one.
4635 (print_element_list): No change -- relies on the
4636 plugin_feature_list_free to free the list of features.
4638 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
4640 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
4641 (gst_buffer_make_metadata_writable):
4643 * libs/gst/base/gstbasetransform.c:
4644 (gst_base_transform_prepare_output_buf):
4645 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4646 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4647 Replace gst_buffer_(make|is)_metadata_writable patch now
4648 that the release is out.
4650 2006-01-17 Andy Wingo <wingo@pobox.com>
4652 * gst/gstregistry.c: Reflow design comment. Update so as to speak
4653 in the present tense without reference to versions.
4655 * gst/gstregistry.c (gst_registry_add_plugin)
4656 (gst_registry_remove_plugin, gst_registry_remove_feature)
4657 (gst_registry_find_feature, gst_registry_get_feature_list)
4658 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
4659 (gst_registry_lookup, gst_registry_scan_path)
4660 (_gst_registry_remove_cache_plugins)
4661 (gst_registry_get_feature_list_by_plugin): Add argument
4664 === release 0.10.2 ===
4666 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
4669 releasing 0.10.2, "If man is five"
4671 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
4675 * libs/gst/base/gstbasetransform.c:
4676 (gst_base_transform_prepare_output_buf):
4677 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4678 * tests/check/gst/gstbuffer.c: (gst_test_suite):
4679 Back out patch until after the release.
4681 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
4683 * gst/gstminiobject.c:
4684 Spelling fix in docs.
4685 * ChangeLog - remove conflict indicator
4687 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
4689 Reviewed By: Andy Wingo
4691 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
4692 (gst_buffer_make_metadata_writable):
4694 Add gst_buffer_(is|make)_metadata_writable as analogues of
4695 gst_buffer_(is|make)_writable.
4697 * libs/gst/base/gstbasetransform.c:
4698 (gst_base_transform_prepare_output_buf):
4699 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4700 Use name gst_buffer_(is|make)_metadata_writable functions.
4702 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4703 Test gst_buffer_(is|make)_metadata_writable
4707 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
4709 * docs/manual/Makefile.am:
4710 don't do parallel make
4713 * win32/common/config.h.in:
4714 add generations for HOST_CPU and GST_MAJORMINOR
4715 * win32/common/config.h:
4716 commit generated result
4718 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
4720 * docs/manual/appendix-integration.xml:
4721 Update GNOME integration section to use gst_init_get_option_group()
4722 instead of the old popt stuff (#322911). Also, GNOME applications
4723 should now use gconf*sink and gconf*src instead of the old gconf
4726 2006-01-13 Stefan Kost <ensonic@users.sf.net>
4729 * docs/gst/gstreamer-docs.sgml:
4730 * docs/gst/gstreamer-sections.txt:
4731 * docs/libs/gstreamer-libs-sections.txt:
4732 add new API entries to the docs
4733 * libs/gst/controller/Makefile.am:
4734 * libs/gst/controller/gstcontroller.c:
4735 * libs/gst/controller/gstcontroller.h:
4736 * libs/gst/controller/gstcontrollerprivate.h:
4737 * libs/gst/controller/gsthelper.c:
4738 * libs/gst/controller/gstinterpolation.c:
4739 move private structs to private header
4741 gstreamer-0.7 -> gstreamer-0.10
4742 * tests/check/libs/struct_i386.h:
4743 remove private structs
4745 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
4747 * plugins/indexers/Makefile.am:
4748 Fixes as part of #317048
4750 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
4752 * plugins/indexers/Makefile.am:
4753 fix #316086 - compilation when mmap is missing
4755 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
4757 * libs/gst/base/gstbasesink.c:
4758 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
4759 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
4760 * win32/common/config.h:
4761 added some defines GST_MAJORMINOR and HOST_CPU
4762 * win32/common/libgstbase.def:
4763 * win32/common/libgstreamer.def:
4764 added some exported functions.
4766 2006-01-12 Stefan Kost <ensonic@users.sf.net>
4768 * libs/gst/controller/gstcontroller.c:
4769 (gst_controlled_property_set_interpolation_mode),
4770 (gst_controlled_property_new):
4771 * libs/gst/controller/gstcontroller.h:
4772 * libs/gst/controller/gstinterpolation.c:
4773 (interpolate_none_get_string_value_array):
4774 make G_TYPE_STRING controlable
4776 2006-01-12 Stefan Kost <ensonic@users.sf.net>
4779 * tools/gst-feedback.1.in:
4780 * tools/gst-inspect.1.in:
4781 * tools/gst-launch.1.in:
4782 * tools/gst-md5sum.1.in:
4783 * tools/gst-typefind.1.in:
4784 * tools/gst-xmlinspect.1.in:
4785 * tools/gst-xmllaunch.1.in:
4786 cleanup man-pages, remove reference to gst-register, document env-vars
4788 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
4790 * gst/gstbuffer.c: (gst_buffer_span):
4791 gst_buffer_span should copy the timestamp of the first buffer
4792 if they were both originally overlapping subbuffers of the
4793 same parent, using the same logic as the 'slow copy' case.
4795 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
4797 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
4798 Need to awaken ALL the pads when we pop a buffer, otherwise
4799 collectpads only works when there is 2 input streams.
4801 2006-01-11 Stefan Kost <ensonic@users.sf.net>
4803 * docs/random/ensonic/media-device-daemon.txt:
4806 fix doc example, add clarification
4807 * tools/gst-launch.1.in:
4808 add initial info about GST_PLUGIN_PATH, needs more work
4810 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
4812 * docs/manual/basics-bins.xml:
4813 * docs/manual/basics-elements.xml:
4814 * docs/manual/intro-basics.xml:
4815 Some more minor docs additions and updates.
4817 2006-01-11 Wim Taymans <wim@fluendo.com>
4819 * docs/manual/basics-bins.xml:
4820 * docs/manual/basics-elements.xml:
4821 Some small fixes as pointed out by Ser-ver on IRC.
4823 2006-01-10 Edward Hervey <edward@fluendo.com>
4825 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4826 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
4827 the single-segment mode.
4829 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
4831 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4833 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
4834 (gst_base_src_perform_seek), (gst_base_src_send_event),
4835 (gst_base_src_set_property), (gst_base_src_get_property),
4836 (gst_base_src_loop), (gst_base_src_start),
4837 (gst_base_src_activate_push):
4838 * libs/gst/base/gstbasesrc.h:
4839 Name (private) union; makes Sun's Forte compiler happy (#324900).
4841 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
4844 gst-register is gone.
4846 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
4848 * gst/gstvalue.c: (_gst_value_initialize):
4849 make the G_TYPE_DATE instantiation work if debug is disabled
4851 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
4853 * gst/gstmessage.c: (gst_message_parse_tag),
4854 (gst_message_parse_error), (gst_message_parse_warning):
4855 Don't crash when return location for error/warning debug
4856 string is NULL; add fact that return locations can be
4857 NULL to docs where appropriate.
4859 2006-01-05 Wim Taymans <wim@fluendo.com>
4861 * gst/gstplugin.c: (gst_plugin_load_file):
4862 Replace strdup by g_strdup.
4864 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
4866 * docs/pwg/advanced-types.xml:
4869 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
4871 submitted by: Abel Cheung
4875 Added Chinese (traditional) translation
4877 2006-01-04 Wim Taymans <wim@fluendo.com>
4879 * docs/manual/basics-pads.xml:
4880 * docs/plugins/Makefile.am:
4881 * docs/plugins/gstreamer-plugins-docs.sgml:
4882 * docs/plugins/gstreamer-plugins-sections.txt:
4883 * docs/pwg/advanced-clock.xml:
4884 * docs/pwg/advanced-scheduling.xml:
4885 * docs/pwg/advanced-types.xml:
4886 * plugins/elements/gstfdsink.c:
4887 * plugins/elements/gstfdsrc.c:
4888 * plugins/elements/gstfdsrc.h:
4889 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4890 * plugins/elements/gstidentity.h:
4891 * plugins/elements/gstqueue.h:
4892 * plugins/elements/gsttee.c:
4893 * plugins/elements/gsttee.h:
4894 * plugins/elements/gsttypefindelement.c:
4895 (gst_type_find_element_class_init):
4896 * plugins/elements/gsttypefindelement.h:
4897 Small updates to various docs.
4898 Added core plugins to docs.
4900 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4903 add a suppression for liboil's uninitialized variable
4905 2006-01-02 James Livingston <jrl at ids dot org dot au>
4907 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4910 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
4911 macro, so that gcc doesn't complain if the -Wmissing-prototypes
4912 compiler switch is being used (#325429).
4914 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
4916 * gst/gstbin.c: (gst_bin_query):
4917 Disable duration query caching in bins until it gets
4918 fixed (see #324807).
4920 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
4922 * tools/gst-inspect.c: (print_element_properties_info):
4923 Handle properties of POINTER and BOXED type.
4925 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
4927 * gst/gst.c: (init_post):
4928 Init tags stuff and some other things before loading
4929 any static plugins (there may be other static plugins
4930 than just the GStreamer ones, and they may want to
4931 register their own tags or formats or whatever, and
4932 preferably without segfaulting).
4934 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4935 Print at least a warning in the debug logs if we drop a
4936 query just because we don't know how to adjust the value
4937 in the particular format.
4939 2005-12-24 David Schleef <ds@schleef.org>
4941 * tools/gstreamer-completion:
4942 Replacement for gst-complete written in sh and sed. Only
4943 completes names of features, but that's 90% of what I want
4944 it for. Properties are not available in registry.xml. (Maybe
4947 === release 0.10.1 ===
4949 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
4952 releasing 0.10.1, "Nollaig chridheil"
4954 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
4957 Add missing quote, should be make ERROR_CFLAGS="".
4959 2005-12-20 Wim Taymans <wim@fluendo.com>
4961 * docs/design/part-trickmodes.txt:
4962 More documentation on trickmodes.
4964 2005-12-20 Edward Hervey <edward@fluendo.com>
4966 * gst/gstcaps.c: (gst_static_caps_get_type):
4968 API addition: GST_TYPE_STATIC_CAPS
4969 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
4970 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
4971 * gst/gstpadtemplate.h:
4972 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
4973 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
4976 2005-12-18 Wim Taymans <wim@fluendo.com>
4978 * libs/gst/base/gstadapter.c:
4979 * libs/gst/base/gstadapter.h:
4980 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4981 (gst_base_sink_get_position):
4982 * libs/gst/base/gstbasesink.h:
4983 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4984 (gst_base_src_default_query), (gst_base_src_default_do_seek),
4985 (gst_base_src_do_seek), (gst_base_src_perform_seek),
4986 (gst_base_src_send_event), (gst_base_src_update_length),
4987 (gst_base_src_get_range), (gst_base_src_loop),
4988 (gst_base_src_start):
4989 * libs/gst/base/gstbasesrc.h:
4990 * libs/gst/base/gstbasetransform.h:
4991 * libs/gst/base/gstcollectpads.h:
4992 * libs/gst/base/gstpushsrc.c:
4993 * libs/gst/base/gstpushsrc.h:
4994 * libs/gst/dataprotocol/dataprotocol.c:
4995 * libs/gst/dataprotocol/dataprotocol.h:
4996 * libs/gst/net/gstnetclientclock.h:
4997 * libs/gst/net/gstnettimeprovider.h:
4998 Documentation updates.
5000 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
5002 * docs/manual/basics-helloworld.xml:
5003 Remove superfluous closing bracket in helloworld example.
5005 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
5007 * tools/gst-launch.1.in:
5008 Update gst-launch man page; add a section with useful
5009 environment variables. Fixes #323882.
5011 2005-12-16 Stefan Kost <ensonic@users.sf.net>
5014 * gst/gst_private.h:
5015 change some char* into char[]
5017 2005-12-16 Wim Taymans <wim@fluendo.com>
5019 * gst/gstregistryxml.c: (load_feature):
5021 Don't use g_object_unref on GstObjects so that we avoid
5022 leaks on unsafe glibs.
5024 2005-12-16 Wim Taymans <wim@fluendo.com>
5026 * gst/gstbin.c: (gst_bin_recalc_state):
5029 2005-12-16 Wim Taymans <wim@fluendo.com>
5032 Added make forever target for check.
5034 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
5036 * gst/gst.c: (init_post):
5037 make the registry cache file HOST_CPU-dependent
5039 2005-12-16 Andy Wingo <wingo@pobox.com>
5041 * plugins/elements/gstbufferstore.c
5042 (gst_buffer_store_cleared_func): Pay attention to g_list_append
5045 * tests/check/gst/gstobject.c
5046 (test_fake_object_name_threaded_unique): Pay attention to
5047 g_list_sort return value.
5049 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
5051 * tools/gst-feedback-m.m:
5052 Update for 0.9/0.10 (fixes #323870).
5054 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
5056 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
5057 Fix lcopy for mini objects, the mini object needs to be ref'ed.
5059 * tests/check/gst/gstminiobject.c: (my_foo_init),
5060 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
5061 (test_value_collection), (gst_mini_object_suite):
5062 Add test to ensure refcounts end up as expected when passing
5063 GstMiniObjects through g_object_get() and g_object_set().
5065 2005-12-14 Julien MOUTTE <julien@moutte.net>
5067 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5068 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
5069 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
5070 of collectpads. This version removes a lot of races without
5071 touching API/ABI. Yay !
5073 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
5075 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
5076 Don't allow activation of a srcpad in pull_range if it has no
5078 Change some debug statements to be a little clearer
5080 * plugins/elements/gsttypefindelement.c:
5081 (gst_type_find_handle_src_query):
5082 Check that we have a peer before executing queries thereupon.
5084 * tests/examples/metadata/read-metadata.c: (message_loop):
5085 Use gst_bus_pop instead of gst_bus_poll when we just want it to
5086 immediately return us any available message with 0 timeout.
5088 2005-12-12 Michael Smith <msmith@fluendo.com>
5090 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5091 Don't unref factories after calling them.
5092 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
5093 * plugins/elements/gsttypefindelement.c:
5094 (gst_type_find_element_chain):
5095 Free lists of factories after using them. Fixing typefinding memory
5098 2005-12-12 Stefan Kost <ensonic@users.sf.net>
5100 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5101 (gst_plugin_feature_load):
5102 more meaningful debug output
5104 * tests/Makefile.am:
5105 * tests/old/examples/Makefile.am:
5106 make make distcheck happy again
5108 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
5110 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5111 Catch the special case where we are operating chain-based,
5112 but the downstream peer pad has no chain function. Emit a
5113 custom error message in this case instead of letting the
5114 core generate one implying that this is some sort of core
5115 bug. It's not, it just means that whatever got plugged
5116 into the pipeline downstream when we announced the type
5117 can only operate pull-based, while our source can only
5118 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
5119 Error string has not been marked for translation yet, as
5120 it probably needs some more work first.
5122 (gst_type_find_element_get_best_possibility):
5123 Add helper function to find the best of all available
5124 found possibilities that qualify given the min. threshold.
5126 (gst_type_find_element_handle_event):
5127 Fix the case where we get an EOS while still in TYPEFIND
5128 mode (we want to chose the best of all possible types,
5129 not just the first type that happens to be in our unsorted
5130 list of possible types).
5132 (gst_type_find_element_chain):
5133 Make sure we return GST_FLOW_ERROR when we errored out
5134 in stop_typefinding(); also, don't just find the best of
5135 all found type entries and then use the last examined
5136 type entry, but actually use the best entry.
5138 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
5140 * tests/examples/typefind/typefind.c: (type_found):
5141 * tests/examples/xml/runxml.c: (xml_loaded):
5142 More gcc4 fixes and a mem leak fix.
5144 2005-12-12 Stefan Kost <ensonic@users.sf.net>
5146 * tests/examples/xml/createxml.c: (object_saved):
5149 2005-12-12 Stefan Kost <ensonic@users.sf.net>
5151 * tests/Makefile.am:
5152 enable the examples even more
5154 2005-12-12 Andy Wingo <wingo@pobox.com>
5156 * libs/gst/net/gstnettimeprovider.c
5157 (gst_net_time_provider_class_init, gst_net_time_provider_init)
5158 (gst_net_time_provider_set_property)
5159 (gst_net_time_provider_get_property):
5160 API addition: Export "active" as a GObject property.
5161 (gst_net_time_provider_thread): Only respond to time queries if
5162 the time provider is active.
5164 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
5165 NetTimeProvider, preserving binary compat.
5167 2005-12-12 Stefan Kost <ensonic@users.sf.net>
5169 * tests/examples/controller/audio-example.c: (main):
5170 * tests/examples/launch/Makefile.am:
5171 convert comments again
5173 2005-12-12 Wim Taymans <wim@fluendo.com>
5175 * libs/gst/base/gstpushsrc.c:
5178 2005-12-12 Wim Taymans <wim@fluendo.com>
5180 * docs/libs/gstreamer-libs-sections.txt:
5181 Added new symbol to docs.
5183 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5184 (gst_base_src_init), (gst_base_src_set_format),
5185 (gst_base_src_default_query), (gst_base_src_query),
5186 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
5187 (gst_base_src_perform_seek), (gst_base_src_send_event),
5188 (gst_base_src_default_event), (gst_base_src_event_handler),
5189 (gst_base_src_set_property), (gst_base_src_get_property),
5190 (gst_base_src_wait), (gst_base_src_do_sync),
5191 (gst_base_src_update_length), (gst_base_src_get_range),
5192 (gst_base_src_check_get_range), (gst_base_src_loop),
5193 (gst_base_src_default_negotiate), (gst_base_src_start),
5194 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5195 (gst_base_src_change_state):
5196 * libs/gst/base/gstbasesrc.h:
5197 Implement seeking to other formats than _BYTES.
5198 Implement more seeking methods correctly.
5200 Added query vmethod.
5201 Added do_seek vmethod to make life easier for subclasses
5203 API addition: gst_base_src_set_format()
5205 2005-12-12 Stefan Kost <ensonic@users.sf.net>
5207 * tests/examples/Makefile.am:
5210 2005-12-12 Stefan Kost <ensonic@users.sf.net>
5213 * docs/random/ensonic/media-device-daemon.txt:
5214 * tests/examples/controller/.cvsignore:
5215 * tests/examples/controller/Makefile.am:
5216 * tests/examples/controller/audio-example.c: (main):
5217 * tests/examples/helloworld/.cvsignore:
5218 * tests/examples/helloworld/Makefile.am:
5219 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
5220 * tests/examples/launch/.cvsignore:
5221 * tests/examples/launch/Makefile.am:
5222 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
5223 * tests/examples/metadata/.cvsignore:
5224 * tests/examples/metadata/Makefile.am:
5225 * tests/examples/metadata/read-metadata.c: (message_loop),
5226 (make_pipeline), (print_tag), (main):
5227 * tests/examples/queue/.cvsignore:
5228 * tests/examples/queue/Makefile.am:
5229 * tests/examples/queue/queue.c: (event_loop), (main):
5230 * tests/examples/typefind/.cvsignore:
5231 * tests/examples/typefind/Makefile.am:
5232 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
5234 * tests/examples/xml/.cvsignore:
5235 * tests/examples/xml/Makefile.am:
5236 * tests/examples/xml/createxml.c: (object_saved), (main):
5237 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
5238 * tests/old/examples/Makefile.am:
5239 * tests/old/examples/TODO:
5240 * tests/old/examples/controller/.cvsignore:
5241 * tests/old/examples/controller/Makefile.am:
5242 * tests/old/examples/controller/audio-example.c:
5243 * tests/old/examples/helloworld/.cvsignore:
5244 * tests/old/examples/helloworld/Makefile.am:
5245 * tests/old/examples/helloworld/helloworld.c:
5246 * tests/old/examples/launch/.cvsignore:
5247 * tests/old/examples/launch/Makefile.am:
5248 * tests/old/examples/launch/mp3parselaunch.c:
5249 * tests/old/examples/launch/mp3play:
5250 * tests/old/examples/manual/Makefile.am:
5251 * tests/old/examples/metadata/Makefile.am:
5252 * tests/old/examples/metadata/read-metadata.c:
5253 * tests/old/examples/queue/.cvsignore:
5254 * tests/old/examples/queue/Makefile.am:
5255 * tests/old/examples/queue/queue.c:
5256 * tests/old/examples/typefind/.cvsignore:
5257 * tests/old/examples/typefind/Makefile.am:
5258 * tests/old/examples/typefind/typefind.c:
5259 * tests/old/examples/xml/.cvsignore:
5260 * tests/old/examples/xml/Makefile.am:
5261 * tests/old/examples/xml/createxml.c:
5262 * tests/old/examples/xml/runxml.c:
5263 applied some simple fixing to some examples
5264 re-enabled the working examples
5266 2005-12-12 Wim Taymans <wim@fluendo.com>
5268 * gst/gstsegment.c: (gst_segment_init),
5269 (gst_segment_set_last_stop), (gst_segment_set_seek),
5270 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
5271 (gst_segment_to_running_time):
5272 Added more documentation.
5273 Make sure the last_pos value is updated properly.
5274 Make sure to_stream_time and to_running_time don't
5275 operate on wrong values.
5277 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5280 2005-12-12 Michael Smith <msmith@fluendo.com>
5282 * plugins/elements/gsttypefindelement.c: (free_entry),
5283 (gst_type_find_element_chain):
5284 Now that we're not leaking factories, make sure we keep references
5285 to them while we need them.
5287 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
5289 * tests/check/gst/struct_i386.h:
5290 ifdef out the XML structs
5292 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
5294 * gst/gstvalue.c: (gst_value_transform_double_fraction):
5295 floor is not needed, F is always positive; this obviates the
5296 need for adding -lm when building without libxml
5298 2005-12-12 Wim Taymans <wim@fluendo.com>
5300 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5301 Take current playback rate into account when reporting
5304 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
5306 * docs/manual/mime-world.fig:
5307 Let's try this again, this time with a file that is
5308 actually in XFig format.
5310 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
5312 * docs/manual/mime-world.fig:
5313 Add audioconvert element to diagram so that it
5314 matches the text and the code (fixes #319526).
5316 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
5318 * docs/pwg/building-chainfn.xml:
5319 * docs/pwg/building-pads.xml:
5320 * docs/pwg/building-state.xml:
5321 * docs/pwg/other-source.xml:
5322 Update state change stuff for 0.10 (fixes #322969).
5324 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
5326 * docs/manual/advanced-dataaccess.xml:
5327 * docs/manual/appendix-checklist.xml:
5328 * docs/manual/appendix-programs.xml:
5329 * docs/manual/basics-pads.xml:
5330 * docs/manual/highlevel-components.xml:
5331 * docs/manual/manual.xml:
5332 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
5333 add converters in front of pipelines; remove curly
5334 brackets for threads stuff, they no longer exist; use
5335 GST_TYPE_FRACTION for framerates; update some pieces of
5336 code to 0.10, but there's plenty more to do.
5338 * docs/manual/appendix-porting.xml:
5339 Expand on asynchroneous state changes; s/0.9/0.10/;
5340 mention disappearance of gst_init_get_popt_table()
5343 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
5345 * docs/faq/using.xml:
5346 Spider no longer exists, and neither does gst-launch-ext.
5347 Update examples to use decodebin and playbin and put
5348 converters in front of sinks (fixes #323726).
5350 2005-12-09 Michael Smith <msmith@fluendo.com>
5352 * plugins/elements/gsttypefindelement.c: (find_peek),
5353 (gst_type_find_element_chain):
5354 Fix leaking element factories in typefinding.
5355 Fix problem where we forgot about a probable type on non-seekable
5356 files, and thus later mis-typefound it.
5358 2005-12-09 Michael Smith <msmith@fluendo.com>
5360 * common/m4/gst-makecontext.m4:
5361 * common/m4/gst-mcsc.m4:
5363 * win32/common/config.h:
5364 * win32/common/config.h.in:
5365 Remove makecontext stuff; not used in 0.10 and causes problems on
5366 HPUX according to bug #322441
5368 2005-12-07 Wim Taymans <wim@fluendo.com>
5370 * tests/check/Makefile.am:
5371 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
5373 * tests/check/libs/struct_i386.h:
5374 Added ABI check for libs
5376 2005-12-07 Wim Taymans <wim@fluendo.com>
5378 * tests/check/Makefile.am:
5379 And add the struct_i386.h to dist.
5381 2005-12-07 Wim Taymans <wim@fluendo.com>
5383 * tests/check/Makefile.am:
5384 * tests/check/gst/.cvsignore:
5385 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
5387 * tests/check/gst/struct_i386.h:
5388 Added check for ABI compatibility.
5390 2005-12-07 Wim Taymans <wim@fluendo.com>
5392 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
5393 (gst_fake_src_get_times), (gst_fake_src_create):
5394 Fix broken sync option, fixes #323259
5396 2005-12-07 Wim Taymans <wim@fluendo.com>
5401 * gst/gstcaps.c: (gst_caps_is_equal):
5402 Don't assert on NULL <--> X. Fixes #323260
5404 * gst/gstminiobject.c: (gst_mini_object_replace):
5405 If we're doing atomic operations, we might just as well use
5406 the proper way to get an atomic pointer.
5408 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5411 2005-12-07 Michael Smith <msmith@fluendo.com>
5413 * gst/parse/grammar.y:
5414 Remove handling of { } for threads.
5416 2005-12-06 David Schleef <ds@schleef.org>
5418 * libs/gst/base/gstbasetransform.c: speling fix.
5420 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
5422 * docs/libs/tmpl/gstdataprotocol.sgml:
5423 * docs/random/omega/testing/gstobject.c:
5427 * gst/gstelementfactory.c:
5430 * gst/gstghostpad.c:
5432 * gst/gstpadtemplate.c:
5433 * gst/gstregistryxml.c:
5435 * gst/gsttagsetter.c:
5436 * gst/gsttypefind.c:
5438 * libs/gst/base/gstbasesrc.c:
5439 * libs/gst/net/gstnetclientclock.c:
5440 * libs/gst/net/gstnettimeprovider.c:
5441 * plugins/elements/gstfakesrc.c:
5442 * plugins/elements/gstfdsrc.c:
5443 * plugins/elements/gstfilesrc.c:
5444 * plugins/elements/gstidentity.c:
5445 * plugins/elements/gstqueue.c:
5446 * plugins/elements/gsttypefindelement.c:
5447 * plugins/indexers/gstfileindex.c:
5448 * plugins/indexers/gstmemindex.c:
5449 * tests/check/gst/gsttag.c:
5450 * tests/old/examples/cutter/cutter.c:
5451 * tests/old/examples/mixer/mixer.c:
5452 * tests/old/examples/xml/runxml.c: (main):
5453 * tests/old/testsuite/caps/normalisation.c:
5454 * tests/old/testsuite/debug/global.c:
5455 * tests/old/testsuite/parse/parse1.c:
5456 * tools/gst-xmlinspect.c:
5457 * win32/common/dirent.c:
5460 === release 0.10.0 ===
5462 2005-12-05 <thomas (at) apestaart (dot) org>
5465 releasing 0.10.0, "Maroilles"
5467 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
5469 submitted by: Funda Wang <fundawang@linux.net.cn>
5473 added Chinese (Traditional) translation
5475 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
5477 * docs/gst/gstreamer-sections.txt:
5478 * docs/libs/tmpl/gstdataprotocol.sgml:
5479 * docs/random/thomasvs/TODO:
5484 2005-12-05 Andy Wingo <wingo@pobox.com>
5486 patch by: Wim Taymans <wim@fluendo.com>
5488 * libs/gst/base/gstbasetransform.c
5489 (gst_base_transform_prepare_output_buf)
5490 (gst_base_transform_buffer_alloc):
5491 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
5492 alloc_buffer_and_set_caps.
5494 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
5495 set_caps on the source pad.
5496 (gst_pad_alloc_buffer_and_set_caps): New function, does what
5497 alloc_buffer used to do. Fixes #322874.
5499 * docs/gst/gstreamer-sections.txt:
5500 * docs/design/part-negotiation.txt:
5501 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
5504 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
5506 patch by: Sebastien Moutte
5509 * win32/common/config.h.in:
5510 * win32/vs6/libgstcontroller.dsp:
5513 2005-12-05 Wim Taymans <wim@fluendo.com>
5515 * gst/gstcaps.c: (gst_caps_is_equal):
5516 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
5517 (gst_fake_src_create):
5518 Back out previous code changes, leave doc updates, file bugs
5521 2005-12-05 Wim Taymans <wim@fluendo.com>
5523 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
5524 (gst_fake_src_get_times), (gst_fake_src_create):
5525 * plugins/elements/gstfakesrc.h:
5526 Fix broken sync code.
5528 2005-12-05 Wim Taymans <wim@fluendo.com>
5530 * gst/gstcaps.c: (gst_caps_is_equal):
5531 Comparing NULL against !NULL yields different caps, not a
5534 2005-12-05 Wim Taymans <wim@fluendo.com>
5536 * gst/gstpipeline.c:
5537 Fix small typo in docs.
5539 2005-12-05 Andy Wingo <wingo@pobox.com>
5541 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
5543 * gst/gst.c (init_post): remove hard-coded 0.9 location for
5544 registries/plugins with a MAJORMINOR one.
5545 (plugin_desc): Rename library from gstcoreleements to
5546 staticelements. Fixes #323222.
5548 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
5550 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
5551 Change debug category to 'collectpads' from 'collect_pads'
5554 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
5556 patch by: Sebastien Moutte
5558 * libs/gst/controller/gstinterpolation.c:
5559 use convert function for uint64/double
5560 * win32/vs6/libgstcontroller.dsp:
5563 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
5565 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
5566 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
5568 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5569 add tests that seem to show that the guint64/gdouble conversions
5572 2005-12-02 Wim Taymans <wim@fluendo.com>
5574 * gst/gstregistry.c: (gst_registry_add_path):
5575 * gst/gstregistry.h:
5576 * gst/gstregistryxml.c:
5579 2005-12-02 Wim Taymans <wim@fluendo.com>
5581 * gst/gstutils.c: (gst_util_uint64_scale_int64),
5582 (gst_util_uint64_scale_int):
5585 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5588 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
5591 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
5594 * win32/common/config.h:
5595 * win32/vs6/gstreamer.dsw:
5596 * win32/vs6/libgstcoreelements.dsp:
5597 * win32/vs6/libgstelements.dsp:
5598 renamed core elements plugin
5600 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
5602 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
5604 do piece-wise major/minor comparison so 0.9 < 0.10
5605 also allow .exe extensions for tools
5607 2005-12-02 Michael Smith <msmith@fluendo.com>
5610 Escape a % to make gtkdoc happier; bug 322958.
5612 === release 0.9.7 ===
5614 2005-12-01 <thomas (at) apestaart (dot) org>
5617 releasing 0.9.7, "My Dog Has No Nose"
5619 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5621 * common/gst-xmlinspect.py:
5623 * docs/libs/tmpl/gstdataprotocol.sgml:
5624 * docs/random/release:
5643 * win32/common/config.h:
5644 * win32/common/config.h.in:
5645 * win32/vs6/gst_inspect.dsp:
5646 * win32/vs6/gst_launch.dsp:
5647 * win32/vs6/libgstbase.dsp:
5648 * win32/vs6/libgstelements.dsp:
5649 * win32/vs6/libgstreamer.dsp:
5650 * win32/vs7/GStreamer.vcproj:
5651 * win32/vs7/gst-inspect.vcproj:
5652 * win32/vs7/gst-launch.vcproj:
5653 * win32/vs7/libgstbase.vcproj:
5654 bump GST_MAJORMINOR to 0.10
5655 reset libtool version
5657 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5661 Added Bulgarian translation by (Alexander Shopov)
5663 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5665 * tests/check/gst/gstplugin.c:
5668 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5670 * common/gst-xmlinspect.py:
5671 * common/gtk-doc-plugins.mak:
5674 * docs/gst/Makefile.am:
5675 * docs/gst/gstreamer-docs.sgml:
5676 * docs/gst/gstreamer-sections.txt:
5677 * docs/gst/gstreamer.types:
5678 * docs/gst/gstreamer.types.in:
5679 * docs/plugins/Makefile.am:
5680 * docs/plugins/gstreamer-plugins-docs.sgml:
5681 * docs/plugins/gstreamer-plugins-sections.txt:
5682 * docs/plugins/gstreamer-plugins.types:
5683 * docs/plugins/inspect.stamp:
5684 * docs/plugins/inspect/plugin-coreelements.xml:
5685 * docs/plugins/inspect/plugin-coreindexers.xml:
5686 * docs/plugins/scanobj-build.stamp:
5687 * gstreamer.spec.in:
5688 * plugins/elements/Makefile.am:
5689 * plugins/elements/gstelements.c:
5690 * plugins/elements/gstfakesink.c:
5691 * plugins/elements/gstfakesrc.c:
5692 * plugins/elements/gstfilesink.c:
5693 * plugins/elements/gstfilesrc.c:
5694 * plugins/elements/gstqueue.c:
5695 * plugins/indexers/Makefile.am:
5696 * plugins/indexers/gstindexers.c:
5697 document core plugins in a separate document just like all the
5699 rename these plugins to something starting with core
5701 2005-12-01 Andy Wingo <wingo@pobox.com>
5703 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
5704 padding here before, but it missed the commit.
5706 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5708 * libs/gst/controller/gstinterpolation.c:
5709 whitespace prices have crashed, we should feel free to use some now
5710 use gst_guint64_to_gdouble
5712 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5714 * libs/gst/controller/gstcontroller.c:
5715 * libs/gst/controller/gsthelper.c:
5716 * libs/gst/controller/gstinterpolation.c:
5717 * libs/gst/controller/lib.c:
5718 wrap config.h include
5720 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5722 * docs/gst/gstreamer-sections.txt:
5725 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5727 * plugins/elements/gstelements.c:
5728 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
5729 (gst_fd_sink__class_init), (gst_fd_sink__init),
5730 (gst_fd_sink__chain), (gst_fd_sink__set_property),
5731 (gst_fd_sink__get_property):
5732 * plugins/elements/gstfdsink.h:
5733 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
5734 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
5735 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
5736 (gst_fd_src_unlock), (gst_fd_src_set_property),
5737 (gst_fd_src_get_property), (gst_fd_src_create),
5738 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
5739 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
5740 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
5741 (gst_fd_src_uri_handler_init):
5742 * plugins/elements/gstfdsrc.h:
5743 * plugins/elements/gstqueue.c: (gst_queue_get_type):
5746 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5748 * docs/gst/Makefile.am:
5749 * docs/gst/gstreamer.types.in:
5753 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5759 * gst/gstregistry.h:
5760 * tests/benchmarks/complexity.c:
5761 * tests/benchmarks/mass-elements.c:
5762 * tests/check/Makefile.am:
5763 * tools/Makefile.am:
5764 * tools/gst-inspect.c:
5765 * tools/gst-xmlinspect.c:
5766 various fixes to make
5767 --disable-nls --disable-registry --disable-loadsave
5768 --disable-parse --disable-gst-debug
5769 work and get the core .so down to 360444 bytes after stripping
5771 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5776 * docs/random/thomasvs/TODO:
5777 * tests/Makefile.am:
5781 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5783 * win32/GStreamer.vcproj:
5786 * win32/Makefile.inspect:
5787 * win32/Makefile.launch:
5788 * win32/Makefile.register:
5790 * win32/gst-inspect.vcproj:
5791 * win32/gst-launch.vcproj:
5792 * win32/gst-register.vcproj:
5793 * win32/gstelements.vcproj:
5794 * win32/gstgetbits.def:
5795 * win32/gstgetbits.vcproj:
5796 * win32/gstreamer-dbg.def:
5797 * win32/gstreamer.def:
5798 * win32/libgstbase.def:
5799 * win32/libgstbase.vcproj:
5800 * win32/link_oldruntime.c:
5805 move even more stuff, win32/ is nice and clean now
5807 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5809 * libs/gst/control/.cvsignore:
5814 * win32/gstbytestream.def:
5815 * win32/gstbytestream.vcproj:
5816 * win32/gstconfig.h:
5817 * win32/gstenumtypes.c:
5818 * win32/gstenumtypes.h:
5819 * win32/gstoptimalscheduler.vcproj:
5820 * win32/gstversion.h:
5822 * win32/testsuite/bins.vcproj:
5823 * win32/testsuite/bytestream.vcproj:
5824 * win32/testsuite/caps.vcproj:
5825 * win32/testsuite/cleanup.vcproj:
5826 * win32/testsuite/clock.vcproj:
5827 * win32/testsuite/debug.vcproj:
5828 * win32/testsuite/dlopen.vcproj:
5829 * win32/testsuite/dynparams.vcproj:
5830 * win32/testsuite/elements.vcproj:
5831 * win32/testsuite/ghostpads.vcproj:
5832 * win32/testsuite/indexers.vcproj:
5833 * win32/testsuite/negotiation.vcproj:
5834 * win32/testsuite/parse.vcproj:
5835 * win32/testsuite/plugin.vcproj:
5836 * win32/testsuite/refcounting.vcproj:
5837 * win32/testsuite/schedulers.vcproj:
5838 * win32/testsuite/states.vcproj:
5839 * win32/testsuite/tags.vcproj:
5840 * win32/testsuite/threads.vcproj:
5841 remove old win32 stuff that isn't maintained and should be
5844 2005-11-30 Andy Wingo <wingo@pobox.com>
5846 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
5847 loading the gst.interfaces python module bork.
5849 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
5850 available since GLib 2.2. Fixes #318031.
5852 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5856 * check/Makefile.am:
5857 * check/elements/.cvsignore:
5858 * check/elements/fakesrc.c:
5859 * check/elements/fdsrc.c:
5860 * check/elements/identity.c:
5861 * check/generic/.cvsignore:
5862 * check/generic/states.c:
5863 * check/gst-libs/.cvsignore:
5864 * check/gst-libs/controller.c:
5865 * check/gst-libs/gdp.c:
5866 * check/gst/.cvsignore:
5867 * check/gst/capslist.h:
5869 * check/gst/gstbin.c:
5870 * check/gst/gstbuffer.c:
5871 * check/gst/gstbus.c:
5872 * check/gst/gstcaps.c:
5873 * check/gst/gstelement.c:
5874 * check/gst/gstevent.c:
5875 * check/gst/gstghostpad.c:
5876 * check/gst/gstiterator.c:
5877 * check/gst/gstmessage.c:
5878 * check/gst/gstminiobject.c:
5879 * check/gst/gstobject.c:
5880 * check/gst/gstpad.c:
5881 * check/gst/gstpipeline.c:
5882 * check/gst/gstplugin.c:
5883 * check/gst/gstsegment.c:
5884 * check/gst/gststructure.c:
5885 * check/gst/gstsystemclock.c:
5886 * check/gst/gsttag.c:
5887 * check/gst/gstutils.c:
5888 * check/gst/gstvalue.c:
5889 * check/net/.cvsignore:
5890 * check/net/gstnetclientclock.c:
5891 * check/net/gstnettimeprovider.c:
5892 * check/pipelines/.cvsignore:
5893 * check/pipelines/cleanup.c:
5894 * check/pipelines/simple_launch_lines.c:
5895 * check/pipelines/stress.c:
5896 * check/states/.cvsignore:
5897 * check/states/sinks.c:
5899 * examples/Makefile.am:
5900 * examples/appreader/.cvsignore:
5901 * examples/appreader/Makefile.am:
5902 * examples/appreader/appreader.c:
5903 * examples/controller/.cvsignore:
5904 * examples/controller/Makefile.am:
5905 * examples/controller/audio-example.c:
5906 * examples/cutter/.cvsignore:
5907 * examples/cutter/Makefile.am:
5908 * examples/cutter/cutter.c:
5909 * examples/cutter/cutter.h:
5910 * examples/events/Makefile.am:
5911 * examples/events/seek.c:
5912 * examples/helloworld/.cvsignore:
5913 * examples/helloworld/Makefile.am:
5914 * examples/helloworld/helloworld.c:
5915 * examples/helloworld2/.cvsignore:
5916 * examples/helloworld2/Makefile.am:
5917 * examples/helloworld2/helloworld2.c:
5918 * examples/launch/.cvsignore:
5919 * examples/launch/Makefile.am:
5920 * examples/launch/mp3parselaunch.c:
5921 * examples/launch/mp3play:
5922 * examples/manual/.cvsignore:
5923 * examples/manual/Makefile.am:
5924 * examples/manual/extract.pl:
5925 * examples/metadata/Makefile.am:
5926 * examples/metadata/read-metadata.c:
5927 * examples/mixer/.cvsignore:
5928 * examples/mixer/Makefile.am:
5929 * examples/mixer/mixer.c:
5930 * examples/mixer/mixer.h:
5931 * examples/pingpong/.cvsignore:
5932 * examples/pingpong/Makefile.am:
5933 * examples/pingpong/pingpong.c:
5934 * examples/plugins/.cvsignore:
5935 * examples/plugins/Makefile.am:
5936 * examples/plugins/example.c:
5937 * examples/plugins/example.h:
5938 * examples/pwg/.cvsignore:
5939 * examples/pwg/Makefile.am:
5940 * examples/pwg/extract.pl:
5941 * examples/queue/.cvsignore:
5942 * examples/queue/Makefile.am:
5943 * examples/queue/queue.c:
5944 * examples/queue2/.cvsignore:
5945 * examples/queue2/Makefile.am:
5946 * examples/queue2/queue2.c:
5947 * examples/queue3/.cvsignore:
5948 * examples/queue3/Makefile.am:
5949 * examples/queue3/queue3.c:
5950 * examples/queue4/.cvsignore:
5951 * examples/queue4/Makefile.am:
5952 * examples/queue4/queue4.c:
5953 * examples/retag/.cvsignore:
5954 * examples/retag/Makefile.am:
5955 * examples/retag/retag.c:
5956 * examples/retag/transcode.c:
5957 * examples/thread/.cvsignore:
5958 * examples/thread/Makefile.am:
5959 * examples/thread/thread.c:
5960 * examples/typefind/.cvsignore:
5961 * examples/typefind/Makefile.am:
5962 * examples/typefind/typefind.c:
5963 * examples/xml/.cvsignore:
5964 * examples/xml/Makefile.am:
5965 * examples/xml/createxml.c:
5966 * examples/xml/runxml.c:
5967 * tests/Makefile.am:
5968 * tests/check/Makefile.am:
5969 * testsuite/.cvsignore:
5970 * testsuite/Makefile.am:
5972 * testsuite/caps/.cvsignore:
5973 * testsuite/caps/Makefile.am:
5974 * testsuite/caps/app_fixate.c:
5975 * testsuite/caps/audioscale.c:
5976 * testsuite/caps/caps.c:
5977 * testsuite/caps/caps.h:
5978 * testsuite/caps/caps_strings:
5979 * testsuite/caps/compatibility.c:
5980 * testsuite/caps/deserialize.c:
5981 * testsuite/caps/enumcaps.c:
5982 * testsuite/caps/eratosthenes.c:
5983 * testsuite/caps/filtercaps.c:
5984 * testsuite/caps/fixed.c:
5985 * testsuite/caps/fraction-convert.c:
5986 * testsuite/caps/fraction-multiply-and-zero.c:
5987 * testsuite/caps/intersect2.c:
5988 * testsuite/caps/intersection.c:
5989 * testsuite/caps/normalisation.c:
5990 * testsuite/caps/random.c:
5991 * testsuite/caps/renegotiate.c:
5992 * testsuite/caps/sets.c:
5993 * testsuite/caps/simplify.c:
5994 * testsuite/caps/string-conversions.c:
5995 * testsuite/caps/structure.c:
5996 * testsuite/caps/subtract.c:
5997 * testsuite/caps/union.c:
5998 * testsuite/debug/.cvsignore:
5999 * testsuite/debug/Makefile.am:
6000 * testsuite/debug/category.c:
6001 * testsuite/debug/commandline.c:
6002 * testsuite/debug/global.c:
6003 * testsuite/debug/output.c:
6004 * testsuite/debug/printf_extension.c:
6005 * testsuite/dlopen/.cvsignore:
6006 * testsuite/dlopen/Makefile.am:
6007 * testsuite/dlopen/dlopen_gst.c:
6008 * testsuite/dlopen/loadgst.c:
6009 * testsuite/elements/.cvsignore:
6010 * testsuite/elements/Makefile.am:
6011 * testsuite/elements/gst-inspect-check.in:
6012 * testsuite/elements/struct_i386.h:
6013 * testsuite/elements/struct_size.c:
6014 * testsuite/indexers/.cvsignore:
6015 * testsuite/indexers/Makefile.am:
6016 * testsuite/indexers/cache1.c:
6017 * testsuite/indexers/indexdump.c:
6018 * testsuite/parse/.cvsignore:
6019 * testsuite/parse/Makefile.am:
6020 * testsuite/parse/parse1.c:
6021 * testsuite/parse/parse2.c:
6022 * testsuite/plugin/.cvsignore:
6023 * testsuite/plugin/Makefile.am:
6024 * testsuite/plugin/README:
6025 * testsuite/plugin/dynamic.c:
6026 * testsuite/plugin/linked.c:
6027 * testsuite/plugin/loading.c:
6028 * testsuite/plugin/registry.c:
6029 * testsuite/plugin/static.c:
6030 * testsuite/plugin/static2.c:
6031 * testsuite/plugin/testplugin.c:
6032 * testsuite/plugin/testplugin2.c:
6033 * testsuite/plugin/testplugin2_s.c:
6034 * testsuite/plugin/testplugin_s.c:
6035 * testsuite/refcounting/.cvsignore:
6036 * testsuite/refcounting/Makefile.am:
6037 * testsuite/refcounting/bin.c:
6038 * testsuite/refcounting/element.c:
6039 * testsuite/refcounting/element_pad.c:
6040 * testsuite/refcounting/mainloop.c:
6041 * testsuite/refcounting/mem.c:
6042 * testsuite/refcounting/mem.h:
6043 * testsuite/refcounting/object.c:
6044 * testsuite/refcounting/pad.c:
6045 * testsuite/refcounting/sched.c:
6046 * testsuite/refcounting/thread.c:
6047 * testsuite/states/.cvsignore:
6048 * testsuite/states/Makefile.am:
6049 * testsuite/states/bin.c:
6050 * testsuite/states/locked.c:
6051 * testsuite/states/parent.c:
6052 * testsuite/threads/.cvsignore:
6053 * testsuite/threads/159566.c:
6054 * testsuite/threads/159852.c:
6055 * testsuite/threads/Makefile.am:
6056 * testsuite/threads/queue.c:
6057 * testsuite/threads/signals.c:
6058 * testsuite/threads/staticrec.c:
6059 * testsuite/threads/thread.c:
6060 * testsuite/threads/threadb.c:
6061 * testsuite/threads/threadc.c:
6062 * testsuite/threads/threadd.c:
6063 * testsuite/threads/threade.c:
6064 * testsuite/threads/threadf.c:
6065 * testsuite/threads/threadg.c:
6066 * testsuite/threads/threadh.c:
6067 * testsuite/threads/threadi.c:
6068 move all of these under tests
6070 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6073 * tests/Makefile.am:
6076 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6078 * docs/gst/gstreamer-sections.txt:
6079 * tests/sched/.cvsignore:
6080 * tests/sched/Makefile.am:
6081 * tests/sched/cases/(fs-fs).xml:
6082 * tests/sched/cases/(fs-i-fs).xml:
6083 * tests/sched/cases/(fs-i-i-fs).xml:
6084 * tests/sched/cases/(fs-i-q[i-fs]).xml:
6085 * tests/sched/dynamic-pipeline.c:
6086 * tests/sched/interrupt1.c:
6087 * tests/sched/interrupt2.c:
6088 * tests/sched/interrupt3.c:
6089 * tests/sched/runtestcases:
6090 * tests/sched/runxml.c:
6091 * tests/sched/sched-stress.c:
6092 * tests/sched/sort.c:
6093 * tests/sched/testcases:
6094 * tests/sched/testcases1.tc:
6095 * tests/seeking/.cvsignore:
6096 * tests/seeking/Makefile.am:
6097 * tests/seeking/seeking1.c:
6098 * tests/threadstate/.cvsignore:
6099 * tests/threadstate/Makefile.am:
6100 * tests/threadstate/test1.c:
6101 * tests/threadstate/test2.c:
6102 * tests/threadstate/threadstate1.c:
6103 * tests/threadstate/threadstate2.c:
6104 * tests/threadstate/threadstate3.c:
6105 * tests/threadstate/threadstate4.c:
6106 * tests/threadstate/threadstate5.c:
6107 remove obsolete tests
6109 * tests/bench-complexity.scm:
6110 * tests/bench-mass_elements.scm:
6111 * tests/complexity.c:
6112 * tests/complexity.gnuplot:
6113 * tests/instantiate/.cvsignore:
6114 * tests/instantiate/Makefile.am:
6115 * tests/instantiate/caps.c:
6116 * tests/mass_elements.c:
6117 * tests/network-clock-utils.scm:
6118 * tests/network-clock.scm:
6120 First pass at cleaning up tests/ dir before moving the rest
6121 Combined with CVS surgery
6123 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6126 queue has moved, update
6128 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6130 * docs/gst/gstreamer-sections.txt:
6131 remove double entries from the docs
6132 * gst/gst_private.h:
6133 * gst/gstinfo.c: (_gst_debug_init):
6134 remove the THREAD debug category
6138 * docs/gst/gstreamer.types:
6139 * plugins/elements/gstqueue.c: (gst_queue_get_type),
6140 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
6141 completely move queue and fix up debugging categories
6143 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6145 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6146 make initialization portable, using LL is not
6148 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6150 * win32/common/gstconfig.h:
6153 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6155 * win32/common/libgstreamer.def:
6156 rename symbols; sort base section
6158 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6160 * gst/gstclock.c: (do_linear_regression):
6161 remove crack non-portable handrolled DEBUG macro
6163 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6165 * docs/random/release:
6167 * win32/common/gstenumtypes.c: (register_gst_object_flags),
6168 (gst_object_flags_get_type), (register_gst_bin_flags),
6169 (gst_bin_flags_get_type), (register_gst_buffer_flag),
6170 (gst_buffer_flag_get_type), (register_gst_bus_flags),
6171 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
6172 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
6173 (gst_caps_flags_get_type), (register_gst_clock_return),
6174 (gst_clock_return_get_type), (register_gst_clock_entry_type),
6175 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
6176 (gst_clock_flags_get_type), (register_gst_state),
6177 (gst_state_get_type), (register_gst_state_change_return),
6178 (gst_state_change_return_get_type), (register_gst_state_change),
6179 (gst_state_change_get_type), (register_gst_element_flags),
6180 (gst_element_flags_get_type), (register_gst_core_error),
6181 (gst_core_error_get_type), (register_gst_library_error),
6182 (gst_library_error_get_type), (register_gst_resource_error),
6183 (gst_resource_error_get_type), (register_gst_stream_error),
6184 (gst_stream_error_get_type), (register_gst_event_type_flags),
6185 (gst_event_type_flags_get_type), (register_gst_event_type),
6186 (gst_event_type_get_type), (register_gst_seek_type),
6187 (gst_seek_type_get_type), (register_gst_seek_flags),
6188 (gst_seek_flags_get_type), (register_gst_format),
6189 (gst_format_get_type), (register_gst_index_certainty),
6190 (gst_index_certainty_get_type), (register_gst_index_entry_type),
6191 (gst_index_entry_type_get_type),
6192 (register_gst_index_lookup_method),
6193 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
6194 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
6195 (gst_index_resolver_method_get_type), (register_gst_index_flags),
6196 (gst_index_flags_get_type), (register_gst_debug_level),
6197 (gst_debug_level_get_type), (register_gst_debug_color_flags),
6198 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
6199 (gst_iterator_result_get_type), (register_gst_iterator_item),
6200 (gst_iterator_item_get_type), (register_gst_message_type),
6201 (gst_message_type_get_type), (register_gst_mini_object_flags),
6202 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
6203 (gst_pad_link_return_get_type), (register_gst_flow_return),
6204 (gst_flow_return_get_type), (register_gst_activate_mode),
6205 (gst_activate_mode_get_type), (register_gst_pad_direction),
6206 (gst_pad_direction_get_type), (register_gst_pad_flags),
6207 (gst_pad_flags_get_type), (register_gst_pad_presence),
6208 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
6209 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
6210 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
6211 (gst_plugin_error_get_type), (register_gst_plugin_flags),
6212 (gst_plugin_flags_get_type), (register_gst_rank),
6213 (gst_rank_get_type), (register_gst_query_type),
6214 (gst_query_type_get_type), (register_gst_tag_merge_mode),
6215 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
6216 (gst_tag_flag_get_type), (register_gst_task_state),
6217 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
6218 (gst_alloc_trace_flags_get_type),
6219 (register_gst_type_find_probability),
6220 (gst_type_find_probability_get_type), (register_gst_uri_type),
6221 (gst_uri_type_get_type), (register_gst_parse_error),
6222 (gst_parse_error_get_type):
6223 * win32/common/gstenumtypes.h:
6224 * win32/common/gstversion.h:
6225 update visual studio generated files
6227 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6229 * win32/vs6/libgstbase.dsp:
6230 * win32/vs6/libgstelements.dsp:
6231 update project files for new locations
6233 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6238 reinstate and update
6243 * docs/random/LICENSE:
6246 2005-11-30 Edward Hervey <edward@fluendo.com>
6248 * gst/gsttypefind.c: (gst_type_find_register):
6249 * gst/gsttypefind.h:
6250 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
6251 (gst_type_find_factory_dispose):
6252 * gst/gsttypefindfactory.h:
6253 Fix memory leak in GstTypeFindFactory.
6255 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6258 * plugins/elements/Makefile.am:
6259 * plugins/elements/gstelements.c:
6260 * plugins/elements/gstqueue.c:
6261 move queue from core to the elements plugin
6263 2005-11-29 Andy Wingo <wingo@pobox.com>
6265 * libs/gst/base/gstbasetransform.h:
6266 * libs/gst/base/gstbasesrc.h:
6267 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
6269 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
6270 of pointers by which to pad very extensible base classes (like the
6271 ones in libs/gst/base).
6273 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6275 * docs/gst/gstreamer-docs.sgml:
6276 * docs/gst/gstreamer-sections.txt:
6277 * docs/libs/gstreamer-libs-docs.sgml:
6278 * docs/libs/gstreamer-libs-sections.txt:
6279 moving documentation from core to lib
6281 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6283 * check/Makefile.am:
6285 * docs/gst/Makefile.am:
6287 * gst/base/.cvsignore:
6288 * gst/base/Makefile.am:
6290 * gst/base/gstadapter.c:
6291 * gst/base/gstadapter.h:
6292 * gst/base/gstbasesink.c:
6293 * gst/base/gstbasesink.h:
6294 * gst/base/gstbasesrc.c:
6295 * gst/base/gstbasesrc.h:
6296 * gst/base/gstbasetransform.c:
6297 * gst/base/gstbasetransform.h:
6298 * gst/base/gstcollectpads.c:
6299 * gst/base/gstcollectpads.h:
6300 * gst/base/gstpushsrc.c:
6301 * gst/base/gstpushsrc.h:
6302 * gst/base/gsttypefindhelper.c:
6303 * gst/base/gsttypefindhelper.h:
6304 * gst/check/Makefile.am:
6305 * gst/check/gstcheck.c:
6306 * gst/check/gstcheck.h:
6307 * gst/net/Makefile.am:
6309 * gst/net/gstnetclientclock.c:
6310 * gst/net/gstnetclientclock.h:
6311 * gst/net/gstnettimepacket.c:
6312 * gst/net/gstnettimepacket.h:
6313 * gst/net/gstnettimeprovider.c:
6314 * gst/net/gstnettimeprovider.h:
6315 * libs/gst/Makefile.am:
6316 * libs/gst/base/Makefile.am:
6317 * libs/gst/base/gstbasetransform.c:
6318 * libs/gst/check/Makefile.am:
6319 * plugins/elements/Makefile.am:
6321 CVS surgery + support to move base, check, and net out of gst
6324 2005-11-29 Andy Wingo <wingo@pobox.com>
6326 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
6328 * gst/gststructure.h (struct _GstStructure): Only one pointer of
6331 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
6333 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
6335 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
6337 * gst/gstobject.h: (struct _GstObject): Only one pointer of
6338 padding; reduces object size by about 30%. We don't expect
6339 anything else to go into gstobject.
6341 * gst/gstminiobject.h (struct _GstMiniObject)
6342 (struct _GstMiniObjectClass): Only one pointer of padding; the
6343 payload is only a pointer and two ints anyway. For the class there
6344 are only two methods as well.
6346 * gst/gstelement.h (struct _GstElementClass): Removed
6347 the state_changed signal callback, it is not used.
6349 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
6351 * docs/gst/gstreamer.types:
6352 fix includes, though they are a little dinky
6354 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6356 * check/Makefile.am:
6357 look in the right place for elements, a lot more chance of
6360 remove indexers and elements subdirs
6361 * plugins/Makefile.am:
6362 make indexers conditional
6364 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6368 * plugins/elements/Makefile.am:
6369 * plugins/elements/gstcapsfilter.c:
6370 * plugins/elements/gstfilesink.c:
6371 * plugins/elements/gstfilesrc.c:
6372 * plugins/elements/gstidentity.c:
6373 * plugins/indexers/Makefile.am:
6374 do CVS surgery and related build fixery to move elements
6375 and indexers in a new gstreamer/plugins directory, out of the
6378 2005-11-29 Andy Wingo <wingo@pobox.com>
6380 * check/Makefile.am:
6381 * pkgconfig/gstreamer-net-uninstalled.pc.in:
6382 * pkgconfig/gstreamer-net.pc.in:
6383 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
6386 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
6388 * tools/Makefile.am:
6389 * tools/gst-complete.1.in:
6390 * tools/gst-complete.c:
6391 * tools/gst-compprep.1.in:
6392 * tools/gst-compprep.c:
6393 removing -compprep and -complete
6395 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
6397 * gst/gstevent.c: (gst_event_new_new_segment),
6398 (gst_event_parse_new_segment):
6400 fix #320529 - clean up new_segment API and structure.
6401 Let's hope everyone was using the methods, and not the structure.
6403 2005-11-29 Edward Hervey <edward@fluendo.com>
6405 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6406 (gst_base_sink_event), (gst_base_sink_do_sync),
6407 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6408 Properly handle non GST_FORMAT_TIME segment
6409 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6410 Properly handle non GST_FORMAT_TIME segment
6412 This function is valid if the accumulator is 0 and the format
6413 is different from the requested format.
6415 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
6417 * docs/gst/gstreamer-sections.txt:
6418 Add gst_query_new_seeking and gst_query_parse_seeking to the
6421 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
6423 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
6424 Treat a pad alloc with new caps the same as if we were not
6425 negotiated, in order to allow a changing upstream output
6426 to produce a new format of data.
6428 2005-11-29 Edward Hervey <edward@fluendo.com>
6430 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6431 (gst_base_transform_event), (gst_base_transform_eventfunc):
6432 The event virtual method is now properly implemented, with a default
6434 Sub classes should call the parent_class event method. They should
6435 return FALSE if they had a problem handling the given event, or don't
6436 want GstBaseTransform to send that even downstream
6437 * gst/elements/gstidentity.c: (gst_identity_class_init),
6438 (gst_identity_init), (gst_identity_event),
6439 (gst_identity_transform_ip), (gst_identity_set_property),
6440 (gst_identity_get_property):
6441 * gst/elements/gstidentity.h:
6442 Added the single-segment boolean property.
6443 If set to TRUE, it will output a single segment of data, starting from
6444 0, will eat up all incoming newsegment, and modify the timestamp of the
6447 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
6449 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
6450 Don't ref NULL target pad (#322751). Improve docs.
6452 2005-11-29 Michael Smith <msmith@fluendo.com>
6454 * gst/gstregistryxml.c: (load_plugin):
6455 Don't crash if we failed to load a feature from a plugin.
6457 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
6459 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
6461 use more check API and less GLib API
6463 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
6466 don't run checks if we don't have check
6468 remove the registry when running make torture
6469 * docs/gst/gstreamer-sections.txt:
6470 remove second multiply
6471 * gst/gstqueue.c: (gst_queue_loop):
6472 fix a compile warning when disabling debug
6474 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
6477 Hey! Let's print the pad name if the pointer != NULL instead
6478 of when it == NULL :-)
6480 2005-11-28 Wim Taymans <wim@fluendo.com>
6482 * check/gst/gstutils.c: (GST_START_TEST):
6483 Updated check, add some scaling accuracy checking code.
6485 * gst/gstutils.c: (gst_util_div128_64),
6486 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
6487 (gst_util_uint64_scale_int):
6488 Fix 6 times faster division code. Optimize for common
6489 1/1 and less common X/1 cases.
6491 2005-11-28 Wim Taymans <wim@fluendo.com>
6493 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6496 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
6497 (do_linear_regression), (gst_clock_add_observation):
6499 Release lock when the clock cannot be slaved.
6500 Catch the case where the regression returned an invalid denominator.
6502 * gst/gstutils.c: (gst_util_div128_64_iterate),
6503 (gst_util_div128_64), (gst_util_uint64_scale_int64),
6504 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
6505 Add protentially more performant non-iterative 128/64 divide function
6506 that unfortunatly does not work yet.
6507 Shortcut the trivial 0/X = 0 case.
6508 Remove the warnings on overflow.
6510 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
6512 * gst/gstplugin.c: (gst_plugin_register_func):
6513 everything causing a plugin not to load should be at least a WARNING
6515 2005-11-28 Stefan Kost <ensonic@users.sf.net>
6517 * docs/random/ensonic/dparams.txt:
6518 some TODOs for the next dev cycle
6519 * libs/gst/controller/gstcontroller.c:
6520 (gst_controlled_property_set_interpolation_mode),
6521 (gst_controlled_property_new):
6522 * libs/gst/controller/gstcontroller.h:
6523 use base type to assign acccessor functions
6525 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
6527 * check/Makefile.am:
6528 Oops, that should have been top_srcdir
6530 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
6532 * check/Makefile.am:
6533 * check/elements/fdsrc.c: (GST_START_TEST):
6534 Use a cmdline define to specify the location of a file to use for
6535 testing, to avoid breaking distcheck.
6537 2005-11-28 Andy Wingo <wingo@pobox.com>
6539 * gst/gstpad.c (fixate_value): Use array functions for arrays.
6541 2005-11-28 Edward Hervey <edward@fluendo.com>
6543 * tools/gst-launch.c: (main):
6544 Clarify the output strings, makes it easier to translate.
6547 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
6550 don't try and build net if we don't even have <sys/socket.h>
6552 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
6554 * check/Makefile.am:
6555 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
6556 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
6557 Add tests for fdsrc seekability
6559 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6560 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
6561 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
6562 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
6563 * gst/elements/gstfdsrc.h:
6564 fdsrc should not be a 'live' source.
6565 Implement seeking on seekable fd's.
6567 * gst/gstquery.c: (gst_query_new_seeking),
6568 (gst_query_parse_seeking):
6570 Implement SEEKING query functions:
6571 *_new_seeking and *_parse_seeking
6573 2005-11-27 Stefan Kost <ensonic@users.sf.net>
6575 * gst/gstelement.c: (gst_element_dispose):
6578 * gst/gstiterator.c:
6579 * gst/gststructure.c:
6582 * libs/gst/controller/gstcontroller.c:
6583 (gst_controlled_property_set_interpolation_mode):
6584 * libs/gst/controller/gstcontroller.h:
6585 * libs/gst/controller/gstinterpolation.c:
6586 (interpolate_none_get_enum_value_array):
6587 support controlling enums
6589 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
6592 Improve documentation for gst_value_union().
6595 Change return value for union, intersect and subtract functions
6596 from gint to gboolean.
6598 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
6600 * gst/gstvalue.c: (gst_value_serialize_any_list),
6601 (gst_value_transform_any_list_string),
6602 (gst_value_deserialize_list), (gst_value_deserialize_array),
6603 (gst_value_set_int_range), (gst_value_deserialize_int_range),
6604 (gst_value_set_double_range), (gst_value_deserialize_double_range),
6605 (gst_value_set_fraction_range_full),
6606 (gst_value_deserialize_fraction_range),
6607 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
6608 (gst_value_deserialize_boolean),
6609 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
6610 (gst_value_serialize_float), (gst_value_deserialize_float),
6611 (gst_string_wrap), (gst_value_deserialize_string),
6612 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
6613 (gst_value_union_int_range_int_range),
6614 (gst_value_intersect_int_range_int_range),
6615 (gst_value_intersect_double_range_double_range),
6616 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
6617 (gst_value_subtract_int_range_int_range),
6618 (gst_value_subtract_double_double_range),
6619 (gst_value_subtract_double_range_double_range),
6620 (gst_value_deserialize_fraction):
6622 Use gint, gdouble and gchar in our API instead of int, double and
6623 char (and make usage in gstvalue.c more consistent).
6625 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
6627 * check/Makefile.am:
6628 * libs/gst/controller/Makefile.am:
6629 * libs/gst/dataprotocol/Makefile.am:
6630 fix up Makefile.am and remove GST_ENABLE_NEW
6632 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
6636 * gst/base/Makefile.am:
6637 * gst/check/Makefile.am:
6638 * gst/elements/Makefile.am:
6639 * gst/net/Makefile.am:
6640 update LDFLAGS use some more
6642 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
6644 * common/m4/gst-doc.m4:
6647 2005-11-26 Edward Hervey <edward@fluendo.com>
6649 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6650 This shouldn't issue a g_warning since it returns NULL if it
6651 couldn't find the plugin, and all functions using this behave
6652 properly on a NULL return. Switching to a GST_WARNING.
6654 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
6656 * gst/gstbin.c: (gst_bin_handle_message_func):
6657 Don't leak clock messages.
6659 2005-11-25 Wim Taymans <wim@fluendo.com>
6661 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6662 (gst_util_uint64_scale_int):
6663 Optimisations, remove unneeded vars.
6665 2005-11-25 Wim Taymans <wim@fluendo.com>
6667 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6668 Added more checks for the high precision uint64 cases.
6670 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6671 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
6672 Implement high precision (guint64 * guint64) / guint64.
6674 2005-11-24 Wim Taymans <wim@fluendo.com>
6676 * gst/base/gstbasesrc.c: (gst_base_src_query):
6677 Fix wrong percentage query.
6679 * gst/gstutils.c: (gst_util_uint64_scale),
6680 (gst_util_uint64_scale_int):
6681 Add some more common cases that can be handled
6682 efficiently to _scale.
6684 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
6686 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
6687 (gst_mini_object_suite):
6688 don't use check calls from threads; check probably isn't
6689 threadsafe and using a lock to make it threadsafe would
6690 defeat the purpose of this check
6691 * gst/check/gstcheck.c:
6692 * gst/check/gstcheck.h:
6693 use GST_DEBUG some more
6695 2005-11-24 Wim Taymans <wim@fluendo.com>
6697 * gst/gstutils.c: (gst_util_uint64_scale),
6698 (gst_util_uint64_scale_int):
6699 Chain trivial case to _scale_int.
6701 2005-11-24 Wim Taymans <wim@fluendo.com>
6703 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6704 Added test for scaling.
6709 * gst/gstutils.c: (gst_util_uint64_scale_int):
6710 Implemented high precision scaling code.
6712 2005-11-24 Stefan Kost <ensonic@users.sf.net>
6715 do not crash on pad==NULL
6717 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
6719 Patch by: Stefan Kost
6721 * common/gtk-doc.mak:
6722 * docs/gst/Makefile.am:
6723 * docs/libs/Makefile.am:
6724 Fix distcheck issues for the libraries docs build
6727 2005-11-24 Michael Smith <msmith@fluendo.com>
6729 * docs/manual/basics-helloworld.xml:
6730 Fix bug #315027: memory leak in example code in docs.
6732 2005-11-24 Michael Smith <msmith@fluendo.com>
6734 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6735 Unlock the PREROLL_LOCK in a failure case.
6737 2005-11-24 Wim Taymans <wim@fluendo.com>
6739 * docs/gst/gstreamer-sections.txt:
6740 * gst/base/gstadapter.h:
6741 * gst/base/gstbasesink.h:
6742 * gst/base/gstbasesrc.h:
6743 * gst/base/gstbasetransform.h:
6744 * gst/base/gstpushsrc.h:
6745 * gst/elements/gstfakesink.h:
6746 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
6747 * gst/elements/gstfakesrc.h:
6748 * gst/elements/gstfilesink.h:
6749 * gst/elements/gstfilesrc.h:
6752 * gst/gstbuffer.c: (_gst_buffer_copy):
6755 * gst/gstchildproxy.c:
6758 * gst/gstelementfactory.c:
6759 * gst/gstelementfactory.h:
6761 * gst/gstghostpad.h:
6763 * gst/gstinterface.h:
6764 * gst/gstminiobject.c:
6765 * gst/gstminiobject.h:
6768 * gst/gstpadtemplate.h:
6769 * gst/gstpipeline.h:
6770 * gst/gstpluginfeature.h:
6775 * gst/gsttagsetter.c:
6776 * gst/gsttagsetter.h:
6779 * gst/gsttypefind.h:
6782 * gst/net/gstnetclientclock.c:
6783 * gst/net/gstnetclientclock.h:
6784 * gst/net/gstnettimepacket.c:
6785 * gst/net/gstnettimeprovider.c:
6786 * gst/net/gstnettimeprovider.h:
6789 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
6791 * configure.ac: back to HEAD
6793 === release 0.9.6 ===
6795 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
6798 releasing 0.9.6, "Always On Time"
6800 2005-11-23 Wim Taymans <wim@fluendo.com>
6802 * docs/gst/gstreamer-sections.txt:
6803 * gst/glib-compat.c:
6804 * gst/gsttagsetter.c:
6806 * gst/net/gstnetclientclock.c:
6807 * gst/net/gstnettimepacket.h:
6810 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
6812 * docs/faq/using.xml:
6813 * docs/libs/tmpl/gstcontrol.sgml:
6814 * docs/manual/advanced-dparams.xml:
6815 * docs/manual/appendix-checklist.xml:
6816 * docs/manual/basics-elements.xml:
6817 * docs/pwg/other-source.xml:
6818 * docs/random/moving-plugins:
6820 * tools/gst-launch.1.in:
6821 remove mentions of sinesrc
6823 2005-11-23 Michael Smith <msmith@fluendo.com>
6825 * docs/gst/gstreamer-sections.txt:
6826 Update for new API and API changes.
6828 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
6830 Documentation typo fix.
6831 * gst/net/gstnettimepacket.c:
6832 Documentation fixes for arguments.
6834 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
6836 * gst/gststructure.c: (gst_structure_get_fraction),
6837 (gst_structure_parse_value),
6838 (gst_structure_fixate_field_nearest_fraction):
6839 * gst/gststructure.h:
6840 * gst/gstutils.c: (gst_util_uint64_scale_int):
6842 * scripts/update-funcnames:
6844 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
6845 Make gst_structure_fixate_field_nearest_fraction take a numerator
6846 and denominator argument instead of a GValue
6847 add gst_structure_get_fraction helper function.
6849 2005-11-23 Wim Taymans <wim@fluendo.com>
6851 * docs/design/part-TODO.txt:
6854 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6855 * gst/net/gstnetclientclock.h:
6856 Use parent fields for timeout and window_size.
6858 2005-11-23 Andy Wingo <wingo@pobox.com>
6860 * check/net/gstnetclientclock.c (test_functioning): Adjust to
6861 rate_num/rate_denom change.
6863 * gst/net/gstnetclientclock.c
6864 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
6865 OBJECT_LOCK. Don't call add_observation with the lock.
6867 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
6869 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
6871 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
6872 deal with rate as a fraction whose numerator and denominator are
6873 GstClockTime values.
6874 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
6875 master; the other fields are protected by the SLAVE_LOCK.
6876 (do_linear_regression): Note that this must be called with the
6878 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
6879 OBJECT_LOCK. Call set_calibration instead of touching the
6881 (gst_clock_set_property, gst_clock_get_property): Protect
6882 master/slave parameters with the SLAVE_LOCK.
6884 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
6885 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
6886 note that all of the instance variables that add_observation and
6887 the set_master functions use are protected by that lock and not
6889 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
6891 * gst/gstclock.c (gst_clock_add_observation): No longer requires
6892 the caller to take the object lock.
6894 2005-11-23 Wim Taymans <wim@fluendo.com>
6896 * gst/gsterror.c: (_gst_core_errors_init):
6898 Add error for clock stuff.
6900 * gst/gstpipeline.c: (gst_pipeline_change_state),
6901 (gst_pipeline_set_clock):
6902 Post clock error when clock cannot be used in a pipeline.
6904 2005-11-23 Stefan Kost <ensonic@users.sf.net>
6906 * docs/gst/gstreamer-sections.txt:
6907 make two symbols from gstinfo private for the docs
6908 * gst/base/gstcollectpads.h:
6910 fix doc typos, update docs
6912 2005-11-22 Wim Taymans <wim@fluendo.com>
6914 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6915 (gst_base_sink_wait), (gst_base_sink_do_sync),
6916 (gst_base_sink_handle_event):
6917 * gst/base/gstbasesink.h:
6918 No need to store the clock, the parent element class already
6921 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
6922 Updates for clock_set returning a gboolean
6924 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
6925 (gst_clock_id_wait_async), (gst_clock_class_init),
6926 (gst_clock_init), (gst_clock_finalize),
6927 (gst_clock_get_internal_time), (gst_clock_get_time),
6928 (gst_clock_slave_callback), (gst_clock_set_master),
6929 (gst_clock_get_master), (do_linear_regression),
6930 (gst_clock_add_observation), (gst_clock_set_property),
6931 (gst_clock_get_property):
6933 Implement master/slave. When setting a clock as a slave, a
6934 periodic timeout is scheduled to sample master and slave times.
6935 Then the slave clock is recalibrated to match offset and rate
6936 of the master clock.
6937 Update logging a bit.
6938 Add flag so that a clock can state that is cannot be slaved to
6941 * gst/gstelement.c: (gst_element_set_clock):
6943 The set clock returns a gboolean for when an element cannot
6944 deal with the selected clock in the pipeline.
6946 * gst/gstpipeline.c: (gst_pipeline_change_state),
6947 (gst_pipeline_set_clock):
6948 * gst/gstpipeline.h:
6949 Handle the case where the selected clock cannot be set on
6952 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
6953 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6954 (gst_net_client_clock_set_property),
6955 (gst_net_client_clock_get_property),
6956 (gst_net_client_clock_observe_times):
6957 * gst/net/gstnetclientclock.h:
6958 Use regression code in GstClock parent, remove duplicated
6961 2005-11-22 Michael Smith <msmith@fluendo.com>
6963 * gst/gstutils.c: (gst_util_clock_time_scale):
6965 * docs/gst/gstreamer-sections.txt:
6966 Rename method to have extra underscore.
6968 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
6970 * gst/elements/Makefile.am:
6971 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
6972 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6973 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6974 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
6975 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
6976 * gst/elements/gstfakesrc.h:
6977 * gst/gstqueue.c: (queue_leaky_get_type):
6978 correctly fix GEnumValues so that nick is the short lowercase
6980 * tools/gst-inspect.c: (print_element_properties_info):
6981 also show the nick, since it's useful to use from parse_launch
6985 2005-11-22 Michael Smith <msmith@fluendo.com>
6987 * gst/gstutils.c: (gst_util_clocktime_scale):
6989 * docs/gst/gstreamer-sections.txt:
6990 Add util method for scaling a clocktime by a fraction. Useful
6991 implementation is left as an exercise for the reader.
6993 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6995 * gst/gstvalue.c: (gst_value_collect_fraction_range):
6996 If needed, allocate storage in the destination value during
6999 2005-11-22 Edward Hervey <edward@fluendo.com>
7001 * docs/gst/gstreamer-sections.txt:
7006 * gst/gstutils.c: (gst_util_set_object_arg):
7007 * tools/gst-compprep.c: (main):
7008 * tools/gst-inspect.c: (print_element_properties_info):
7009 Removed GstURI, closes bug #321061
7011 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7013 * check/gst/gststructure.c: (GST_START_TEST):
7014 * gst/gststructure.c: (gst_structure_parse_value):
7015 Oops, broke automatic string type parsing.
7016 Add a test to catch it in future.
7018 2005-11-22 Andy Wingo <wingo@pobox.com>
7020 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
7021 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
7022 Actually rename the function implementations. Grr.
7024 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7026 * check/gst/capslist.h:
7028 * check/gst/gststructure.c: (GST_START_TEST),
7029 (gst_structure_suite):
7030 Test automatic value type detection in gst_structure_from_string.
7031 * gst/gststructure.c: (gst_structure_parse_value):
7032 Add fraction as a type we try and guess automatically in
7033 caps/structure strings.
7035 2005-11-22 Andy Wingo <wingo@pobox.com>
7037 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
7039 * gst/gsttagsetter.h:
7040 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
7041 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
7042 (gst_tag_setter_add_tag_valist)
7043 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
7044 _add_values, _add_valist, and _add_valist_values. Since this is an
7045 interface the function suffixes should be more explicit so
7046 language binding don't end up with element.add_valist ->
7047 gst_tag_setter_add_valist, for example. Fixes #322069.
7049 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7051 * check/gst/gstcaps.c: (GST_START_TEST):
7052 Extend caps string tests to check that a caps to string
7053 conversion is reversible and produces the same caps.
7055 * gst/gststructure.c: (gst_structure_value_get_generic_type):
7056 Output "fraction" as the generic type fraction range, so caps
7057 serialisation and deserialisation works.
7058 * check/gst/capslist.h:
7059 * gst/gstvalue.c: (gst_value_deserialize_fraction):
7060 Support 'MIN' and 'MAX' for deserialising fractions.
7062 2005-11-22 Andy Wingo <wingo@pobox.com>
7064 * gst/gstevent.h (gst_event_new_new_segment)
7065 (gst_event_parse_new_segment, gst_event_new_buffer_size)
7066 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
7067 Renamed from *_newsegment, *_buffersize, *_notarget.
7069 * scripts/update-funcnames: New script, performs the changes
7072 2005-11-22 Wim Taymans <wim@fluendo.com>
7074 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7075 Make sure the GstFlowReturn is returned.
7077 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
7078 (gst_bus_add_signal_watch):
7080 add gst_bus_add_signal_watch_full.
7082 * gst/gstplugin.c: (gst_plugin_load_file):
7083 Small style cleanup.
7085 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7087 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
7088 Block the fakesrc srcpad when we send an event, to avoid
7089 contention on the stream_lock causing random test failures.
7091 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7093 * check/gst/gstvalue.c: (GST_START_TEST):
7094 * gst/gstvalue.c: (gst_value_fraction_subtract):
7097 2005-11-22 Stefan Kost <ensonic@users.sf.net>
7100 include "gstchildproxy.h"
7101 * gst/gstchildproxy.h:
7102 * libs/gst/controller/gstcontroller.h:
7103 use G_GNUC_NULL_TERMINATED
7105 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7107 * check/gst/capslist.h:
7108 * check/gst/gstcaps.c: (GST_START_TEST):
7109 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7110 * gst/gststructure.c: (gst_structure_parse_range),
7111 (gst_structure_fixate_field_nearest_fraction):
7112 * gst/gststructure.h:
7113 * gst/gstvalue.c: (gst_value_init_fraction_range),
7114 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
7115 (gst_value_collect_fraction_range),
7116 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
7117 (gst_value_set_fraction_range_full),
7118 (gst_value_get_fraction_range_min),
7119 (gst_value_get_fraction_range_max),
7120 (gst_value_serialize_fraction_range),
7121 (gst_value_transform_fraction_range_string),
7122 (gst_value_compare_fraction_range),
7123 (gst_value_deserialize_fraction_range),
7124 (gst_value_intersect_fraction_fraction_range),
7125 (gst_value_intersect_fraction_range_fraction_range),
7126 (gst_value_subtract_fraction_fraction_range),
7127 (gst_value_subtract_fraction_range_fraction),
7128 (gst_value_subtract_fraction_range_fraction_range),
7129 (gst_value_collect_fraction), (gst_value_fraction_multiply),
7130 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
7131 (gst_value_transform_string_fraction), (_gst_value_initialize):
7133 Implement fraction ranges and extend GstFraction to support
7134 arithmetic subtraction, as well as deserialization from integer
7135 strings such as "100"
7136 Add a testsuite as for int and double range set operations
7138 2005-11-21 Andy Wingo <wingo@pobox.com>
7142 * gst/gststructure.h: Add glib-compat.h.
7144 2005-11-21 Wim Taymans <wim@fluendo.com>
7146 * gst/gstbin.c: (gst_bin_change_state_func):
7149 2005-11-21 Wim Taymans <wim@fluendo.com>
7152 And add a nice define too.
7154 2005-11-21 Wim Taymans <wim@fluendo.com>
7156 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
7157 (gst_segment_new), (gst_segment_free), (gst_segment_init),
7158 (gst_segment_set_duration), (gst_segment_set_last_stop),
7159 (gst_segment_set_seek), (gst_segment_set_newsegment),
7160 (gst_segment_to_stream_time), (gst_segment_to_running_time),
7163 Make binding friendly.
7165 2005-11-21 Andy Wingo <wingo@pobox.com>
7167 * gst/gsttagsetter.h:
7169 * gst/gststructure.h:
7171 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
7174 * gst/gsterror.c (_gst_core_errors_init):
7175 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
7178 * gst/Makefile.am (gst_headers): Add glib-compat.h.
7179 (noinst_HEADERS): noinst the -private.
7181 2005-11-21 Michael Smith <msmith@fluendo.com>
7184 * gst/gstregistry.h:
7185 Remove unimplemented declarations for which we can see no sensible
7188 2005-11-21 Andy Wingo <wingo@pobox.com>
7190 * gst/gst.h: Include glib-compat.h.
7192 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
7194 * gst/glib-compat.c: Include the public and the private header.
7196 * gst/glib-compat-private.h: Copied here from glib-compat.h.
7200 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
7202 * check/gst/gstevent.c (create_custom_events): Check that
7203 FLUSH_STOP is serialized.
7205 * check/elements/identity.c (event_func):
7206 * check/elements/fakesrc.c (event_func): No stream lock, the core
7209 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
7210 stream lock taking, yay.
7212 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
7213 ensure that core takes the stream lock.
7215 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
7218 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
7219 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
7220 it already. For the flush start we do take it though so we get the
7221 right preroll state change messages.
7223 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
7224 the stream lock here, the core does it for us.
7226 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
7227 GST_STREAM_GET_LOCK.
7228 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
7229 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
7230 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
7231 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
7232 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
7233 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
7235 * gst/gstpad.c: Update for stream lock name change.
7237 * gst/base/gstbasesink.c: Update for preroll lock name change.
7239 2005-11-21 Wim Taymans <wim@fluendo.com>
7241 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
7242 (gst_clock_get_master):
7244 * gst/gstsystemclock.c: (gst_system_clock_init):
7245 Convert Clock flags to object flags.
7246 Added methods to manage master/slave clocks.
7248 2005-11-21 Wim Taymans <wim@fluendo.com>
7250 * check/gst/gstsegment.c: (GST_START_TEST):
7251 * docs/design/part-TODO.txt:
7252 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7253 (gst_base_sink_event), (gst_base_sink_do_sync),
7254 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
7255 (gst_base_sink_query), (gst_base_sink_change_state):
7256 * gst/base/gstbasesink.h:
7257 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
7258 (gst_base_src_default_newsegment),
7259 (gst_base_src_configure_segment), (gst_base_src_do_seek),
7260 (gst_base_src_get_range), (gst_base_src_loop),
7261 (gst_base_src_change_state):
7262 * gst/base/gstbasesrc.h:
7263 * gst/base/gstbasetransform.c:
7264 (gst_base_transform_prepare_output_buf),
7265 (gst_base_transform_event), (gst_base_transform_change_state):
7266 * gst/base/gstbasetransform.h:
7267 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
7268 (gst_collect_pads_event):
7269 * gst/base/gstcollectpads.h:
7270 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
7271 (gst_fake_src_create):
7272 * gst/elements/gstfakesrc.h:
7273 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7274 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
7275 (gst_segment_set_last_stop), (gst_segment_set_seek),
7276 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
7277 (gst_segment_to_running_time), (gst_segment_clip):
7279 More segment updates, replace code in plugins with segment
7282 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
7284 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
7285 Don't ignore sscanf results
7287 2005-11-21 Andy Wingo <wingo@pobox.com>
7289 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
7292 * *.c: Ran scripts/update-macros. Oh yes.
7294 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
7295 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
7298 * scripts/update-macros: New script. Run it on your files to
7299 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
7302 2005-11-21 Stefan Kost <ensonic@users.sf.net>
7304 * docs/gst/Makefile.am:
7305 * docs/gst/gstreamer-docs.sgml:
7306 * docs/gst/gstreamer-sections.txt:
7307 * docs/gst/gstreamer.types:
7309 more docs fixes, add new api to the docs
7311 2005-11-21 Andy Wingo <wingo@pobox.com>
7313 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
7314 state_broadcast call.
7316 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
7318 2005-11-21 Julien MOUTTE <julien@moutte.net>
7320 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
7321 function calls for arrays.
7323 2005-11-21 Stefan Kost <ensonic@users.sf.net>
7325 * docs/random/ensonic/media-device-daemon.txt:
7326 wild idea, can this be done?
7327 * docs/gst/gstreamer-sections.txt:
7332 * gst/gstpluginfeature.c:
7336 doc fixes and additions
7338 2005-11-21 Andy Wingo <wingo@pobox.com>
7340 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
7341 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
7342 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
7343 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
7344 private to the basesrc implementation.
7346 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
7347 behalf of event function if necessary. It should no longer be
7348 necessary to take the stream lock in pad's event functions. Fixes
7351 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
7352 * docs/gst/gstreamer-sections.txt:
7353 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
7354 (gst_structure_fixate_field_nearest_double),
7355 (gst_structure_fixate_field_boolean):
7356 * gst/gststructure.h:
7357 * win32/common/libgstreamer.def:
7358 * win32/gstreamer.def:
7360 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
7363 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
7365 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
7366 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
7367 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
7368 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
7369 (gst_fdsrc_uri_handler_init):
7370 * gst/elements/gstfdsrc.h:
7371 Port fd:// URI handler from 0.8 to fdsrc
7373 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
7375 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
7376 (gst_value_serialize_fourcc):
7378 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
7379 consistent with our other format defines (#320324).
7381 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
7383 * gst/gstvalue.c: (gst_value_is_fixed):
7384 Revert previous commit. Value lists are by definition
7385 not fixed, as they are a list of possible values.
7387 2005-11-21 Andy Wingo <wingo@pobox.com>
7389 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
7390 during the stable series if we need it. Fixes #319178.
7392 * gst/gstevent.c (gst_event_new_filler): Removed.
7394 * check/gst/gstevent.c: Update comment about filler events.
7396 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
7398 * gst/gstvalue.c: (gst_value_is_fixed):
7399 Should handle both value arrays and value lists.
7401 2005-11-21 Andy Wingo <wingo@pobox.com>
7403 patch by: Alessandro Dessina <alessandro nnva org>
7405 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
7406 functions to access arrays. Fixes #321962.
7408 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
7410 * docs/gst/gstreamer.types:
7411 gst_collectpads_get_type => gst_collect_pads_get_type.
7413 * gst/base/gstbasetransform.c:
7414 Remove unused SIGNAL_HANDOFF enum.
7416 2005-11-21 Andy Wingo <wingo@pobox.com>
7418 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
7419 the event type (upstream, downstream, serialized). Renamed
7420 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
7421 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
7422 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
7424 * gst/gstevent.c: Update for new CUSTOM event names.
7426 * check/gst/gstevent.c: Update check for new CUSTOM event names.
7429 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
7432 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
7434 * docs/gst/gstreamer-sections.txt:
7435 * win32/common/libgstbase.def:
7436 * win32/libgstbase.def:
7437 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
7438 (gst_collect_pads_class_init), (gst_collect_pads_init),
7439 (gst_collect_pads_finalize), (gst_collect_pads_new),
7440 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
7441 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
7442 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
7443 (gst_collect_pads_start), (gst_collect_pads_stop),
7444 (gst_collect_pads_peek), (gst_collect_pads_pop),
7445 (gst_collect_pads_available), (gst_collect_pads_read),
7446 (gst_collect_pads_flush), (gst_collect_pads_event),
7447 (gst_collect_pads_chain):
7448 * gst/base/gstcollectpads.h:
7449 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
7450 unimplemented functions as unimplemented. Add padding to
7451 GstCollectData. (#320766, #320423)
7453 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
7456 Improve docs for DURATION message (usage of duration parameter)
7459 2005-11-20 Wim Taymans <wim@fluendo.com>
7461 * check/Makefile.am:
7462 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
7466 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
7467 (gst_segment_set_seek), (gst_segment_set_newsegment),
7468 (gst_segment_to_stream_time), (gst_segment_to_running_time),
7471 Added segment helper structure and methods. Not fully implemented
7473 Added segment check.
7475 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
7477 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7478 Add a deserialisation test for fractions
7479 * examples/metadata/read-metadata.c: (message_loop),
7480 (make_pipeline), (main):
7481 Fix up metadata reading sample.
7482 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7484 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7485 Don't try and fixate empty caps
7486 * gst/gst_private.h:
7487 Wrap in G_BEGIN_DECLS/G_END_DECLS
7488 * gst/gstvalue.c: (gst_value_collect_fraction),
7489 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
7490 (gst_value_transform_string_fraction),
7491 (gst_value_compare_fraction):
7492 Add some extra guards to ensure that we don't end up
7493 with an invalid denominator of 0 in a gstfraction and
7494 that fractions always get reduced.
7496 2005-11-20 Wim Taymans <wim@fluendo.com>
7498 * docs/gst/gstreamer-sections.txt:
7509 2005-11-20 Wim Taymans <wim@fluendo.com>
7511 * docs/design/part-TODO.txt:
7513 Make a proper enum of the flag.
7515 2005-11-19 Wim Taymans <wim@fluendo.com>
7517 * docs/design/part-TODO.txt:
7518 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
7519 (gst_format_to_quark), (gst_format_register):
7521 * gst/gstquery.c: (_gst_query_initialize),
7522 (gst_query_type_get_name), (gst_query_type_to_quark),
7523 (gst_query_type_register):
7525 Add type to quark and type to string conversions.
7527 2005-11-19 Andy Wingo <wingo@pobox.com>
7529 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
7532 2005-11-19 Wim Taymans <wim@fluendo.com>
7534 * docs/design/part-TODO.txt:
7535 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
7536 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
7537 (gst_bin_handle_message_func):
7539 Make message handling overridable.
7541 2005-11-19 Andy Wingo <wingo@pobox.com>
7543 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
7546 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
7548 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
7549 is a GstClockTime. Fixes #321710.
7551 * gst/gstclock.h (GstClock): Remove offset property. Add
7552 internal_calibration and external_calibration. Fix padding. Pad
7553 also by GstClockTime so we don't run into problems.
7555 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
7556 (gst_clock_get_rate_offset): Remove.
7557 (gst_clock_set_time_adjust): Remove. Fixes #321712.
7560 * gst/gstutils.c (g_static_rec_cond_wait)
7561 (g_static_rec_cond_timed_wait): Removed, no longer needed.
7563 * gst/gstbin.c: Remove terrible continue_state prototype.
7565 * gst/gstelement.h (gst_element_continue_state): Make public.
7568 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
7569 by continue_state. Fixes #319389.
7571 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
7572 Really fixes #168438. However I don't see anywhere where the
7573 filter function is called... stupid GStreamer...
7575 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
7576 don't have a dispose function, so it won't get called when the
7577 object is unreffed, but oh well!
7579 * gst/gstindex.c (gst_index_set_filter_full): New API function,
7580 allows a destroy function to be set so user_data can be freed.
7582 (gst_index_set_filter): Call gst_index_set_filter_full.
7584 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
7586 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
7587 string should produce an error, given the lack of a way to
7588 represent NULL strings. Fixes #165650.
7591 * gst/gstvalue.c (gst_value_array_append_value)
7592 (gst_value_array_prepend_value, gst_value_array_get_size)
7593 (gst_value_array_get_value): New API, copied from
7594 gst_value_list_*, only operates on arrays.
7595 (gst_value_list_append_value, gst_value_list_prepend_value)
7596 (gst_value_list_concat, gst_value_list_get_size)
7597 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
7599 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
7600 init_list, because it works on both.
7601 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
7602 (gst_value_copy_list_or_array): Renamed from copy_list.
7603 (gst_value_free_list_or_array): Renamed from free_list.
7604 (gst_value_collect_list_or_array): Renamed from collect_list.
7605 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
7606 (gst_value_list_or_array_peek_pointer): Renamed from
7608 (_gst_value_array_value_table, _gst_value_list_value_table):
7609 Update value table functions.
7610 (gst_value_compare_list_or_array): Renamed from compare_list.
7612 * gsttaglist.h: Whoops, foreach function returns void. Also fix
7616 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
7617 GstTagList*. Fixes #143472.
7619 * gst/gststructure.h: Clarify what the foreach/map functions can
7620 or can't do to their arguments.
7622 2005-11-18 Wim Taymans <wim@fluendo.com>
7624 * gst/gstclock.c: (gst_clock_set_calibration),
7625 (gst_clock_get_calibration):
7627 Calibration can be set with internal time equal to current
7630 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
7636 2005-11-18 Andy Wingo <wingo@pobox.com>
7639 * pkgconfig/gstreamer-net.pc.in:
7640 * pkgconfig/gstreamer-net-uninstalled.pc.in:
7641 * pkgconfig/Makefile.am: Add net pkgconfig files.
7643 2005-11-18 Stefan Kost <ensonic@users.sf.net>
7646 * gst/gstghostpad.c:
7652 2005-11-18 Andy Wingo <wingo@pobox.com>
7654 * gst/net/gstnetclientclock.c: Turn off debugging.
7656 * check/net/gstnetclientclock.c (test_functioning): Assert that the
7657 times connverge somewhat. Can't make a real test.
7659 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
7660 integer arithmetic. Return the minimum of the domain, which can be
7661 set as "internal" for gst_clock_set_calibration.
7662 (gst_net_client_clock_observe_times): Call _set_calibration.
7663 (gst_net_client_clock_new): Call _set_calibration instead of
7666 * check/net/gstnetclientclock.c (test_functioning): Use the right
7670 * gst/gstclock.c (gst_clock_get_calibration)
7671 (gst_clock_set_calibration): New functions, obsolete the ones I
7672 added yesterday. Doh. Precision issues mean we have to extrapolate
7673 from a point in the more recent past than 1970.
7674 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
7676 (gst_clock_adjust_unlocked): Use the right calibration data.
7678 2005-11-18 Edward Hervey <edward@fluendo.com>
7680 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
7681 Also reset the ->current_* values in READY->PAUSED
7683 2005-11-18 Andy Wingo <wingo@pobox.com>
7685 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
7686 Whoops, check the right fd. Also add some debugging.
7687 (gst_net_client_clock_observe_times): Adjust for int64 offset.
7688 (do_linear_regression): Add a crapload of debugging. Subtract off
7689 the minimum values from the input series to discard unneeded bits.
7690 Use only int arithmetic. There is still double arithmetic when
7691 calculating the intercept that needs fixing. Return boolean to
7692 indicate success; FALSE would mean the domain or range is too
7693 great. Still needs fixes.
7695 2005-11-18 Wim Taymans <wim@fluendo.com>
7697 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
7698 For the current position in stream time, we need to subtract
7701 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
7702 Release lock before calling the callback function of async
7705 2005-11-18 Andy Wingo <wingo@pobox.com>
7707 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
7708 Port goes all the way to MAXUINT16.
7710 * gst/net/gstnettimeprovider.c: Make the port range the same as
7711 for the kernel: 0 assigns, otherwise ports are less than
7714 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
7717 * check/net/gstnetclientclock.c (test_functioning): Add the start
7720 2005-11-18 Wim Taymans <wim@fluendo.com>
7722 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
7723 (gst_bin_remove_func), (bin_bus_handler):
7725 Removing a clock provider from a bin, triggers a clock lost message
7726 so that a new clock will be selected.
7727 Adding a clock to a bin triggers a clock provider message.
7728 Make sure we reselect a clock when we received a clock lost message.
7729 Keep a reference to the element that provided the clock.
7731 2005-11-18 Andy Wingo <wingo@pobox.com>
7733 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
7734 the clock initially so it produces values around the base time.
7735 (gst_net_client_clock_class_init): Typo fix.
7736 (gst_net_client_clock_thread): Add note on when the socket gets
7739 2005-11-17 Wim Taymans <wim@fluendo.com>
7741 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
7742 Free remote and local time arrays.
7744 2005-11-17 Wim Taymans <wim@fluendo.com>
7746 * gst/net/gstnetclientclock.c: (do_linear_regression),
7747 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
7748 Fix compilation, uninitialized vars and a forgotten continue.
7750 2005-11-17 Andy Wingo <wingo@pobox.com>
7752 * check/Makefile.am (check_PROGRAMS):
7753 * check/net/gstnetclientclock.c: Add a most minimal test for the
7754 net client clock. More to come later.
7757 * gst/net/Makefile.am: Add netclientclock.
7759 * gst/net/gstnetclientclock.h:
7760 * gst/net/gstnetclientclock.c: New files, implement an untested
7761 GstClock that takes its time from a network time provider.
7762 Implements the algorithm in network-clock.scm.
7764 * tests/network-clock.scm (*window-size*): Rename from
7766 * tests/network-clock.scm (network-time):
7767 * tests/network-clock-utils.scm (q-push): Update callers.
7769 2005-11-17 Wim Taymans <wim@fluendo.com>
7771 * gst/gstbin.c: (gst_bin_provide_clock_func),
7772 (gst_bin_sort_iterator_new):
7773 And unref the child too..
7775 2005-11-17 Wim Taymans <wim@fluendo.com>
7777 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7778 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
7779 Refactor the sort iterator so it can be used while holding the
7781 Make clock selection select a clock closest to the source.
7783 2005-11-17 Michael Smith <msmith@fluendo.com>
7785 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
7786 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
7788 Anonymous structs are a gcc (and some other compilers) extension, so
7789 don't use them. Since this is only for ABI-compatibility, and our
7790 API/ABI freeze is over in a few days, this whole thing will only
7791 last a few days, so don't bother trying to think up a meaningful
7792 name for the struct.
7794 2005-11-17 Andy Wingo <wingo@pobox.com>
7796 * gst/gstclock.h (GstClock): Add rate and offset properties,
7797 preserving ABI stability. Add rate/offset accessors. Will file bug
7798 for the freeze break.
7800 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
7801 and offset, trying to keep precision and avoiding
7803 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
7804 functions. Make gst_clock_set_time_adjust obsolete.
7805 (gst_clock_set_time_adjust): Note that this function is obsolete.
7808 * gst/base/gstbasetransform.h: Make the ABI-stability hack
7809 greppable by using GST_PADDING-1+1.
7811 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
7813 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7815 * gst/gstmessage.c: (gst_message_parse_clock_lost):
7816 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
7818 * gst/gstpadtemplate.h:
7819 * gst/gstpluginfeature.h:
7820 Don't use c++ style comments in headers (#321638).
7822 2005-11-16 Andy Wingo <wingo@pobox.com>
7824 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
7827 * check/net/gstnettimeprovider.c: Check to see that the time
7828 provider actually provides times. Works, yo!
7830 2005-11-16 Wim Taymans <wim@fluendo.com>
7832 * check/Makefile.am:
7835 * check/elements/fakesrc.c: (GST_START_TEST):
7836 Set element to NULL before disposing it.
7838 2005-11-16 Andy Wingo <wingo@pobox.com>
7840 * gst/net/Makefile.am:
7842 * gst/net/gstnettimeprovider.c:
7843 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
7844 provider, include it from gstnet.h, and add it to the build.
7846 * gst/net/gstnettimepacket.h:
7847 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
7848 sending and receiving.
7850 2005-11-16 Wim Taymans <wim@fluendo.com>
7852 * check/Makefile.am:
7853 Enable valgrind check.
7855 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
7856 (gst_fake_src_alloc_buffer):
7859 2005-11-16 Wim Taymans <wim@fluendo.com>
7861 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
7862 Call parent finalize too.
7864 2005-11-16 Wim Taymans <wim@fluendo.com>
7866 * check/Makefile.am:
7867 Enable valgrind check that should work fine now.
7869 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7870 * gst/gstqueue.c: (gst_queue_init):
7871 Fix memleaks in pad allocation.
7873 2005-11-16 Andy Wingo <wingo@pobox.com>
7875 * gst/net/Makefile.am:
7876 * gst/net/gstnet.h: New part of core to hold network elements and
7877 objects. Put in core because it exposes API that applications want
7878 to use. The library is named libgstnet-tempname right now because
7879 of the existing libgstnet in gst-plugins-base. Solution is
7880 probably to rename the one in plugins-base; will file a bug for
7883 * gst/net/gstnettimeprovider.c:
7884 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
7885 get_time call over the network.
7888 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
7890 * check/Makefile.am:
7891 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
7892 get additions shortly.
7894 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7896 * gst/gstpad.c: (gst_pad_new_from_static_template):
7898 add gst_pad_new_from_static_template functions
7899 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
7900 (gst_check_setup_sink_pad):
7901 * gst/elements/gsttee.c: (gst_tee_init):
7904 2005-11-16 Wim Taymans <wim@fluendo.com>
7906 * gst/gstpad.c: (gst_pad_pause_task):
7907 Removed warning, it's not really an error either.
7909 2005-11-16 Wim Taymans <wim@fluendo.com>
7911 * gst/base/gstbasetransform.c:
7912 (gst_base_transform_prepare_output_buf),
7913 (gst_base_transform_event):
7914 Check if the caps are NULL, this can happen if the element
7915 is shutting down and the pad caps are set to NULL.
7917 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7919 * gst/elements/gsttee.c: (gst_tee_init):
7920 fix pad template leak in tee
7922 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7924 * gst/glib-compat.c: (g_value_dup_gst_object):
7925 * gst/glib-compat.h:
7926 * gst/gstpad.c: (gst_pad_set_property):
7927 use gst_object_ref when setting the pad template; this will
7928 trigger the pad template leaks on GLib 2.6 and the slaves
7930 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7932 * gst/glib-compat.c: (gst_flags_get_first_value):
7933 * gst/glib-compat.h:
7934 * gst/gstregistryxml.c:
7935 remove functions copied from GLib 2.6
7937 2005-11-16 Michael Smith <msmith@fluendo.com>
7940 Don't link against VALGRIND_LIBS. That was always the wrong thing to
7941 do, but only breaks with newer valgrind versions. We're not a
7942 valgrind tool, we have no link-time dependencies on libcoregrind.
7944 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7946 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7951 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7953 * gst/base/gstbasesrc.c: (gst_base_src_init):
7954 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7955 * gst/gstqueue.c: (gst_queue_init):
7956 * gst/gstregistryxml.c: (load_feature):
7957 Revert all these unrefs, they don't even pass make check !
7959 2005-11-15 Johan Dahlin <johan@gnome.org>
7961 * gst/base/gstbasesrc.c: (gst_base_src_init):
7962 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7963 * gst/gstqueue.c: (gst_queue_init):
7964 Free pad templates, fixes a couple of leaks.
7966 2005-11-15 Daniel Fischer <dan at f3c dot com>
7968 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7970 * gst/gstpad.c: (gst_pad_get_property):
7971 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
7972 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
7975 2005-11-15 Wim Taymans <wim@fluendo.com>
7980 2005-11-15 Andy Wingo <wingo@pobox.com>
7982 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
7984 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
7985 using GST_CLOCK_TIME_NONE to disable base time management.
7986 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
7987 time if it was NONE before.
7988 (gst_pipeline_change_state): Only munge the base time if
7989 stream_time != GST_CLOCK_TIME_NONE.
7991 * check/gst/gstpipeline.c (test_base_time): Punt around the
7992 problem of the probe not being called, because that's not the
7993 issue I'm looking at. Add a check that setting stream_time to NONE
7994 disables base time management.
7996 2005-11-15 Wim Taymans <wim@fluendo.com>
7998 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
7999 segment_stop == -1 at startup.
8001 * gst/base/gstbasetransform.c: (gst_base_transform_event),
8002 (gst_base_transform_change_state):
8003 Init segment values at start.
8005 2005-11-15 Wim Taymans <wim@fluendo.com>
8007 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8008 0 segment values are 0 in any format.
8010 * gst/base/gstbasetransform.c: (gst_base_transform_event):
8011 * gst/base/gstbasetransform.h:
8012 Parse newsegment correctly in basetransform
8014 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8015 Sync to clock using updated segment values.
8017 2005-11-15 Andy Wingo <wingo@pobox.com>
8019 * check/gst/gstpipeline.c (test_base_time): Add check that the
8020 base time and stream time are reset correctly.
8022 2005-11-15 Wim Taymans <wim@fluendo.com>
8024 * docs/design/part-TODO.txt:
8025 Some more TODO items.
8027 2005-11-15 Andy Wingo <wingo@pobox.com>
8029 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
8030 error if the user selected "no clock" as the clocking method.
8032 * check/gst/gstpipeline.c (test_base_time): New test for buffer
8033 timestamps with live capture.
8035 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
8036 is 0 but we are a live source, timestamp the buffers using the
8039 2005-11-14 Stefan Kost <ensonic@users.sf.net>
8041 * docs/gst/gstreamer-sections.txt:
8043 * gst/gstghostpad.c:
8048 2005-11-14 Wim Taymans <wim@fluendo.com>
8051 add suppressions from Wim's Debian machine
8053 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
8056 add suppressions from Andy's AMD64 Ubuntu machine
8058 2005-11-14 Andy Wingo <wingo@pobox.com>
8060 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
8061 STATE_LOCK not necessary. Fixes #311489.
8063 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
8066 * gst/gstindex.c (gst_index_add_object): Note in the docs that
8067 this function is not implemented.
8069 2005-11-14 Julien MOUTTE <julien@moutte.net>
8071 * gst/base/gstbasetransform.c:
8072 (gst_base_transform_prepare_output_buf):
8073 Ref the source pad caps while we need them.
8076 2005-11-11 Wim Taymans <wim@fluendo.com>
8078 * docs/gst/gstreamer-sections.txt:
8079 Added some docs for GstCollectData.
8081 * gst/base/gstadapter.c:
8082 Some small code example fix.
8084 * gst/base/gstcollectpads.c:
8085 * gst/base/gstcollectpads.h:
8088 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
8090 * configure.ac: back to HEAD
8092 === release 0.9.5 ===
8094 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
8097 releasing 0.9.5, "Bike Lunch Day"
8099 2005-11-11 Wim Taymans <wim@fluendo.com>
8101 * gst/gstbuffer.c: (_gst_buffer_copy):
8104 * gst/gstcaps.c: (gst_caps_is_equal):
8106 Make _is_equal fast in the trivial cases.
8108 * gst/gstminiobject.c:
8109 * gst/gstminiobject.h:
8110 More docs. Spifify .h file.
8115 2005-11-11 Wim Taymans <wim@fluendo.com>
8117 * gst/base/gstbasetransform.c:
8118 (gst_base_transform_prepare_output_buf),
8119 (gst_base_transform_handle_buffer):
8121 If we're processing a buffer and need to allocate an output
8122 buffer, we cannot accept a format change. If we did get a
8123 format change, we have to alloc a buffer ourselves of the
8126 2005-11-11 Wim Taymans <wim@fluendo.com>
8128 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
8129 While checking the flag for reentrancy in the gstcaps function
8130 is nice to detect recursive invocations, it also makes it
8131 impossible to call getcaps from multiple threads, which must be
8132 possible. So, checking for recursive calls has to go.
8134 2005-11-11 Michael Smith <msmith@fluendo.com>
8136 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8137 Don't sync on buffers that fall partially outside our current
8138 segment. Prevents an assertion failure/abort playing some files.
8140 2005-11-10 Andy Wingo <wingo@pobox.com>
8142 * check/gst/gstbin.c (test_message_state_changed_children): Style
8145 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
8146 gst_bus_poll with the signal watch. Ensures that poll and a signal
8147 watch see the same messages.
8149 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
8150 a poll and a watch at the same time get the same messages.
8152 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
8154 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
8155 * gst/gstcaps.c: (gst_caps_intersect):
8156 Don't call gst_caps_do_simplify - it doesn't respect order of caps
8157 and it's not needed.
8159 2005-11-10 Wim Taymans <wim@fluendo.com>
8161 * docs/design/part-TODO.txt:
8164 2005-11-10 Wim Taymans <wim@fluendo.com>
8166 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8167 * gst/base/gstbasesrc.c: (gst_base_src_wait),
8168 (gst_base_src_do_sync), (gst_base_src_get_range):
8169 Implement clock sync in base class.
8171 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
8173 patch by: Tim-Philipp Müller <tim at centricular dot net>
8175 * gst/gststructure.c: (gst_structure_parse_field),
8176 (gst_structure_from_string):
8177 Forward-port a 0.8 patch to handle escaped spaces in structure string,
8178 so that gst_parse_launch() can deal with spaces in filtered link
8179 caps (fixes #164479)
8180 * check/gst/capslist.h:
8181 * check/gst/gststructure.c: (GST_START_TEST):
8182 add unit tests for this change
8184 2005-11-10 Wim Taymans <wim@fluendo.com>
8186 * docs/gst/gstreamer-sections.txt:
8189 Fix docs, move some STATE macros to private.
8191 2005-11-10 Wim Taymans <wim@fluendo.com>
8193 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8194 Added check for bug #317341
8198 Some more spiffifying.
8200 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
8201 Call peer linkfunction if we are a source pad. Totally fixes
8205 Update docs, source pads should call the peer linkfunction
8206 so they can atomically perform the pad link.
8208 2005-11-09 Wim Taymans <wim@fluendo.com>
8212 Uber-spiffy-spiffify some more.
8214 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
8216 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
8217 * gst/elements/gstfilesink.c: (gst_file_sink_init):
8218 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8219 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
8220 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
8221 * gst/gstpad.c: (gst_pad_init):
8222 Use GST_DEBUG_FUNCPTR() more extensively.
8224 2005-11-09 Wim Taymans <wim@fluendo.com>
8226 * gst/gstobject.c: (gst_object_class_init):
8228 Documentation fixes.
8230 2005-11-09 Edward Hervey <edward@fluendo.com>
8232 * gst/gsttypefindfactory.c:
8235 2005-11-09 Edward Hervey <edward@fluendo.com>
8237 * gst/base/gsttypefindhelper.c:
8238 * gst/gsttypefind.c:
8239 * gst/gsttypefind.h:
8242 2005-11-09 Wim Taymans <wim@fluendo.com>
8244 * gst/gstiterator.c:
8251 2005-11-09 Wim Taymans <wim@fluendo.com>
8257 2005-11-09 Wim Taymans <wim@fluendo.com>
8259 * docs/gst/gstreamer-sections.txt:
8260 Moved the message async delivery private lock and cond
8261 to the private section.
8267 2005-11-09 Edward Hervey <edward@fluendo.com>
8269 * docs/gst/gstreamer-sections.txt:
8272 Document GstURIHandler
8274 2005-11-09 Wim Taymans <wim@fluendo.com>
8276 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
8277 (gst_iterator_find_custom):
8278 * gst/gstiterator.h:
8281 2005-11-09 Wim Taymans <wim@fluendo.com>
8284 Document another field.
8286 * gst/gststructure.c:
8287 * gst/gststructure.h:
8290 2005-11-09 Wim Taymans <wim@fluendo.com>
8295 2005-11-09 Wim Taymans <wim@fluendo.com>
8297 * docs/gst/gstreamer-sections.txt:
8298 Added some new macros.
8305 2005-11-09 Wim Taymans <wim@fluendo.com>
8307 * docs/design/part-TODO.txt:
8308 Some more items for the TODO
8314 2005-11-09 Andy Wingo <wingo@pobox.com>
8316 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
8317 to work on something else now tho...
8319 * gst/base/gstadapter.c: More adapter docs.
8321 * gst/elements/gstfilesink.c (gst_file_sink_start)
8322 (gst_file_sink_stop): New functions, replace the state change
8324 (gst_file_sink_class_init): Hook up the start and stop functions.
8325 (gst_file_sink_base_init): Don't set the state change handler any
8326 more. It was a bit ugly too, being set from here...
8327 (gst_file_sink_get_property, gst_file_sink_set_property):
8329 (gst_file_sink_set_location): More robust check that doesn't call
8332 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
8334 * gst/base/gstbasetransform.c: (gst_base_transform_event):
8335 Hold STREAM_LOCK while pushing newsegment or tag events as well.
8337 2005-11-08 Wim Taymans <wim@fluendo.com>
8339 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8340 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8341 (gst_base_sink_chain), (gst_base_sink_change_state):
8342 * gst/base/gstbasesink.h:
8343 * gst/base/gstbasesrc.h:
8346 Avoid excessive typechecking in macros.
8348 * gst/gstminiobject.c: (gst_mini_object_get_type),
8349 (gst_mini_object_init), (gst_mini_object_new),
8350 (gst_mini_object_free):
8351 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
8352 (gst_object_finalize):
8353 Remove cruft code, optimize alloc_trace.
8355 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
8357 * docs/faq/gst-uninstalled:
8358 fix up PS1 for systems that try to reset it
8360 2005-11-07 Wim Taymans <wim@fluendo.com>
8362 * gst/base/gstbasesrc.c: (gst_base_src_init),
8363 (gst_base_src_get_range):
8364 Set the segment_end to -1 initially. Fixed typefind.
8366 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
8368 * gst/base/gstadapter.c:
8369 Debug category should be 'adapter', not 'GstAdapter'.
8371 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
8372 (gst_collectpads_class_init), (gst_collectpads_init),
8373 (gst_collectpads_peek), (gst_collectpads_pop),
8374 (gst_collectpads_event), (gst_collectpads_chain):
8375 Add debug category and some debugging output. Use boilerplate
8376 macros. Remove some extraneous words from docs.
8378 2005-11-05 Andy Wingo <wingo@pobox.com>
8380 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
8383 2005-11-04 Stefan Kost <ensonic@users.sf.net>
8385 * docs/gst/gstreamer-sections.txt:
8388 * gst/gstminiobject.h:
8393 2005-11-04 Wim Taymans <wim@fluendo.com>
8395 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8396 Small update to stop at the configured segment_end
8399 2005-11-04 Stefan Kost <ensonic@users.sf.net>
8401 * gst/gstregistry.c:
8402 * gst/gstregistry.h:
8405 2005-11-04 Edward Hervey <edward@fluendo.com>
8407 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8408 Check if we are doing a segment seek and have arrived at the
8409 end of that segment.
8411 2005-11-04 Wim Taymans <wim@fluendo.com>
8413 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
8414 Don't leak a mutex unlock in case of an error.
8419 2005-11-04 Wim Taymans <wim@fluendo.com>
8421 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
8423 Get the context to wake up only once.
8425 2005-11-03 Wim Taymans <wim@fluendo.com>
8427 * check/states/sinks.c: (GST_START_TEST):
8428 Uncomment fixed check.
8430 * docs/design/part-TODO.txt:
8433 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8434 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
8435 (gst_base_sink_get_position):
8436 If we are going to PLAYING, post the right pending state
8437 when we post the intermediate paused message.
8439 * gst/gstelement.c: (gst_element_continue_state),
8440 (gst_element_set_state_func), (gst_element_change_state):
8441 Don't post state changes that were between the same state
8444 2005-11-03 Stefan Kost <ensonic@users.sf.net>
8446 * docs/gst/gstreamer-sections.txt:
8449 * gst/gstminiobject.h:
8452 more docs and doc style fixes
8454 2005-11-03 Stefan Kost <ensonic@users.sf.net>
8456 * docs/gst/gstreamer-sections.txt:
8458 * gst/gstminiobject.c:
8461 2005-11-03 Andy Wingo <wingo@pobox.com>
8463 * check/states/sinks.c (test_livesrc_sink): Add checks that the
8464 state-changed messages actually have the right order and the right
8467 2005-11-03 Wim Taymans <wim@fluendo.com>
8469 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
8470 Added some more checks. Specifically the case where NO_PREROLL
8471 elements are in the pipeline.
8473 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8474 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
8475 (gst_base_sink_get_position):
8476 Post READY->PAUSED state change messages too.
8477 Fix bug where VOID was posted as pending state...
8479 * gst/gstbin.c: (gst_bin_recalc_state):
8480 use _element_continue_state() to continue the state change.
8482 * gst/gstelement.c: (gst_element_continue_state),
8483 (gst_element_commit_state), (gst_element_set_state_func),
8484 (gst_element_change_state), (gst_element_change_state_func):
8485 Lots of state change cleanups, assign the STATE_RETURN in
8486 a new continue_state() function that also propagates the
8487 last return value from a state change to the app.
8488 Update some debug statements with proper category.
8490 2005-11-03 Wim Taymans <wim@fluendo.com>
8492 * docs/design/part-events.txt:
8493 * docs/design/part-gstpipeline.txt:
8494 * docs/design/part-messages.txt:
8495 * docs/design/part-overview.txt:
8496 * docs/design/part-seeking.txt:
8497 * docs/design/part-states.txt:
8498 * docs/design/part-trickmodes.txt:
8499 * docs/manual/advanced-position.xml:
8503 People think !! is ugly, this looks better.
8505 * gst/gstpad.c: (gst_pad_set_blocked_async):
8506 Remove !! since it's fixed elsewhere now.
8508 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
8510 * gst/gstminiobject.h:
8512 Add !! to _FLAG_IS_SET macros to make the result boolean.
8514 2005-11-03 Edward Hervey <edward@fluendo.com>
8516 * gst/gstpad.c: (gst_pad_set_blocked_async):
8517 comparing a flag and a gboolean rarely returns coherent results...
8518 Added two characters (!!) to make that work correctly.
8520 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
8522 * gst/gstbus.c: (gst_bus_class_init):
8525 * gst/gstqueue.c: (gst_queue_loop):
8526 Don't assume a miniobject that isn't a buffer is an
8527 event (it could be that there is a refcounting
8528 problem somewhere and the pointer is stale and
8529 refers to an already destroyed miniobject).
8531 2005-11-03 Julien MOUTTE <julien@moutte.net>
8533 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
8535 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
8537 * docs/manual/advanced-position.xml:
8538 Update seek example and explanations to current 0.9 API.
8540 * gst/elements/gsttypefindelement.c:
8541 (gst_type_find_element_activate):
8542 Remove FIXME comment now that the found caps
8545 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
8547 * gst/gstregistryxml.c: (load_feature):
8548 Add another GST_STR_NULL instance
8550 2005-11-02 Edward Hervey <edward@fluendo.com>
8552 * gst/gstpad.c: (handle_pad_block):
8553 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
8555 2005-11-02 Wim Taymans <wim@fluendo.com>
8560 * gst/gstelement.c: (gst_element_commit_state):
8561 Remove unused value.
8563 * gst/gstiterator.c:
8564 Mention that the returned element is reffed in the docs.
8566 2005-11-02 Wim Taymans <wim@fluendo.com>
8568 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
8569 (gst_pad_push), (gst_pad_push_event):
8570 Unlock blocked pads when they are flushed.
8572 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
8575 * docs/gst/gstreamer-sections.txt:
8578 * gst/gstregistry.c: (gst_registry_scan_path_level):
8579 fix for a nasty little missed situation where an installed plug-in
8580 which was in the cache did not get overridden by an uninstalled one
8581 which was earlier in the plugin path because the newly created plugin
8582 for the uninstalled one (not in the registry) didn't get its
8583 ->registered set to TRUE
8585 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
8587 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
8588 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
8589 (gst_collectpads_is_active), (gst_collectpads_collect),
8590 (gst_collectpads_collect_range), (gst_collectpads_start),
8591 (gst_collectpads_stop), (gst_collectpads_peek),
8592 (gst_collectpads_pop), (gst_collectpads_available),
8593 (gst_collectpads_read), (gst_collectpads_flush):
8594 Guard public API with assertions.
8597 Fix docs for gst_pad_set_link_function().
8599 2005-11-02 Johan Dahlin <johan@gnome.org>
8601 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
8602 Unref found_caps after we used it.
8604 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
8606 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
8607 Don't try to ref NULL.
8609 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
8611 * win32/common/config.h.in:
8612 provide a GST_FUNCTION that just gives a string for now
8614 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
8616 * win32/common/gstenumtypes.c: (register_gst_object_flags),
8617 (gst_object_flags_get_type), (register_gst_bin_flags),
8618 (gst_bin_flags_get_type), (register_gst_buffer_flag),
8619 (gst_buffer_flag_get_type), (register_gst_bus_flags),
8620 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
8621 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
8622 (gst_clock_return_get_type), (register_gst_clock_entry_type),
8623 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
8624 (gst_clock_flags_get_type), (register_gst_state),
8625 (gst_state_get_type), (register_gst_state_change_return),
8626 (gst_state_change_return_get_type), (register_gst_state_change),
8627 (gst_state_change_get_type), (register_gst_element_flags),
8628 (gst_element_flags_get_type), (register_gst_core_error),
8629 (gst_core_error_get_type), (register_gst_library_error),
8630 (gst_library_error_get_type), (register_gst_resource_error),
8631 (gst_resource_error_get_type), (register_gst_stream_error),
8632 (gst_stream_error_get_type), (register_gst_event_type),
8633 (gst_event_type_get_type), (register_gst_seek_type),
8634 (gst_seek_type_get_type), (register_gst_seek_flags),
8635 (gst_seek_flags_get_type), (register_gst_format),
8636 (gst_format_get_type), (register_gst_index_certainty),
8637 (gst_index_certainty_get_type), (register_gst_index_entry_type),
8638 (gst_index_entry_type_get_type),
8639 (register_gst_index_lookup_method),
8640 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
8641 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
8642 (gst_index_resolver_method_get_type), (register_gst_index_flags),
8643 (gst_index_flags_get_type), (register_gst_debug_level),
8644 (gst_debug_level_get_type), (register_gst_debug_color_flags),
8645 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
8646 (gst_iterator_result_get_type), (register_gst_iterator_item),
8647 (gst_iterator_item_get_type), (register_gst_message_type),
8648 (gst_message_type_get_type), (register_gst_mini_object_flags),
8649 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
8650 (gst_pad_link_return_get_type), (register_gst_flow_return),
8651 (gst_flow_return_get_type), (register_gst_activate_mode),
8652 (gst_activate_mode_get_type), (register_gst_pad_direction),
8653 (gst_pad_direction_get_type), (register_gst_pad_flags),
8654 (gst_pad_flags_get_type), (register_gst_pad_presence),
8655 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
8656 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
8657 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
8658 (gst_plugin_error_get_type), (register_gst_plugin_flags),
8659 (gst_plugin_flags_get_type), (register_gst_rank),
8660 (gst_rank_get_type), (register_gst_query_type),
8661 (gst_query_type_get_type), (register_gst_tag_merge_mode),
8662 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
8663 (gst_tag_flag_get_type), (register_gst_task_state),
8664 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
8665 (gst_alloc_trace_flags_get_type),
8666 (register_gst_type_find_probability),
8667 (gst_type_find_probability_get_type), (register_gst_uri_type),
8668 (gst_uri_type_get_type), (register_gst_parse_error),
8669 (gst_parse_error_get_type):
8670 * win32/common/gstversion.h:
8673 2005-11-01 Luca Ognibene <luogni@tin.it>
8676 fix docs. popt is dead, long live GOption.
8678 2005-10-31 Wim Taymans <wim@fluendo.com>
8683 2005-10-31 Andy Wingo <wingo@pobox.com>
8687 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
8689 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
8690 need to serialize property notifications on GLib 2.8. GLib 2.6 has
8691 the possibility of deadlocks here if code calling notify() or
8692 set() has a lock that can be taken in another notify handler (ABBA
8693 with class lock and e.g. python GIL state lock).
8695 2005-10-28 Julien MOUTTE <julien@moutte.net>
8697 * gst/gstbus.c: Doc updates.
8699 2005-10-28 Wim Taymans <wim@fluendo.com>
8701 * docs/design/part-TODO.txt:
8702 * gst/gstiterator.c:
8703 * gst/gstsystemclock.c:
8704 * gst/gstsystemclock.h:
8707 2005-10-28 Edward Hervey <edward@fluendo.com>
8709 * docs/gst/gstreamer-docs.sgml:
8710 * docs/gst/gstreamer-sections.txt:
8711 the GstURIType documentation page is private, it only defines GstURIType
8712 which should be defined in the GstURIHandler page
8714 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
8716 * gst/gstbin.c: (gst_bin_class_init):
8719 Documentation updates.
8721 2005-10-28 Wim Taymans <wim@fluendo.com>
8723 * docs/gst/gstreamer-sections.txt:
8726 Documented the clocks.
8728 2005-10-28 Stefan Kost <ensonic@users.sf.net>
8730 * docs/gst/gstreamer-sections.txt:
8731 move some macros to private sections
8732 * gst/gstminiobject.c:
8733 * gst/gstminiobject.h:
8734 add descriptions provided by ds and some more
8736 mark macro as to be removed
8738 2005-10-28 Wim Taymans <wim@fluendo.com>
8740 * docs/design/part-TODO.txt:
8741 Add an item to TODO.
8743 * gst/gstiterator.c: (gst_iterator_fold),
8744 (gst_iterator_find_custom):
8745 * gst/gstiterator.h:
8748 2005-10-28 Wim Taymans <wim@fluendo.com>
8750 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8751 (gst_base_transform_init):
8754 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
8755 An EOS event marks the queue as completely filled.
8757 2005-10-27 Wim Taymans <wim@fluendo.com>
8759 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8760 (gst_base_sink_do_sync), (gst_base_sink_get_position):
8761 Some more debugging.
8763 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
8764 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
8765 (gst_base_transform_event), (gst_base_transform_getrange),
8766 (gst_base_transform_chain):
8767 * gst/base/gstbasetransform.h:
8769 Protect transform and concurrent buffer alloc with a new lock.
8770 Try not to break ABI/API.
8772 2005-10-27 Wim Taymans <wim@fluendo.com>
8774 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8775 (gst_base_src_init), (gst_base_src_query),
8776 (gst_base_src_default_newsegment),
8777 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8778 (gst_base_src_send_event), (gst_base_src_event_handler),
8779 (gst_base_src_pad_get_range), (gst_base_src_loop),
8780 (gst_base_src_unlock), (gst_base_src_default_negotiate),
8781 (gst_base_src_start), (gst_base_src_deactivate),
8782 (gst_base_src_activate_push), (gst_base_src_change_state):
8783 Move some stuff around and cleanup things.
8785 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
8787 * gst/base/gstbasesrc.c: (gst_base_src_query):
8788 Add missing break statements.
8790 2005-10-27 Wim Taymans <wim@fluendo.com>
8792 * check/gst/gstbin.c: (GST_START_TEST):
8793 An extra refcount is taken in basesrc.
8795 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8796 (gst_base_src_get_range), (gst_base_src_pad_get_range),
8797 (gst_base_src_loop):
8798 Small cleanups, check for flushing after being unlocked from the
8799 LIVE_LOCK. take refcounts correctly (not yet everywhere).
8800 Don't send out EOS when going to READY.
8802 2005-10-27 Wim Taymans <wim@fluendo.com>
8804 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8805 (gst_base_sink_get_position):
8808 * gst/gstbin.c: (message_check), (bin_replace_message),
8809 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8810 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8811 (bin_query_duration_init), (bin_query_duration_fold),
8812 (bin_query_duration_done), (bin_query_generic_fold),
8814 * tools/gst-launch.c: (main):
8817 2005-10-26 Stefan Kost <ensonic@users.sf.net>
8819 * examples/controller/audio-example.c: (main):
8820 * examples/queue/queue.c: (event_loop):
8821 * gst/base/gstbasetransform.h:
8822 * gst/gstelement.c: (gst_element_send_event):
8824 * gst/gstpad.c: (gst_pad_send_event):
8827 changing log priority in error situations
8829 2005-10-25 Wim Taymans <wim@fluendo.com>
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 Some doc and debug updates.
8838 Cache previously requested query DURATION for speed. invalidate
8839 cached duration if element posts a DURATION message.
8841 2005-10-25 Wim Taymans <wim@fluendo.com>
8843 * docs/design/part-TODO.txt:
8846 * gst/gstbin.c: (message_check), (bin_replace_message),
8847 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8848 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8849 (bin_query_duration_init), (bin_query_duration_fold),
8850 (bin_query_duration_done), (bin_query_generic_fold),
8852 Handle SEGMENT_START/DONE messages correctly.
8853 More evolved query algorithm that handles duration queries
8856 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
8857 (gst_element_get_state_func), (gst_element_abort_state),
8858 (gst_element_commit_state), (gst_element_lost_state):
8859 Some more debugging.
8864 2005-10-25 Wim Taymans <wim@fluendo.com>
8866 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8867 Don't use invalid stream_time.
8869 * gst/gstevent.c: (gst_event_new_newsegment):
8870 stream_time in newsegment cannot be undefined.
8872 2005-10-24 Wim Taymans <wim@fluendo.com>
8877 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8879 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
8881 2005-10-24 Stefan Kost <ensonic@users.sf.net>
8883 * docs/libs/tmpl/gstdparam.sgml:
8884 * docs/libs/tmpl/gstdplinint.sgml:
8885 * docs/libs/tmpl/gstdpman.sgml:
8886 * docs/libs/tmpl/gstdpsmooth.sgml:
8887 * docs/libs/tmpl/gstunitconvert.sgml:
8890 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
8895 === release 0.9.4 ===
8897 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
8900 releasing 0.9.4, "Tyrannosaurus Rex"
8902 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
8904 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
8905 (gst_file_sink_get_current_offset):
8906 Use fseeko() and ftello() if available. When falling back on
8907 lseek() to get the current offset, fflush() first to make sure
8908 everything is up-to-date and we get the right offset.
8910 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
8912 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8913 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8914 * gst/gsterror.c: (_gst_stream_errors_init):
8916 * gst/gstqueue.c: (gst_queue_loop):
8918 remove prematurely added error category and clean up the instances
8920 2005-10-21 Wim Taymans <wim@fluendo.com>
8922 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8923 (gst_base_sink_get_position), (gst_base_sink_query),
8924 (gst_base_sink_change_state):
8925 Simply set the right flag when going to playing, that's all
8926 we need to do instead of calling a function inside the object
8927 lock (that could take the lock as well and deadlock)
8929 2005-10-21 Wim Taymans <wim@fluendo.com>
8931 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
8932 (gst_base_src_loop):
8933 Don't warn, the peer element knows what to do best when
8934 the seek failed, it might try something else.
8936 2005-10-21 Wim Taymans <wim@fluendo.com>
8938 * gst/base/gstbasesrc.c: (gst_base_src_init),
8939 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8942 2005-10-21 Wim Taymans <wim@fluendo.com>
8944 * docs/design/part-segments.txt:
8947 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8948 Correctly set caps, even on the subbufer.
8950 2005-10-21 Wim Taymans <wim@fluendo.com>
8952 * docs/gst/gstreamer-docs.sgml:
8953 * docs/gst/gstreamer-sections.txt:
8960 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
8964 And 2% more doc coverage.
8966 2005-10-21 Andy Wingo <wingo@pobox.com>
8968 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
8971 2005-10-20 Wim Taymans <wim@fluendo.com>
8973 * gst/gsterror.c: (gst_error_get_message):
8976 * gst/gststructure.c:
8981 2005-10-20 Wim Taymans <wim@fluendo.com>
8986 Another 1% more coverage.
8988 2005-10-20 Wim Taymans <wim@fluendo.com>
8990 * docs/gst/gstreamer-sections.txt:
8991 * gst/gstelement.c: (gst_element_get_state_func),
8992 (gst_element_abort_state), (gst_element_commit_state),
8993 (gst_element_lost_state):
8995 * gst/gstquery.c: (gst_query_set_position),
8996 (gst_query_parse_position), (gst_query_set_duration),
8997 (gst_query_parse_duration), (gst_query_new_convert):
8999 Yay! 1% more docs coverage.
9001 2005-10-20 Wim Taymans <wim@fluendo.com>
9004 * gst/gstquery.c: (gst_query_set_position),
9005 (gst_query_parse_position), (gst_query_set_duration),
9006 (gst_query_parse_duration), (gst_query_new_convert):
9008 * gst/gstutils.c: (gst_element_query_convert):
9010 Docs and consistency fixes.
9012 2005-10-20 Wim Taymans <wim@fluendo.com>
9018 2005-10-20 Wim Taymans <wim@fluendo.com>
9020 * gst/gstbin.c: (message_check), (bin_replace_message),
9021 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9022 (update_degree), (gst_bin_sort_iterator_next),
9023 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
9024 Reworked the message handling a bit, cache the messages instead of
9025 only the senders. alows us to do more in the future.
9027 2005-10-20 Wim Taymans <wim@fluendo.com>
9029 * docs/design/part-TODO.txt:
9032 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
9033 (gst_base_sink_query):
9034 Don't use clock time to report position when in EOS.
9036 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
9038 * tools/gst-inspect.c: (print_interfaces),
9039 (print_element_properties_info), (print_element_info):
9040 Fix interface output with gst-inspect -a; don't print
9041 newlines after double/float properties.
9043 2005-10-20 Wim Taymans <wim@fluendo.com>
9045 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
9046 (gst_base_sink_query):
9047 Speed up current position calculation.
9049 * gst/base/gstbasesrc.c: (gst_base_src_query),
9050 (gst_base_src_default_newsegment):
9051 Correctly set stream position in newsegment.
9053 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
9054 (update_degree), (gst_bin_sort_iterator_next),
9055 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
9056 * gst/gstmessage.c: (gst_message_new_custom):
9057 Clean up debugging info
9059 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9060 (gst_queue_loop), (gst_queue_handle_src_query):
9063 2005-10-19 Wim Taymans <wim@fluendo.com>
9065 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9066 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
9067 Fix query handling again.
9069 2005-10-19 Wim Taymans <wim@fluendo.com>
9071 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9072 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
9073 * gst/base/gstbasesrc.c: (gst_base_src_query):
9074 * gst/elements/gstfilesink.c: (gst_file_sink_query):
9075 * gst/elements/gsttypefindelement.c:
9076 (gst_type_find_handle_src_query), (find_element_get_length),
9077 (gst_type_find_element_activate):
9080 * gst/gstquery.c: (gst_query_new_position),
9081 (gst_query_set_position), (gst_query_parse_position),
9082 (gst_query_new_duration), (gst_query_set_duration),
9083 (gst_query_parse_duration), (gst_query_set_segment),
9084 (gst_query_parse_segment):
9086 Bundling query position/duration is not a good idea since duration
9087 does not change much and we don't want to recalculate it for every
9088 position query, so they are separated again..
9089 Base value in segment query is not needed.
9091 * gst/gstqueue.c: (gst_queue_handle_src_query):
9092 * gst/gstutils.c: (gst_element_query_position),
9093 (gst_element_query_duration), (gst_pad_query_position),
9094 (gst_pad_query_duration):
9096 Updates for query API change.
9097 Added some docs here and there.
9099 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
9101 * check/gst/gstbin.c: (GST_START_TEST):
9102 * check/gst/gstghostpad.c: (GST_START_TEST):
9103 * check/pipelines/cleanup.c: (GST_START_TEST):
9104 wait on thread to die so we can check refcount correctly
9106 2005-10-18 Wim Taymans <wim@fluendo.com>
9108 * check/pipelines/stress.c: (GST_START_TEST):
9109 Make check a little more time consuming.
9111 2005-10-18 Wim Taymans <wim@fluendo.com>
9113 * check/Makefile.am:
9114 * check/pipelines/stress.c: (GST_START_TEST),
9115 (simple_launch_lines_suite), (main):
9116 Small state change torture test.
9118 * docs/design/part-states.txt:
9119 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9120 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
9121 (gst_base_sink_change_state):
9122 Never take state lock from streaming thread, clean up ugly
9123 hacks. Unfortunatly core does not yet support nice ways to
9126 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
9128 Start state recalc if a STATE_DIRTY message is posted, but only
9129 on the toplevel bin.
9131 * gst/gstelement.c: (gst_element_sync_state_with_parent),
9132 (gst_element_get_state_func), (gst_element_abort_state),
9133 (gst_element_commit_state), (gst_element_lost_state),
9134 (gst_element_set_state_func), (gst_element_change_state):
9136 State variables are now protected with the LOCK, the state
9137 lock is only used to serialize _set_state().
9139 2005-10-18 Wim Taymans <wim@fluendo.com>
9141 * check/gst/gstbin.c: (GST_START_TEST):
9142 * check/gst/gstmessage.c: (GST_START_TEST):
9143 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9144 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
9146 * gst/gstelement.c: (gst_element_abort_state),
9147 (gst_element_commit_state), (gst_element_lost_state):
9148 * gst/gstmessage.c: (gst_message_new_state_changed),
9149 (gst_message_new_state_dirty), (gst_message_new_segment_start),
9150 (gst_message_new_segment_done), (gst_message_new_duration),
9151 (gst_message_parse_state_changed),
9152 (gst_message_parse_segment_start),
9153 (gst_message_parse_segment_done), (gst_message_parse_duration):
9155 * tools/gst-launch.c: (event_loop):
9156 Seriously, this is better than a previous commit as we only need
9157 to notify the fact that an element changed state in a streaming
9158 thread, marking the state of the parents dirty, hence the
9159 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
9162 2005-10-18 Wim Taymans <wim@fluendo.com>
9164 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
9165 (gst_bin_recalc_func):
9166 * gst/gstelement.c: (gst_element_set_clock),
9167 (gst_element_abort_state), (gst_element_lost_state):
9168 Cleanups, prepare for state change fixes.
9170 2005-10-18 Wim Taymans <wim@fluendo.com>
9173 * gst/gstelement.c: (gst_element_class_init),
9174 (gst_element_set_state), (gst_element_set_state_func):
9176 Pending ABI changes.
9177 GThreadPool in GstBinClass to monitor async state changes.
9178 state_cookie in GstElement to detect concurrent gst/set state.
9179 set_state is now virtual too in case a very complicated element
9180 has to be constructed.
9182 2005-10-18 Wim Taymans <wim@fluendo.com>
9184 * check/gst/gstbin.c: (GST_START_TEST):
9185 * check/gst/gstmessage.c: (GST_START_TEST):
9186 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9187 * gst/gstbin.c: (bin_bus_handler):
9188 * gst/gstelement.c: (gst_element_commit_state),
9189 (gst_element_lost_state):
9190 * gst/gstmessage.c: (gst_message_new_state_changed),
9191 (gst_message_new_segment_start), (gst_message_new_segment_done),
9192 (gst_message_new_duration), (gst_message_parse_state_changed),
9193 (gst_message_parse_segment_start),
9194 (gst_message_parse_segment_done), (gst_message_parse_duration):
9196 * tools/gst-launch.c: (event_loop):
9197 Make messages future proof.
9198 state-change gets a flag if it was a message comming from the
9200 segment-start/stop can also be specified in other formats.
9201 A message to notify an app that a pipeline changed playback
9203 Also fix a GstMessage leak in -launch
9205 2005-10-18 Andy Wingo <wingo@pobox.com>
9207 * gst/gstelement.c (gst_element_dispose): More helpful message.
9209 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
9211 reviewed by: <delete if not using a buddy>
9213 * common/gtk-doc.mak:
9215 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
9217 * gst/gstregistry.c: (gst_registry_scan_path_level):
9218 unref a plug-in we get that was already initialized
9220 2005-10-18 Stefan Kost <ensonic@users.sf.net>
9222 * docs/gst/gstreamer-sections.txt:
9223 * docs/libs/gstreamer-libs-sections.txt:
9228 2005-10-17 Andy Wingo <wingo@pobox.com>
9230 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
9233 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
9235 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
9237 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
9238 (gst_element_get_state_func): Better debug message.
9239 (gst_element_commit_state): s/INFO/DEBUG/.
9240 (gst_element_lost_state, gst_element_change_state):
9242 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
9243 (gst_message_new_custom): s/INFO/LOG/.
9245 2005-10-17 Michael Smith <msmith@fluendo.com>
9247 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9248 Check if end time is valid using end time, not start time.
9250 2005-10-17 Stefan Kost <ensonic@users.sf.net>
9252 * check/gst-libs/controller.c: (GST_START_TEST),
9253 (gst_controller_suite):
9254 * libs/gst/controller/gstcontroller.c:
9255 (gst_controlled_property_set_interpolation_mode):
9256 * libs/gst/controller/gstcontroller.h:
9257 * libs/gst/controller/gstinterpolation.c:
9258 * testsuite/controller/.cvsignore:
9259 * testsuite/controller/Makefile.am:
9260 * testsuite/controller/interpolator.c:
9261 merge controller testsuites
9263 remove mem-chunk from docs
9265 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
9267 * gst/gstmemchunk.c:
9268 * gst/gstmemchunk.h:
9269 * gst/gsttrashstack.c:
9270 * gst/gsttrashstack.h:
9271 out. get out. you're fired. to the Attic !
9273 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
9275 * gst/gstcaps.c: (gst_caps_intersect):
9276 fix signedness issues in a (hopefully) correct way
9277 * gst/gstelement.c: (gst_element_pads_activate):
9279 * gst/gstobject.c: (gst_object_set_parent):
9282 2005-10-17 Julien MOUTTE <julien@moutte.net>
9284 * gst/gstvalue.h: Fix prototypes.
9286 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9288 * docs/gst/gstreamer-sections.txt:
9289 * gst/gst.c: (gst_version_string):
9291 * gst/gstversion.h.in:
9292 * win32/common/libgstreamer.def:
9293 add gst_version_string ()
9295 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9299 * gst/gst.c: (init_post):
9300 * win32/common/config.h.in:
9302 * gst/gstcaps.c: (gst_caps_intersect):
9303 use gint64, the range could be bigger than a guint
9305 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9308 document potential problem in 2038
9310 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9312 * gst/gstcaps.c: (gst_caps_intersect):
9313 Fix guint j diving under 0
9315 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9318 * win32/common/config.h:
9319 * win32/common/config.h.in:
9320 check for process.h, declares getpid() on Windows
9322 include process.h if we have it
9323 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
9324 * gst/gstmemchunk.h:
9325 fix signedness issues
9326 * win32/common/libgstreamer.def:
9329 2005-10-16 Julien MOUTTE <julien@moutte.net>
9331 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
9332 fix. Because of unsigned ints, caps intersection was going nuts and
9333 trying to access structures with G_MAXUINT index. That fixes
9334 videotestsrc ! ffmpegcolorspace ! fakesink
9335 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
9338 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9341 use the gettext macro
9342 * gst/elements/gstelements.c:
9344 * gst/indexers/gstindexers.c:
9345 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
9346 * win32/common/config.h:
9348 * win32/common/config.h.in:
9349 add the template to generate config.h
9350 * win32/common/gstenumtypes.c:
9351 * win32/common/gstversion.h:
9354 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
9356 * gst/gst.c: (gst_version):
9357 * gst/gstversion.h.in:
9360 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
9363 Oops, add missing closing bracket.
9365 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9368 use common m4's for argument checking
9370 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
9372 * docs/gst/gstreamer-sections.txt:
9374 Add GST_EVENT_TYPE_NAME() macro.
9376 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9379 * gst/gstpluginfeature.c:
9381 privatize more symbols
9383 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9386 add srcdir, builddir includes to GST_ALL_CFLAGS, since
9387 everything that uses GStreamer API should have the includes
9389 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9391 * docs/gst/gstreamer-sections.txt:
9392 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9394 give each value a _get_type, removes the DATA exports
9396 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9400 remove _gst_registry_auto_load, not used anymore
9401 * gst/gstbin.c: (gst_bin_get_type):
9403 * gst/gstelement.c: (gst_element_get_type):
9405 * gst/gstobject.c: (gst_object_get_type):
9407 * gst/gstpad.c: (gst_pad_get_type):
9409 make _get_type functions similar, fixes data export from library
9411 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9414 correctly make conditionals
9415 * gst/elements/Makefile.am:
9416 * gst/elements/gstelements.c:
9417 fix typo causing fdsrc not to build
9419 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9421 * testsuite/Makefile.am:
9422 * testsuite/bytestream/.cvsignore:
9423 * testsuite/bytestream/Makefile.am:
9424 * testsuite/bytestream/filepadsink.c:
9425 * testsuite/bytestream/gstbstest.c:
9426 * testsuite/bytestream/test1.c:
9427 * testsuite/bytestream/testfile1:
9428 * testsuite/caps/normalisation.c:
9429 * testsuite/caps/random.c: (main):
9430 * testsuite/cleanup/.cvsignore:
9431 * testsuite/cleanup/Makefile.am:
9432 * testsuite/cleanup/cleanup1.c:
9433 * testsuite/cleanup/cleanup2.c:
9434 * testsuite/cleanup/cleanup3.c:
9435 * testsuite/cleanup/cleanup4.c:
9436 * testsuite/cleanup/cleanup5.c:
9437 * testsuite/controller/interpolator.c:
9438 * testsuite/debug/printf_extension.c: (main):
9439 * testsuite/elements/tee.c:
9440 * testsuite/negotiation/.cvsignore:
9441 * testsuite/negotiation/Makefile.am:
9442 * testsuite/negotiation/pad_link.c:
9443 * testsuite/pad/Makefile.am:
9444 * testsuite/pad/chainnopull.c:
9445 * testsuite/pad/getnopush.c:
9446 * testsuite/pad/link.c:
9447 * testsuite/refcounting/sched.c: (create_pipeline):
9448 * testsuite/registry/Makefile.am:
9449 * testsuite/registry/gst-print-formats.c:
9450 * testsuite/schedulers/.cvsignore:
9451 * testsuite/schedulers/142183-2.c:
9452 * testsuite/schedulers/142183.c:
9453 * testsuite/schedulers/143777-2.c:
9454 * testsuite/schedulers/143777.c:
9455 * testsuite/schedulers/147713.c:
9456 * testsuite/schedulers/147819.c:
9457 * testsuite/schedulers/147894-2.c:
9458 * testsuite/schedulers/147894.c:
9459 * testsuite/schedulers/Makefile.am:
9460 * testsuite/schedulers/group_link.c:
9461 * testsuite/schedulers/queue_link.c:
9462 * testsuite/schedulers/relink.c:
9463 * testsuite/schedulers/unlink.c:
9464 * testsuite/schedulers/unref.c:
9465 * testsuite/schedulers/useless_iteration.c:
9466 * testsuite/states/bin.c:
9467 clean out/remove some stuff from the testsuite directories
9469 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9472 check for some headers
9473 * gst/elements/Makefile.am:
9474 * gst/elements/gstelements.c:
9475 don't compile fdsrc without sys/socket.h
9476 * gst/indexers/Makefile.am:
9477 * gst/indexers/gstindexers.c: (plugin_init):
9478 don't compile fileindex without mmap
9480 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9487 * check/Makefile.am:
9488 * docs/gst/Makefile.am:
9489 * examples/helloworld/Makefile.am:
9491 * gst/base/Makefile.am:
9492 * gst/check/Makefile.am:
9493 * gst/elements/Makefile.am:
9494 * gst/indexers/Makefile.am:
9495 * gst/parse/Makefile.am:
9496 * libs/gst/controller/Makefile.am:
9497 * libs/gst/dataprotocol/Makefile.am:
9498 * examples/helloworld/helloworld.c: (event_loop):
9499 compile fixes, though it's not being compiled currently
9501 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
9503 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
9504 Add some simple tests for the new taglist date API.
9506 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
9508 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
9509 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
9510 Beautify 'last-message' output: print 'none' for buffer timestamps
9511 and durations if none is set; improve alignment with next messages.
9513 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
9515 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
9516 * gst/gstpluginfeature.h:
9517 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
9518 * gst/gstregistry.h:
9519 * docs/gst/gstreamer-sections.txt:
9520 Add new API to check plugin feature version requirements.
9522 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
9523 Some basic tests for the above.
9525 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
9527 * gst/gststructure.c: (gst_structure_to_string):
9528 guard against NULL printf - happens when for example
9529 a message structure with GstClock gets serialized
9531 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
9533 * gst/base/gstcollectpads.c: (gst_collectpads_event):
9534 Fix presumable copy'n'pasto.
9536 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
9538 * gst/elements/gstfakesrc.h:
9539 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
9540 * gst/elements/gsttypefindelement.c:
9542 * gst/elements/gstfilesink.c: (gst_file_sink_render):
9543 I wonder if this could actually write +2GB files before
9545 2005-10-13 Andy Wingo <wingo@pobox.com>
9547 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
9548 Fix Timmeke Waymans bug.
9549 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
9550 string of the proper length to gst_caps_from_string. There's a
9551 potential for, before this fix, that this could cause someone
9552 connecting over the network to cause a segfault if the payload is
9555 2005-10-13 Stefan Kost <ensonic@users.sf.net>
9557 * docs/design/draft-push-pull.txt:
9558 * docs/design/part-overview.txt:
9559 * docs/random/TODO-pre-0.9:
9560 * docs/random/old/ChangeLog.gstreamer:
9561 * gst/base/gstpushsrc.c:
9565 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
9567 * gst/glib-compat.c: (gst_flags_get_first_value):
9568 * gst/glib-compat.h:
9569 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
9570 (gst_value_compare_double), (gst_value_serialize_flags):
9571 GLib 2.6 g_flags_get_first_value has a bug that triggers an
9574 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
9576 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9577 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9579 * tools/gst-launch.c: (event_loop):
9580 print out clock nicely
9582 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
9584 * docs/gst/gstreamer-sections.txt:
9586 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
9587 (gst_tag_list_get_date_index):
9588 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
9589 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
9591 2005-10-13 Julien MOUTTE <julien@moutte.net>
9593 * gst/base/gstcollectpads.c: (gst_collectpads_event),
9594 (gst_collectpads_chain):
9595 * gst/base/gstcollectpads.h: Handle newsegment and store informations
9598 2005-10-13 Stefan Kost <ensonic@users.sf.net>
9600 * docs/gst/gstreamer-sections.txt:
9603 * tools/gst-inspect.c: (main):
9604 * tools/gst-launch.c: (main):
9605 * tools/gst-run.c: (main):
9606 * tools/gst-xmlinspect.c: (main):
9607 fix GOption context leaks
9610 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
9614 * win32/common/config.h:
9616 * win32/vs6/grammar.dsp:
9617 * win32/vs6/libgstelements.dsp:
9618 * win32/vs6/libgstreamer.dsp:
9621 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
9623 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9624 * gst/base/gstbasesrc.c: (gst_base_src_query):
9625 fix more guint64<->gdouble conversions
9627 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
9630 add win32-update target
9631 * win32/common/gstconfig.h:
9632 * win32/common/gstenumtypes.c:
9633 * win32/common/gstenumtypes.h:
9634 * win32/common/gstversion.h:
9635 add files that visual studio can't generate
9637 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
9640 add a win32-update target
9643 2005-10-12 Wim Taymans <wim@fluendo.com>
9645 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9646 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
9647 * gst/gstelement.c: (gst_element_commit_state),
9648 (gst_element_set_state):
9649 Protect flags with proper lock.
9650 unref provided cached clock in dispose.
9652 2005-10-12 Stefan Kost <ensonic@users.sf.net>
9655 * gst/gstminiobject.h:
9657 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
9658 removed unused flags from miniobject
9661 2005-10-12 Wim Taymans <wim@fluendo.com>
9663 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9664 (gst_file_sink_event), (gst_file_sink_render):
9665 Flush before seeking.
9667 2005-10-12 Andy Wingo <wingo@pobox.com>
9669 * gst/gst.c (gst_init_check): Ignore unknown options, as has
9670 always been the case.
9672 2005-10-12 Stefan Kost <ensonic@users.sf.net>
9674 * check/gst/gstbin.c: (GST_START_TEST):
9675 * docs/gst/gstreamer-sections.txt:
9676 * gst/base/gstbasesink.c: (gst_base_sink_init):
9677 * gst/base/gstbasesrc.c: (gst_base_src_init),
9678 (gst_base_src_get_range), (gst_base_src_check_get_range),
9679 (gst_base_src_start), (gst_base_src_stop):
9680 * gst/base/gstbasesrc.h:
9681 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
9682 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9683 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
9687 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
9689 * gst/gstelement.c: (gst_element_is_locked_state),
9690 (gst_element_set_locked_state), (gst_element_commit_state),
9691 (gst_element_set_state):
9693 * gst/gstindex.c: (gst_index_init):
9695 * gst/gstminiobject.h:
9696 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
9697 (gst_object_set_parent):
9699 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
9700 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
9702 * gst/gstpadtemplate.h:
9703 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
9704 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9705 * gst/gstpipeline.h:
9706 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9707 (gst_file_index_commit):
9708 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
9709 * testsuite/pad/link.c: (gst_test_src_init),
9710 (gst_test_filter_init), (gst_test_sink_init):
9711 * testsuite/states/locked.c: (main):
9712 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
9713 moved bitshift from macro to enum definition
9715 2005-10-12 Wim Taymans <wim@fluendo.com>
9717 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
9718 * gst/elements/gstfilesink.c: (gst_file_sink_event),
9719 (gst_file_sink_render):
9720 Some more debugging info.
9722 2005-10-12 Wim Taymans <wim@fluendo.com>
9724 * docs/design/part-states.txt:
9725 * tools/gst-launch.c: (main):
9727 Revert non-intentional change.
9729 2005-10-12 Wim Taymans <wim@fluendo.com>
9731 * check/gst/gstbin.c: (GST_START_TEST):
9732 * check/gst/gstelement.c: (GST_START_TEST):
9733 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
9734 * check/gst/gstghostpad.c: (GST_START_TEST):
9735 * check/gst/gstpipeline.c: (GST_START_TEST):
9736 * check/pipelines/simple_launch_lines.c: (run_pipeline):
9737 * check/states/sinks.c: (GST_START_TEST):
9738 * gst/elements/gsttypefindelement.c: (stop_typefinding):
9739 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9740 (gst_bin_remove_func), (gst_bin_get_state_func),
9741 (gst_bin_recalc_state), (gst_bin_change_state_func),
9743 * gst/gstelement.c: (gst_element_get_state_func),
9744 (gst_element_get_state), (gst_element_abort_state),
9745 (gst_element_commit_state), (gst_element_set_state),
9746 (gst_element_change_state), (gst_element_change_state_func):
9748 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
9749 (gst_pipeline_provide_clock_func):
9750 * gst/gstutils.c: (gst_element_link_pads_filtered):
9751 * tools/gst-launch.c: (main):
9752 * tools/gst-typefind.c: (main):
9753 Use GstClockTime in _get_state() instead of GTimeVal.
9754 Remove old code in gstutils.c
9756 2005-10-12 Andy Wingo <wingo@pobox.com>
9758 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
9761 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
9762 there is no task. Shouldn't affect any code, as nothing in our
9763 plugins checks this return value.
9764 (gst_pad_stop_task): Also take the stream lock if the pad has no
9767 2005-10-12 Wim Taymans <wim@fluendo.com>
9769 * gst/gstpad.c: (pre_activate), (post_activate),
9770 (gst_pad_activate_pull), (gst_pad_activate_push):
9771 Cleanup activation code. Reset old state if
9774 2005-10-12 Wim Taymans <wim@fluendo.com>
9776 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9777 (gst_base_sink_change_state):
9778 No need to prerol after receiving EOS.
9780 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9781 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
9782 * gst/elements/gstidentity.c: (gst_identity_event):
9783 Print events more verbosely.
9785 2005-10-12 Wim Taymans <wim@fluendo.com>
9787 * check/Makefile.am:
9788 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9789 * check/states/sinks2.c:
9790 Moved sinks2 testcode in sinks check.
9792 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9793 (gst_bin_remove_func), (gst_bin_recalc_state),
9794 (gst_bin_change_state_func), (bin_bus_handler):
9795 Fix potential race condition when _get_state() iterated over an
9796 ASYNC element right before it posted a state completion.
9799 Do proper cast here.
9801 * gst/gstevent.c: (gst_event_new_newsegment),
9802 (gst_event_parse_newsegment):
9803 A playback rate of 0.0 is not allowed.
9805 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9807 * win32/common/config.h:
9808 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
9809 (_trewinddir), (_ttelldir), (_tseekdir):
9810 * win32/common/dirent.h:
9811 * win32/common/gtchar.h:
9812 * win32/common/libgstbase.def:
9813 * win32/common/libgstreamer.def:
9814 * win32/vs6/grammar.dsp:
9815 * win32/vs6/gst_inspect.dsp:
9816 * win32/vs6/gst_launch.dsp:
9817 * win32/vs6/gstreamer.dsw:
9818 * win32/vs6/libgstbase.dsp:
9819 * win32/vs6/libgstelements.dsp:
9820 * win32/vs6/libgstreamer.dsp:
9821 Visual Studio 6 project files, and a new common directory.
9824 2005-10-11 Wim Taymans <wim@fluendo.com>
9826 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9827 (gst_base_sink_do_sync), (gst_base_sink_query),
9828 (gst_base_sink_change_state):
9829 * gst/base/gstbasesink.h:
9830 Correctly parse newsegment info.
9832 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9834 * gst/gst.c: (init_post):
9835 split plugin paths correctly
9837 2005-10-11 Wim Taymans <wim@fluendo.com>
9839 * check/gst/gstevent.c: (GST_START_TEST):
9840 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9841 (gst_base_sink_change_state):
9842 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
9843 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9844 * gst/elements/gstfilesink.c: (gst_file_sink_event):
9845 * gst/gstevent.c: (gst_event_new_newsegment),
9846 (gst_event_parse_newsegment):
9848 Added extra flag to newsegment for future API freeze.
9849 Updated check and base elements.
9851 2005-10-11 Julien MOUTTE <julien@moutte.net>
9853 * gst/base/gstcollectpads.c: (gst_collectpads_init),
9854 (gst_collectpads_add_pad), (gst_collectpads_pop),
9855 (gst_collectpads_event), (gst_collectpads_chain):
9856 * gst/base/gstcollectpads.h: Handle EOS correctly.
9858 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9860 * tools/gst-launch.c: (main):
9861 more null protecting
9863 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9865 * gst/gst-i18n-lib.h:
9866 check for ENABLE_NLS, not GETTEXT_PACKAGE
9867 * gst/gstregistry.c: (gst_registry_add_plugin),
9868 (gst_registry_scan_path_level),
9869 (_gst_registry_remove_cache_plugins):
9870 protect possibly NULL strings
9871 * gst/parse/types.h:
9872 config.h already included before
9873 * tools/gst-inspect.c: (main):
9874 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
9875 check for ENABLE_NLS, not GETTEXT_PACKAGE
9876 * tools/gst-launch.c: (main):
9877 check for ENABLE_NLS, not GETTEXT_PACKAGE
9879 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9882 if we don't have glib, fail before testing 2.8
9883 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
9884 fix a leak, should fix plugins-base testsuite
9886 2005-10-11 Andy Wingo <wingo@pobox.com>
9888 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
9889 take the mode we're going to as an arg. Go head and set the mode
9890 and flushing flags now, so that if the activate function starts a
9891 thread all the flags will be in the right state.
9892 (post_activate): Renamed also. Just handle making sure streaming
9893 finishes for the deactivation case, and setting the deactivated
9895 (gst_pad_set_active): Complain loudly if deactivation fails.
9896 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
9897 (gst_pad_activate_push): Adapt to pre/post_activate changes,
9898 remove the terrible hack.
9900 2005-10-11 Wim Taymans <wim@fluendo.com>
9902 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9903 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
9904 (gst_bin_recalc_state), (gst_bin_change_state_func),
9905 (gst_bin_dispose), (bin_bus_handler):
9907 Prepare to make current EOS message queue more generic.
9910 * gst/gstevent.c: (gst_event_new_newsegment),
9911 (gst_event_parse_newsegment):
9913 Rename base to stream_time.
9918 2005-10-11 Wim Taymans <wim@fluendo.com>
9920 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9921 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
9922 (gst_bin_change_state_func), (bin_bus_handler):
9924 Work on proper clock selection.
9926 2005-10-11 Edward Hervey <edward@fluendo.com>
9928 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
9929 * libs/gst/controller/gstcontroller.h:
9930 Added GList* version of _remove_properties() in order to be able to wrap
9933 2005-10-11 Wim Taymans <wim@fluendo.com>
9935 * docs/design/part-states.txt:
9938 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
9939 (gst_bin_change_state_func), (bin_bus_handler):
9940 Doc updates. Don't distribute the same clock over and over again.
9946 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
9947 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
9948 (gst_pad_send_event):
9950 Make probe emission threadsafe again.
9951 Register quarks and move _get_name() from utils.
9954 * gst/gstpipeline.c: (gst_pipeline_class_init),
9955 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9956 Only redistribute the clock of it changed.
9958 * gst/gstsystemclock.h:
9963 Moved the _flow_get_name() to GstPad.
9965 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9967 * check/gst-libs/gdp.c: (GST_START_TEST):
9968 * check/gst/gstcaps.c: (GST_START_TEST):
9969 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
9970 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
9971 (gst_dp_packet_from_caps):
9972 fix more valgrind warnings before turning up the heat
9974 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9976 * gst/parse/grammar.y:
9977 some cleanup before the hacking
9979 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9981 * gst/base/gstbasesrc.c: (gst_base_src_query):
9983 * gst/gstutils.c: (gst_guint64_to_gdouble),
9984 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
9986 externalize, basesrc uses it
9987 obviously the implementation needs testing
9989 2005-10-10 Wim Taymans <wim@fluendo.com>
9991 * tests/sched/Makefile.am:
9992 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
9993 (make_pipeline3), (make_pipeline4), (print_elem), (main):
9995 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9997 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
9998 apparently converting from guint64 to double is not implemented
10001 2005-10-10 Wim Taymans <wim@fluendo.com>
10003 * check/Makefile.am:
10004 * check/generic/states.c: (GST_START_TEST):
10005 * check/gst/gstbin.c: (GST_START_TEST):
10006 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10007 * check/states/sinks.c: (GST_START_TEST):
10008 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
10010 Check fixes, use API as stated in design docs, remove hacks.
10012 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10013 (gst_base_sink_change_state):
10014 Catch stopping our task while we're shutting down.
10016 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
10017 (gst_bin_remove_func), (gst_bin_get_state_func),
10018 (gst_bin_recalc_state), (gst_bin_change_state_func),
10021 * gst/gstelement.c: (gst_element_init),
10022 (gst_element_get_state_func), (gst_element_abort_state),
10023 (gst_element_commit_state), (gst_element_lost_state),
10024 (gst_element_set_state), (gst_element_change_state),
10025 (gst_element_change_state_func):
10026 * gst/gstelement.h:
10027 New state change algorithm (see #318116)
10029 * gst/gstpipeline.c: (gst_pipeline_class_init),
10030 (gst_pipeline_init), (gst_pipeline_set_property),
10031 (gst_pipeline_get_property), (do_pipeline_seek),
10032 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
10033 * gst/gstpipeline.h:
10034 Remove crude state change hacks.
10037 Remove crude hacks.
10039 * tools/gst-launch.c: (main):
10040 Fixes for state change. Needs some more work to fully use the
10043 2005-10-10 Andy Wingo <wingo@pobox.com>
10045 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
10047 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
10048 this flag, but it's not even in GLib 2.6. Odd. Hack around the
10051 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
10053 * gst/gstiterator.c: (gst_iterator_new):
10054 Fix my previous commit: GTypes passed to gst_iterator_new()
10055 can be fundamental types.
10057 2005-10-10 Wim Taymans <wim@fluendo.com>
10059 * gst/gstelement.c: (gst_element_iterate_pad_list),
10060 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
10061 (gst_element_iterate_sink_pads):
10062 Use src/sink pads lists for the respective iterators instead
10065 2005-10-10 Andy Wingo <wingo@pobox.com>
10067 Merged in popt removal + GOption addition patch from Ronald, bug
10070 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
10071 GstElement macros around, remove popt-related symbols, add goption
10074 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
10076 * docs/gst/Makefile.am:
10077 * docs/libs/Makefile.am: No POPT_CFLAGS.
10079 * examples/manual/Makefile.am:
10080 * docs/manual/basics-init.xml: Doc updates with an example.
10082 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10083 (gst_init), (parse_one_option), (parse_goption_arg):
10084 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
10085 bit of hand merging and debugging to get the GOption stuff working
10088 * tests/Makefile.am:
10089 * tools/Makefile.am:
10090 * tools/gst-inspect.c: (main):
10091 * tools/gst-launch.c: (main):
10092 * tools/gst-run.c: (main):
10093 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
10095 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
10097 * gst/gstiterator.c: (gst_iterator_new):
10098 Add assertions to make sure passed GType is likely to really
10099 be a GType (as the compiler won't catch it if the size and
10100 GType arguments get mixed up, see #318447).
10102 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
10104 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10106 * gst/gstbin.c: (gst_bin_iterate_sorted):
10107 Pass GType and size arguments to gst_iterator_new() in the right
10108 order (maybe we should make _new() take the GType as first argument
10109 just like _new_list()?) (#318447).
10112 2005-10-10 Wim Taymans <wim@fluendo.com>
10114 * gst/gstelement.c: (gst_element_finalize):
10115 And free the GStaticRecMutex too
10117 2005-10-10 Andy Wingo <wingo@pobox.com>
10119 * gst/gstelement.c (gst_element_init, gst_element_finalize):
10120 Allocate and free the mutex properly.
10122 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
10124 (GstElement): The state_lock is now recursive. Rebuild your
10125 plugins, suckers. Old macros adapted.
10127 * docs/gst/gstreamer-sections.txt: Doc updates.
10130 * gst/gstutils.c (g_static_rec_cond_timed_wait)
10131 (g_static_rec_cond_wait): Ported from state changes patch, while
10132 we wait on bug #317802 to be solved in a well-distributed GLib.
10134 * gst/gstelement.c (gst_element_change_state_func): Renamed from
10135 gst_element_change_state, variable name changes.
10136 (gst_element_change_state): Split out of gst_element_set_state in
10137 preparation for the state change merge. Doesn't pay attention to
10138 the 'transition' argument.
10139 (gst_element_set_state): Updates, hopefully purely cosmetic.
10140 (gst_element_sync_state_with_parent): MT-safety. Ported from the
10141 state change patch.
10142 (gst_element_get_state_func): Renamed from get_state, cosmetic
10145 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
10147 * gst/elements/gstelements.c:
10148 * win32/GStreamer.vcproj:
10150 * win32/dirent.c: (_tseekdir):
10151 * win32/gst-inspect.vcproj:
10152 * win32/gst-launch.vcproj:
10153 * win32/gstconfig.h:
10154 * win32/gstelements.vcproj:
10155 * win32/gstenumtypes.c: (gst_object_flags_get_type):
10156 * win32/gstreamer.def:
10157 * win32/msvc71.sln:
10158 updates for the win32 build (patch from Sebastien Moutte)
10160 2005-10-10 Andy Wingo <wingo@pobox.com>
10162 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
10163 gst_bin_get_state, cleaned up (but no logic changes).
10164 (bin_element_is_sink): Comment updates.
10165 (sink_iterator_filter): Remove needless cast.
10166 (gst_bin_iterate_sinks): Doc update.
10167 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
10168 cleaned up (but no logic changes).
10170 * check/states/sinks.c (test_src_sink): Cleanups from the state
10172 (test_livesrc_sink): Sync on the state.
10174 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
10175 the state change patch.
10177 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
10180 * check/gst/gstbin.c: Merge in some style fixes and additional
10181 checks from Wim's state change patch.
10183 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
10185 * gst/base/gsttypefindhelper.c: (helper_find_peek),
10186 (gst_type_find_helper):
10187 Check whether we have the requested data already in our list of
10188 cached buffers before pulling a new buffer; also make the buffer
10189 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
10191 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
10196 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10197 don't use long long, it's not portable. Replacing with
10198 gint64 seems to work; let's hope no skeletons fall out of the closet.
10200 2005-10-10 Andy Wingo <wingo@pobox.com>
10202 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
10204 2005-10-09 Stefan Kost <ensonic@users.sf.net>
10206 * docs/gst/gstreamer-sections.txt:
10211 * gst/gstmessage.c: (gst_message_parse_state_changed):
10214 more docs, fix compilation
10216 2005-10-09 Philippe Khalaf <burger@speedy.org>
10217 * gst/gstmessage.c:
10218 Fixed a few forgotten variables on previous commit
10220 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
10222 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10223 Fix evil typefind crasher: getrange() might return a short
10224 buffer at the end of a file, but gst_type_find_peek() must
10225 either return the full data as requested or NULL, but
10226 never a short buffer.
10228 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
10230 * gst/gstmessage.c: (gst_message_new_state_changed),
10231 (gst_message_parse_state_changed):
10232 * gst/gstmessage.h:
10233 don't use "new", it's a C++ keyword
10235 2005-10-08 Wim Taymans <wim@fluendo.com>
10237 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
10238 * gst/gstelement.c: (gst_element_post_message):
10239 * gst/gstpipeline.c: (gst_pipeline_change_state):
10240 Small docs and debug updates.
10242 2005-10-08 Stefan Kost <ensonic@users.sf.net>
10244 * docs/gst/gstreamer-sections.txt:
10245 * gst/gstelementfactory.c:
10247 * gst/gsttaglist.c:
10250 2005-10-08 Wim Taymans <wim@fluendo.com>
10252 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
10253 (gst_bin_dispose), (bin_bus_handler):
10254 Fix typos, add comments.
10255 Clear EOS list when going to PAUSED from any direction and do it
10256 in a threadsafe way.
10257 Get base time in a threadsafe way too.
10258 Fix confusing debug in the change_state function.
10259 Various other small cleanups.
10261 * gst/gstelement.c: (gst_element_post_message):
10262 Fix very verbose bus posting code.
10264 * gst/gstpipeline.c: (gst_pipeline_class_init),
10265 (gst_pipeline_set_property), (gst_pipeline_get_property),
10266 (gst_pipeline_change_state):
10267 Small ARG_ -> PROP_ cleanup
10269 2005-10-08 Wim Taymans <wim@fluendo.com>
10271 * gst/gstbin.c: (is_eos), (bin_bus_handler):
10272 Do a less CPU demanding EOS check because we can.
10274 2005-10-08 Wim Taymans <wim@fluendo.com>
10276 * libs/gst/dataprotocol/dataprotocol.c:
10277 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10278 (gst_dp_packet_from_event):
10279 * libs/gst/dataprotocol/dataprotocol.h:
10280 * libs/gst/dataprotocol/dp-private.h:
10281 It's about time we bump the version number.
10282 Since event types don't fit in the guint8 anymore describing
10283 the payload type, make payload type 16 bits wide.
10285 2005-10-08 Wim Taymans <wim@fluendo.com>
10287 * docs/design/part-TODO.txt:
10288 * docs/design/part-clocks.txt:
10289 * docs/design/part-events.txt:
10290 * docs/design/part-gstbin.txt:
10291 * docs/design/part-gstelement.txt:
10292 * docs/design/part-gstpipeline.txt:
10293 * docs/design/part-live-source.txt:
10294 * docs/design/part-messages.txt:
10295 * docs/design/part-overview.txt:
10296 * docs/design/part-states.txt:
10299 2005-10-08 Wim Taymans <wim@fluendo.com>
10303 Fix event quark registration.
10304 Add some space between events so we can insert them in the
10307 2005-10-08 Wim Taymans <wim@fluendo.com>
10309 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10310 (gst_base_sink_handle_buffer):
10311 Better log message.
10314 * gst/gstelement.h:
10317 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10318 (gst_queue_set_property), (gst_queue_get_property):
10320 Remove old unused properties.
10322 2005-10-08 Stefan Kost <ensonic@users.sf.net>
10323 * docs/gst/gstreamer-sections.txt:
10324 * gst/gstmessage.c:
10325 * gst/gstmessage.h:
10326 * gst/gstminiobject.c:
10327 * gst/gstminiobject.h:
10331 lots of new docs and doc fixes
10333 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
10335 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
10337 * gst/gstregistry.c: (gst_registry_lookup_locked),
10338 (gst_registry_scan_path_level):
10339 * gst/gstregistryxml.c: (load_plugin):
10340 Only ever load one plugin for a given plugin basename.
10341 This ensures correct overriding of GST_PLUGIN_PATH over
10342 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
10343 system installed plugins.
10345 2005-10-08 Wim Taymans <wim@fluendo.com>
10347 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10348 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
10349 Prepare for doing QOS.
10351 2005-10-08 Wim Taymans <wim@fluendo.com>
10353 * check/gst/gstbin.c: (GST_START_TEST):
10354 * check/pipelines/cleanup.c: (GST_START_TEST):
10355 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
10356 Allow new clock message too.
10358 2005-10-08 Wim Taymans <wim@fluendo.com>
10360 * gst/gstmessage.c: (gst_message_new_error),
10361 (gst_message_new_warning), (gst_message_new_tag),
10362 (gst_message_new_state_changed), (gst_message_new_clock_provide),
10363 (gst_message_new_clock_lost), (gst_message_new_new_clock),
10364 (gst_message_new_segment_start), (gst_message_new_segment_done),
10365 (gst_message_parse_state_changed),
10366 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
10367 (gst_message_parse_new_clock):
10368 * gst/gstmessage.h:
10369 Also carry the clock in question.
10371 2005-10-08 Wim Taymans <wim@fluendo.com>
10373 * gst/gstmessage.c: (gst_message_new_custom),
10374 (gst_message_new_eos), (gst_message_new_error),
10375 (gst_message_new_warning), (gst_message_new_tag),
10376 (gst_message_new_state_changed), (gst_message_new_clock_provide),
10377 (gst_message_new_new_clock), (gst_message_new_segment_start),
10378 (gst_message_new_segment_done), (gst_message_parse_state_changed),
10379 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
10380 * gst/gstmessage.h:
10382 Added clock related messages.
10384 * gst/gstpipeline.c: (gst_pipeline_change_state):
10385 Post message when the clock changed.
10387 * tools/gst-launch.c: (event_loop):
10390 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
10392 * tools/gst-inspect.c: (print_element_properties_info):
10393 Can't pass NULL strings to g_print() on windows.
10395 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
10397 * docs/Makefile.am:
10398 * docs/gst/Makefile.am:
10399 * docs/gst/gstreamer-docs.sgml:
10400 * docs/gst/running.xml:
10401 * docs/version.entities.in:
10402 add a chapter on running GStreamer.
10403 document GST_DEBUG and GST_PLUGIN* env vars
10405 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
10410 remove PLUGINS_BUILDDIR stuff
10411 * gst/gst.c: (init_post):
10412 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
10414 remove, it was condescending and not needed
10416 2005-10-08 Wim Taymans <wim@fluendo.com>
10418 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
10419 (gst_base_sink_handle_object), (gst_base_sink_event),
10420 (gst_base_sink_wait), (gst_base_sink_handle_event),
10421 (gst_base_sink_change_state):
10422 * gst/base/gstbasesink.h:
10423 Repost EOS message while going to PLAYING if still EOS.
10424 Make sure that when receiving a FLUSH_START we don't attempt
10425 to sync on the clock anymore.
10427 2005-10-08 Wim Taymans <wim@fluendo.com>
10429 * tools/gst-launch.c: (event_loop):
10430 Better message printout.
10432 2005-10-08 Wim Taymans <wim@fluendo.com>
10434 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
10435 (gst_bin_child_proxy_get_children_count):
10436 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
10437 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
10438 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
10439 (gst_child_proxy_set_valist):
10440 * gst/parse/grammar.y:
10441 Make ChildProxy threadsafe and fix mem leaks.
10443 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
10445 * gst/gst.c: (init_post):
10446 debug the GST_PLUGIN_ env vars
10448 2005-10-08 Wim Taymans <wim@fluendo.com>
10450 * check/gst/gstbin.c: (GST_START_TEST):
10451 * check/gst/gstmessage.c: (GST_START_TEST):
10452 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10453 * gst/gstelement.c: (gst_element_commit_state),
10454 (gst_element_lost_state):
10455 * gst/gstmessage.c: (gst_message_new_state_changed),
10456 (gst_message_parse_state_changed):
10457 * gst/gstmessage.h:
10458 * tools/gst-launch.c: (event_loop):
10459 Added extra field to STATE_CHANGE message with the pending
10460 state, which will be different from the new state soon.
10462 2005-10-08 Wim Taymans <wim@fluendo.com>
10464 * gst/gstbus.c: (gst_bus_pop):
10466 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
10467 Small cleanups and doc updates.
10469 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
10471 * gst/gst.c: (init_pre):
10472 * gst/gstbin.c: (gst_bin_add_func):
10473 log distributing clocks and base time
10474 * gst/gstregistry.c: (gst_registry_add_plugin),
10475 (gst_registry_scan_path_level), (gst_registry_scan_path):
10476 clean up the debugging output a little
10477 * gst/gstutils.c: (gst_element_state_get_name):
10478 warn about a memleak (I've actually seen this be used, though
10479 it was probably a bug)
10481 2005-10-07 Wim Taymans <wim@fluendo.com>
10483 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10484 (gst_base_src_init), (gst_base_src_default_newsegment),
10485 (gst_base_src_newsegment), (gst_base_src_do_seek),
10486 (gst_base_src_loop), (gst_base_src_start):
10487 * gst/base/gstbasesrc.h:
10488 Make the newsegment event customizable by subclasses.
10490 2005-10-07 Wim Taymans <wim@fluendo.com>
10492 * gst/gstevent.c: (gst_event_new_buffersize),
10493 (gst_event_parse_buffersize):
10495 New event for future idea.
10497 2005-10-07 Andy Wingo <wingo@pobox.com>
10499 * gst/gstelement.c (gst_element_post_message): Doc update.
10501 * docs/gst/gstreamer-sections.txt: Update.
10503 * gst/gstmessage.c (gst_message_new_application): Made into a
10504 function like honest API calls.
10505 (gst_message_new_element): New message type.
10507 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
10509 * check/elements/fakesrc.c (test_no_preroll): New check, checks
10510 that setting a live fakesrc to PAUSED returns NO_PREROLL both
10513 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
10514 NO_PREROLL from gst_element_change_state to fall through.
10516 2005-10-07 Wim Taymans <wim@fluendo.com>
10518 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
10519 (gst_ghost_pad_do_activate_push):
10520 Activating a ghostpad with no internal pad in push mode
10523 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
10526 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
10527 Fixes compilation on Windows.
10529 2005-10-07 Michael Smith <msmith@fluendo.com>
10531 * tools/gst-inspect.c:
10532 Print out feature and plugin count at the end when printing out
10535 2005-10-04 Michael Smith <msmith@fluendo.com>
10537 * gst/gsterror.c: (_gst_stream_errors_init):
10538 Add another error string used in a few existing plugins.
10541 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10542 * tools/gst-inspect.c: (print_element_info):
10543 When a feature disappears from a plugin (and the feature exists in
10544 the cached registry file), things went horribly wrong. This isn't a
10545 complete fix, we should actually be removing the 'missing' features
10546 from the features list when we load the actual plugin. That's not
10549 2005-10-04 Johan Dahlin <johan@gnome.org>
10551 * check/gst/gstiterator.c: (GST_START_TEST):
10552 * gst/gstbin.c: (gst_bin_iterate_elements),
10553 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
10554 * gst/gstelement.c: (gst_element_iterate_pads):
10555 * gst/gstformat.c: (gst_format_iterate_definitions):
10556 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10557 (gst_iterator_new_list), (gst_iterator_filter):
10558 * gst/gstiterator.h:
10559 * gst/gstquery.c: (gst_query_type_iterate_definitions):
10560 Add a GType to GstIterator, update callsites and tests.
10562 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
10564 * gst/gstpad.c: (gst_pad_event_default_dispatch):
10565 give events a chance to be handled by event probes when the pad
10568 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
10570 * gst/gstevent.c: (gst_event_type_get_name),
10571 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
10573 add string representations for event types
10575 2005-10-06 Wim Taymans <wim@fluendo.com>
10577 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
10578 Don't use NULL pointers.
10580 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
10582 * gst/gst_private.h:
10584 * gst/gstelement.c:
10586 * gst/gstpluginfeature.c:
10587 widen the debug category in output to fit the biggest one we have
10588 add a bus category and use it
10589 play with the colors
10590 fix up some categories
10592 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
10594 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
10595 add push activation of sink ghost pads.
10596 Andye, please verify
10598 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
10600 * gst/gstutils.c: (gst_element_link_pads):
10601 fix a bug in the case where neither element has a pad
10602 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
10603 add a test for that case
10605 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
10607 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
10608 emit have-data before checking for peers. This allows
10609 for probe handlers to connect elements. This helps autopluggers.
10610 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
10612 add six checks, linked/unlinked with no/true/false probe
10614 2005-10-04 Wim Taymans <wim@fluendo.com>
10616 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
10617 (gst_fake_sink_event), (gst_fake_sink_preroll),
10618 (gst_fake_sink_render), (gst_fake_sink_change_state):
10619 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
10620 (gst_fake_src_get_property), (gst_fake_src_create),
10621 (gst_fake_src_stop):
10622 * gst/elements/gstidentity.c: (gst_identity_stop):
10623 Protect last_message with lock.
10625 2005-10-04 Edward Hervey <edward@fluendo.com>
10628 Added precision in the comments for GST_FORMAT_DEFAULT
10630 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
10632 * tools/gst-launch.c: (main):
10633 Don't try to run erroneous pipelines.
10635 2005-10-04 Julien MOUTTE <julien@moutte.net>
10637 * gst/gstbus.c: We don't need this header.
10639 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
10642 back to development
10644 === release 0.9.3 ===
10646 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
10650 Releasing 0.9.3, "Unregistered"
10652 2005-10-03 Andy Wingo <wingo@pobox.com>
10654 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
10655 whereby calling a pad's activatepush() function can start a thread
10656 that starts to push or pull before the pad gets the FLUSHING flag
10657 unset. Hack around it by holding the stream lock until the flag is
10658 set. Need to replace this with a proper solution. Together with
10659 the ghost pad fixes, this fixes mp3 playing/tagreading.
10661 * docs/design/part-gstghostpad.txt: Add a note about activation of
10662 proxy pads outside of ghost pads.
10664 * gst/gstghostpad.c: Implement the ghost pad activation design.
10666 2005-10-02 Andy Wingo <wingo@pobox.com>
10668 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
10669 It is volatile, after all.
10671 * docs/design/part-gstghostpad.txt: Flesh out activation with
10674 * gst/base/gstbasesrc.c (gst_base_src_init): Use
10677 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
10680 Fix (unused) AM_CONDITIONAL tests.
10682 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
10684 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10686 * gst/gstutils.c: (gst_pad_query_convert):
10687 Add assertion that makes sure src_val is >=0, just like
10688 gst_query_new_convert() has. (#315895)
10690 2005-09-30 Edward Hervey <edward@fluendo.com>
10692 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
10693 Let's not iterate pads we're not interested in, it avoids getting
10694 sky-high refcounts on sinkpad.
10696 2005-09-30 Wim Taymans <wim@fluendo.com>
10698 * gst/gstelement.c: (gst_element_set_state),
10699 (gst_element_change_state):
10700 Small tweak, element in ASYNC remains ASYNC.
10702 2005-09-30 Wim Taymans <wim@fluendo.com>
10704 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
10705 Only error is an error.
10707 * gst/gstbin.c: (gst_bin_change_state):
10710 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
10711 Also call pad_block in pad alloc.
10713 * gst/gstutils.c: (gst_flow_get_name):
10716 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
10718 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10719 (gst_base_src_get_range):
10720 Fix documentation typos. Add some more debug info.
10722 2005-09-29 David Schleef <ds@schleef.org>
10724 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
10725 more end-user friendly.
10726 * tools/gst-inspect.c: (main): Check if command-line argument is
10727 a file and attempt to load that file as a plugin.
10729 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
10731 * check/gst/gstbin.c:
10732 * check/states/sinks.c:
10733 fix tests for the new warning
10734 * check/gst/gstpipeline.c:
10735 add a test for pipeline and bus interaction
10736 * gst/gstelement.c:
10737 elements should be NULL if they get disposed; add a warning if not
10739 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
10742 for 2.6 refcounting, make debug log more correct by printing
10743 the actual refcounts at the time of swap (Wim)
10745 2005-09-29 Andy Wingo <wingo@pobox.com>
10747 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
10748 removes signal watches previously added via
10749 gst_bus_add_signal_watch.
10750 (gst_bus_add_signal_watch): Don't return the source id, just store
10751 it on the bus if there wasn't an id already.
10753 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
10754 add_signal_watch and remove_signal_watch.
10756 2005-09-29 Edward Hervey <edward@fluendo.com>
10758 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10759 Better if we actually iterate the list :)
10761 2005-09-29 Wim Taymans <wim@fluendo.com>
10763 * check/gst/gstbin.c: (GST_START_TEST):
10764 Change for new bus API.
10766 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
10767 (send_messages), (GST_START_TEST), (gstbus_suite):
10768 Change for new bus signal API.
10770 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
10771 (gst_bus_source_prepare), (gst_bus_source_check),
10772 (gst_bus_create_watch), (gst_bus_add_watch_full),
10773 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
10774 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
10776 Remove support for multiple GSources operating on different
10777 message types as it is too complex and unneeded when using
10779 Added support for receiving signals from the bus.
10781 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
10783 * docs/libs/tmpl/gstdataprotocol.sgml:
10784 * docs/manual/advanced-dataaccess.xml:
10785 * gst/elements/gstcapsfilter.c:
10787 rename filter-caps to caps property
10789 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
10791 * gst/gstvalue.c: (gst_value_deserialize_fraction):
10792 More robust fraction string parsing.
10794 * docs/pwg/appendix-porting.xml:
10795 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
10797 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
10799 * gst/gstcaps.c: (gst_caps_do_simplify):
10800 Thou shalt not free a structure and then continue using it
10801 in the next loop iteration.
10803 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
10805 Add test case for caps simplification.
10807 2005-09-29 Wim Taymans <wim@fluendo.com>
10809 * check/gst/gstbin.c: (GST_START_TEST):
10812 2005-09-29 Wim Taymans <wim@fluendo.com>
10814 * check/gst/gstbin.c: (GST_START_TEST):
10817 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
10818 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10819 (find_element), (gst_bin_sort_iterator_next),
10820 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10821 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10822 (gst_bin_change_state), (gst_bin_dispose):
10823 A bin does not have a bus, it gets the bus from the parent.
10825 * gst/gstelement.c: (gst_element_requires_clock),
10826 (gst_element_provides_clock), (gst_element_is_indexable),
10827 (gst_element_is_locked_state), (gst_element_change_state),
10828 (gst_element_set_bus_func):
10831 * gst/gstpipeline.c: (gst_pipeline_class_init),
10832 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
10833 The pipeline provides a bus.
10835 2005-09-28 Johan Dahlin <johan@gnome.org>
10837 * gst/gstmessage.c (gst_message_parse_state_changed): Use
10838 gst_structure_get_enum instead of gst_structure_get_int
10840 * gst/gststructure.c (gst_structure_get_enum): Impl.
10842 * gst/gststructure.h (gst_structure_get_enum): Add
10844 * docs/gst/gstreamer-sections.txt: Ditto
10846 * gst/gstmessage.c (gst_message_new_state_changed): Use
10847 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
10848 which does introspection.
10849 Reviewed by Christian Schaller
10851 2005-09-28 Stefan Kost <ensonic@users.sf.net>
10853 * gst/gstinfo.c: (gst_debug_log_default):
10854 don't do dummy g_strdup()s
10855 * libs/gst/controller/gstcontroller.c:
10856 (on_object_controlled_property_changed),
10857 (gst_controlled_property_new), (gst_controller_new_valist),
10858 (gst_controller_new_list),
10859 (gst_controller_remove_properties_valist), (gst_controller_set),
10860 (gst_controller_get), (gst_controller_sync_values),
10861 (gst_controller_get_value_array), (_gst_controller_class_init),
10862 (gst_controller_get_type):
10863 * libs/gst/controller/gstcontroller.h:
10864 * libs/gst/controller/gstinterpolation.c:
10865 (gst_controlled_property_find_timed_value_node):
10866 convert // to /**/ comments
10868 2005-09-28 Wim Taymans <wim@fluendo.com>
10870 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
10871 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
10872 (gst_bus_sync_signal_handler):
10874 Added async-message and sync-message signals to the bus.
10875 Added helper BusFunc to emit signals for all posted messages.
10877 * gst/gstmessage.c: (gst_message_type_get_name),
10878 (gst_message_type_to_quark), (gst_message_get_type):
10879 * gst/gstmessage.h:
10880 Register quarks for message names.
10882 2005-09-28 Stefan Kost <ensonic@users.sf.net>
10884 * docs/libs/gstreamer-libs-sections.txt:
10885 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10886 (gst_controller_new_list):
10887 * libs/gst/controller/gstcontroller.h:
10888 added another constructor for language bindings
10890 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
10892 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10896 * gst/gstinfo.c: (_gst_debug_init):
10897 slightly more readable color for refcount debugging
10899 2005-09-28 Wim Taymans <wim@fluendo.com>
10901 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
10902 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10903 (find_element), (gst_bin_sort_iterator_next),
10904 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10905 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10906 (gst_bin_change_state), (gst_bin_dispose):
10907 Small doc fixes. get_clock -> provide_clock.
10909 * gst/gstelement.c: (gst_element_class_init),
10910 (gst_element_provides_clock), (gst_element_provide_clock),
10911 (gst_element_get_clock), (gst_element_commit_state),
10912 (gst_element_lost_state):
10913 * gst/gstelement.h:
10914 Make get/set_clock() symetric. Add provide_clock vmethod since
10915 that is actually what this function does.
10917 * gst/gstpipeline.c: (gst_pipeline_class_init),
10918 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
10919 (gst_pipeline_get_clock):
10920 get_clock -> provide_clock.
10922 2005-09-28 Andy Wingo <wingo@pobox.com>
10924 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
10925 lieu of real docs...
10927 * gst/elements/gstfdsrc.c: Cleaned up a bit.
10929 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
10931 * gst/elements/gstcapsfilter.c:
10932 * gst/elements/gstfakesink.c:
10933 * gst/elements/gstfakesrc.c:
10934 * gst/elements/gstfdsink.c:
10935 * gst/elements/gstfdsrc.c:
10936 * gst/elements/gstfilesink.c:
10937 * gst/elements/gstfilesrc.c:
10938 * gst/elements/gstidentity.c:
10939 * gst/elements/gsttee.c:
10940 * gst/elements/gsttypefindelement.c:
10941 Make element details static.
10943 2005-09-28 Wim Taymans <wim@fluendo.com>
10945 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10946 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10947 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10948 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10949 (gst_bin_change_state), (gst_bin_dispose):
10950 Some documentation updates.
10951 Clean up dispose handlers.
10953 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
10954 * gst/gstpad.c: (gst_pad_dispose):
10955 Clean up dispose handler.
10957 * gst/gstpipeline.c: (gst_pipeline_change_state):
10958 Removed spurious UNLOCK.
10960 2005-09-27 Stefan Kost <ensonic@users.sf.net>
10962 * docs/gst/gstreamer-sections.txt:
10963 * gst/base/gstbasesrc.h:
10964 * gst/gstelement.h:
10968 * gst/gstpipeline.c:
10969 * gst/gstpipeline.h:
10972 added two new functions to the docs
10973 documents all undocumented GstXXXFlags
10974 completed some incomplete docs
10976 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
10978 * gst/gstbin.c: (gst_bin_dispose):
10979 * gst/gstelement.c: (gst_element_dispose):
10980 remove now useless and leaky resurrection code in dispose
10981 * gst/base/gstbasesrc.c: (gst_base_src_init):
10982 * gst/gstelementfactory.c: (gst_element_factory_create):
10983 * gst/gstobject.c: (gst_object_set_parent):
10986 2005-09-27 Wim Taymans <wim@fluendo.com>
10988 * docs/design/part-TODO.txt:
10991 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10992 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10993 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10994 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10995 (gst_bin_change_state):
10996 * gst/gstelement.h:
10997 Remove element variable, we keep element info in the iterator now.
10999 2005-09-27 Andy Wingo <wingo@pobox.com>
11001 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
11004 2005-09-27 Wim Taymans <wim@fluendo.com>
11006 * check/gst/gstbin.c: (GST_START_TEST):
11007 Enable check that works now.
11009 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11010 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11011 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11012 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11013 (gst_bin_change_state):
11015 Redid the state change algorithm using a topological sort algo.
11016 Handles all cases correctly.
11017 Exposed iterator for state change order.
11019 * gst/gstelement.h:
11020 Temp storage for state changes. Need to get rid of this soon.
11022 2005-09-27 Wim Taymans <wim@fluendo.com>
11024 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
11025 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
11026 (link_fold_func), (gst_pad_proxy_setcaps):
11027 Leak fixes, the fold functions need to unref the passed object and
11028 _get_parent_*() returns ref to parent.
11030 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
11032 * check/gst/gstbuffer.c: (test_make_writable):
11033 Plug leak in test case and fix 'make check-valgrind'
11035 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
11037 * gst/gstbuffer.c: (gst_subbuffer_init):
11038 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
11039 works correctly in all circumstances (we could have just copied
11040 the parent buffer's readonly flag, but conceptually it seems
11041 cleaner to mark all subbuffers as read-only). (based on patch
11042 by Alessandro Decina, #314710).
11044 * check/gst/gstbuffer.c: (create_read_only_buffer),
11045 (test_make_writable), (test_subbuffer_make_writable),
11047 Add some tests for gst_buffer_make_writable().
11049 2005-09-27 Wim Taymans <wim@fluendo.com>
11051 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
11052 use gst_object_has_ancestor().
11054 * gst/gstobject.c: (gst_object_has_ancestor):
11056 gst_object_has_ancestor() copied from gstbin.c as it is a
11059 * tests/instantiate/create.c: (create_all_elements):
11060 * tests/lat.c: (handoff_src), (handoff_sink):
11061 * tests/sched/runxml.c: (main):
11062 * tests/seeking/seeking1.c: (main):
11063 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
11065 Fix compilation of some tests.
11067 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
11070 Remove comment. GST_TYPE_G_ERROR is here to stay,
11071 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
11072 (#316961, #300610).
11074 2005-09-26 Wim Taymans <wim@fluendo.com>
11076 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11077 Added check that shows error in state change order.
11079 2005-09-26 Wim Taymans <wim@fluendo.com>
11081 * gst/gstbin.c: (gst_bin_change_state):
11082 Make state change function use 3 queues again, we were
11083 adding elements in the wrong order.
11085 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11088 * gst/gstpad.c: (gst_pad_dispose):
11089 Added some debug info first.
11091 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
11093 * docs/design/draft-push-pull.txt:
11094 * docs/design/part-events.txt:
11095 * docs/design/part-overview.txt:
11096 * docs/design/part-scheduling.txt:
11097 Replace all _pull_region() with _pull_range()
11099 2005-09-26 Andy Wingo <wingo@pobox.com>
11101 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
11103 * check/gst-libs/controller.c: Update for controller api change.
11106 * tests/Makefile.am:
11107 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
11108 over by GLib bug 118439.
11110 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
11111 routines to a function.
11113 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
11115 * libs/gst/controller/gsthelper.c:
11116 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
11117 (gst_object_sync_values): Renamed from sink_values. Ugh.
11119 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
11121 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
11122 Renamed from controller_key, as it is exported.
11124 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
11126 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
11131 * gst/gstpadtemplate.h:
11134 * gst/gstqueryutils.c:
11135 * gst/gstqueryutils.h:
11136 remove queryutils headers after moving the two used functions
11137 to gstquery. also fixes build problem for gstsiddec
11139 2005-09-26 Michael Smith <msmith@fluendo.com>
11141 * tools/gst-launch.1.in:
11142 Correct documentation in manpage of debug syntax
11144 2005-09-26 Wim Taymans <wim@fluendo.com>
11146 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
11147 (gst_base_src_is_seekable), (gst_base_src_change_state):
11148 Some more debugging info.
11150 2005-09-25 Stefan Kost <ensonic@users.sf.net>
11152 * docs/gst/gstreamer-sections.txt:
11153 * gst/base/gstbasetransform.h:
11157 2005-09-25 Stefan Kost <ensonic@users.sf.net>
11159 * docs/gst/.cvsignore:
11160 * docs/gst/tmpl/.cvsignore:
11161 * docs/gst/tmpl/gstpipeline.sgml:
11162 * docs/gst/tmpl/gstplugin.sgml:
11163 * gst/gstpipeline.c:
11166 inlined the last two docs files
11167 removed the tmpl directory from cvs (no more conflicts here!)
11169 2005-09-25 Stefan Kost <ensonic@users.sf.net>
11171 * docs/gst/gstreamer-sections.txt:
11172 * docs/gst/tmpl/.cvsignore:
11173 * docs/gst/tmpl/gstpad.sgml:
11174 * docs/gst/tmpl/gstpadtemplate.sgml:
11176 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11177 (gst_pad_finalize), (gst_pad_set_pad_template):
11179 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
11180 (gst_pad_template_class_init), (gst_pad_template_init),
11181 (gst_pad_template_dispose), (name_is_valid),
11182 (gst_static_pad_template_get), (gst_pad_template_new),
11183 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
11184 (gst_pad_template_pad_created):
11185 * gst/gstpadtemplate.h:
11186 inlined two more docs
11187 factored gstpadtemplate out of gstpad
11189 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
11191 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
11192 (test_children_state_change_order_semi_sink):
11193 Fix test case: we can't rely on a fixed state change order when
11194 going from READY => PAUSED because the sink might commit its
11195 new state first when the first buffer created by the source
11196 reaches the sink before the source has finished its change state.
11197 (Test case still fails at times, see #316856, comment 5 onwards)
11199 2005-09-24 Wim Taymans <wim@fluendo.com>
11201 * docs/design/part-events.txt:
11202 * docs/design/part-gstbus.txt:
11203 * docs/design/part-gstpipeline.txt:
11204 * docs/design/part-messages.txt:
11205 * docs/design/part-overview.txt:
11206 * docs/design/part-segments.txt:
11210 * gst/gstelement.c:
11213 * gst/gstiterator.c:
11214 Various documentation updates.
11216 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
11219 Well, that's embarassing. Luckily we weren't using
11220 GST_CLOCK_DIFF anywhere.
11222 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
11224 * common/gtk-doc.mak:
11225 don't fail on building XML, FC4 slave shows a bunch of doc
11226 missing bits that I don't get
11228 * gst/gstpipeline.c:
11229 * gst/gststructure.c:
11232 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
11234 * docs/design/part-gstbin.txt:
11235 * docs/design/part-gstbus.txt:
11237 Add blurb about how the bus goes into flushing mode and
11238 drops all messages when its bin goes from READY into NULL
11241 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
11243 * docs/gst/gstreamer-sections.txt:
11244 * gst/gststructure.c: (gst_structure_get_clock_time):
11245 * gst/gststructure.h:
11246 add a method to get a GstClockTime out of a structure
11248 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
11250 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
11251 (test_children_state_change_order_semi_sink), (gst_bin_suite):
11252 Added test to check state change order in bins (can still be made
11253 to fail here under heavy disk load; bails out with 'Push on pad
11254 fakesink:sink0, but it was not activated in push mode').
11256 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
11257 Fix state change order when there is only a semi sink (#316856)
11259 * gst/gstbus.c: (gst_bus_class_init):
11260 Use _class_peek_parent(), not _class_ref(); fix docs to say
11261 'default main context' instead of 'mainloop' where that is
11264 * gst/gstelement.c: (gst_element_commit_state),
11265 (gst_element_set_state):
11266 Fix typos in debug messages
11268 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
11271 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
11272 * gst/gstpluginfeature.c:
11274 various doc updates
11275 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11276 change an assert into an error until it gets fixed properly
11278 2005-09-23 Stefan Kost <ensonic@users.sf.net>
11280 * docs/gst/gstreamer-sections.txt:
11281 * docs/gst/tmpl/.cvsignore:
11282 * docs/gst/tmpl/gstelement.sgml:
11283 * docs/gst/tmpl/gstinfo.sgml:
11284 * docs/gst/tmpl/gstobject.sgml:
11285 * gst/gstelement.c:
11286 * gst/gstelement.h:
11289 * gst/gstobject.c: (gst_object_class_init):
11291 inlined 3 more biiiig doc files and added some missing docs on the fly
11293 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
11295 * check/gst/.cvsignore:
11296 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
11297 * gst/gstregistryxml.c: (load_plugin),
11298 (gst_registry_xml_save_plugin):
11299 put back source in registry. add checks for find_plugin.
11300 * testsuite/states/bin.c: (assert_state), (empty_bin),
11301 (test_adding_one_element), (main):
11302 * testsuite/states/locked.c: (main):
11303 some compile/run fixes
11305 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
11307 * check/gst/gstvalue.c: (GST_START_TEST):
11308 fix leaks in the test itself
11310 2005-09-22 Wim Taymans <wim@fluendo.com>
11312 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11313 (gst_base_sink_send_event), (gst_base_sink_peer_query),
11314 (gst_base_sink_query):
11315 Prepare for more accurate position reporting and query
11318 * gst/gstelement.c: (gst_element_send_event),
11319 (gst_element_set_state):
11322 2005-09-22 Wim Taymans <wim@fluendo.com>
11324 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
11325 (gst_query_parse_segment):
11327 More documentation.
11328 Add segment query for future use.
11330 2005-09-22 Wim Taymans <wim@fluendo.com>
11332 * gst/gstbin.c: (gst_bin_add_func):
11333 Some more debug info.
11335 * gst/gstelement.c: (gst_element_send_event):
11336 Simplify send_event
11338 * gst/gstelement.h:
11339 Don't know how flags got broken.
11344 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
11346 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
11347 Add simplistic test suite for GST_TYPE_DATE serialisation and
11350 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
11352 * docs/gst/gstreamer-sections.txt:
11353 * gst/gststructure.c: (gst_structure_set_valist),
11354 (gst_structure_get_date):
11355 * gst/gststructure.h:
11356 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
11357 (gst_date_copy), (gst_value_compare_date),
11358 (gst_value_serialize_date), (gst_value_deserialize_date),
11359 (gst_value_transform_date_string),
11360 (gst_value_transform_string_date), (_gst_value_initialize):
11362 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
11363 bunch of utility functions along with a hack that checks that
11364 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
11365 is required. Part of the grand scheme in #170777.
11367 2005-09-22 Andy Wingo <wingo@pobox.com>
11369 * gst/gstconfig.h.in: Psych out gtk-doc.
11371 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
11373 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
11375 * tools/gst-inspect.c (print_element_list): Plug some
11376 inconsequential leaks.
11378 * gst/gstregistry.c (gst_registry_get_default): Doc.
11380 * check/gst/gstplugin.c:
11381 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
11382 * gst/gstelementfactory.c (gst_element_factory_create):
11383 * gst/gstindexfactory.c (gst_index_factory_create): Update for
11386 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
11387 (gst_plugin_feature_load): Doc, don't eat refs.
11389 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
11390 (gst_plugin_list_free): Doc.
11391 (gst_plugin_load_file): Doc updates.
11393 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
11394 accessors returning refcounted objects, return a ref.
11396 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
11397 accessor for caps. IDEMPOTENCE. Oh yes.
11399 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
11401 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11403 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
11404 (_gst_debug_register_funcptr):
11405 Add mutex to serialise access to the hash table with
11406 the function pointer => function name string mapping;
11407 make that hash table static scope (#316809).
11409 * gst/registries/.cvsignore:
11410 Remove left-over file.
11412 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
11414 * docs/pwg/appendix-porting.xml:
11415 And something about newsegment events and caps-on-buffers to
11416 the porting guide (feel free to improve).
11418 2005-09-21 Andy Wingo <wingo@pobox.com>
11420 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
11421 data and event probes on the same pad.
11422 (test_buffer_probe_once): Test that removing probes from within
11423 the probe functions works.
11425 2005-09-21 Andy Wingo <wingo@pobox.com>
11427 * check/gst/gstutils.c: New file.
11428 (test_buffer_probe_n_times): A simple buffer probe test. More to
11431 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
11432 have-data::buffer, not have-data.
11433 (gst_pad_add_event_probe): Likewise for have-data::event.
11434 (gst_pad_add_data_probe): More docs. The part about 'resolving the
11435 peer' isn't quite right yet though.
11436 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
11437 (gst_pad_remove_data_probe): Change to take the guint handler_id
11438 as their arg, not the function+data, which is more glib-like.
11440 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
11441 the signal emission to indicate if the data is a buffer or an
11443 (gst_pad_get_type): Initialize buffer and event quarks.
11444 (gst_pad_class_init): have-data is now a detailed signal, yes it
11447 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
11449 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
11450 * gst/gstutils.c: (gst_util_set_value_from_string),
11451 (gst_util_set_object_arg):
11452 Don't put functional code in g_return_if_fail() or
11453 g_return_val_if_fail() statements, otherwise things will
11454 break when G_DISABLE_CHECKS is defined during compilation.
11456 2005-09-21 Stefan Kost <ensonic@users.sf.net>
11458 * docs/gst/tmpl/.cvsignore:
11459 * docs/gst/tmpl/gstvalue.sgml:
11462 inlied another one and added some obvious docs
11464 2005-09-21 Wim Taymans <wim@fluendo.com>
11466 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
11467 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
11468 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
11469 (gst_fdsrc_get_property), (gst_fdsrc_create):
11470 * gst/elements/gstfdsrc.h:
11471 Properly implement fdsrc. Removed signal and timeout,
11472 better implemented somewhere else.
11474 2005-09-21 Stefan Kost <ensonic@users.sf.net>
11476 * docs/gst/tmpl/.cvsignore:
11477 * docs/gst/tmpl/gstimplementsinterface.sgml:
11478 * gst/gstinterface.c:
11481 2005-09-21 Stefan Kost <ensonic@users.sf.net>
11483 * docs/gst/gstreamer-sections.txt:
11484 * docs/gst/tmpl/.cvsignore:
11485 * docs/gst/tmpl/gstenumtypes.sgml:
11486 remove obsolete doc file
11488 2005-09-21 David Schleef <ds@schleef.org>
11490 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
11491 little beer, fix a little leak.
11493 2005-09-21 Stefan Kost <ensonic@users.sf.net>
11495 * docs/gst/gstreamer-docs.sgml:
11496 * docs/gst/gstreamer-sections.txt:
11497 * docs/gst/tmpl/.cvsignore:
11501 * gst/gstelement.h:
11502 * gst/gstindex.c: (gst_index_class_init):
11504 * gst/gstindexfactory.c: (gst_index_factory_get_type),
11505 (gst_index_factory_class_init), (gst_index_factory_init),
11506 (gst_index_factory_finalize), (gst_index_factory_new),
11507 (gst_index_factory_destroy), (gst_index_factory_find),
11508 (gst_index_factory_create), (gst_index_factory_make):
11509 * gst/gstindexfactory.h:
11510 * gst/gstpluginfeature.c:
11511 * gst/gstpluginfeature.h:
11512 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
11513 more docs inlined, splitted gstindex.{c,h}
11515 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11517 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
11520 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
11522 * gst/elements/gstfilesink.c: (gst_file_sink_init):
11523 Set sync to FALSE by default.
11525 2005-09-20 Wim Taymans <wim@fluendo.com>
11527 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11528 (gst_base_sink_init):
11529 Make sync property settable from subclass.
11531 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
11532 (gst_fake_sink_change_state):
11533 Set sync to FALSE by default.
11535 2005-09-20 Wim Taymans <wim@fluendo.com>
11537 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
11538 * tools/gst-launch.c: (main):
11539 The timeout handler should have lower priority than the source
11540 so we don't timeout before popping a message with 0 timeout.
11541 Dump error messages after failed state change.
11543 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
11545 * tools/gst-inspect.c: (print_element_properties_info):
11548 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11550 * check/gst/gstevent.c:
11551 * gst/elements/gstfakesink.c:
11552 * gst/elements/gstfakesink.h:
11553 remove the sync property from fakesink.
11554 has the side effect of setting sync TRUE
11555 for fakesink, which is a change. Anyone who knows how
11556 to fix this nicely in a GObject-y way, feel free.
11558 2005-09-20 Stefan Kost <ensonic@users.sf.net>
11560 * docs/gst/gstreamer-docs.sgml:
11561 remove probe refsection
11563 2005-09-20 Stefan Kost <ensonic@users.sf.net>
11565 * check/Makefile.am:
11566 disable valgrinding the controller test again
11567 * docs/gst/gstreamer-sections.txt:
11568 update for api-changes
11570 2005-09-20 Wim Taymans <wim@fluendo.com>
11572 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11573 (gst_base_sink_set_property), (gst_base_sink_get_property),
11574 (gst_base_sink_do_sync):
11575 * gst/base/gstbasesink.h:
11576 Added sync property to basesink to disable clock sync.
11578 2005-09-20 Andy Wingo <wingo@pobox.com>
11580 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
11581 eating the caller's refcount.
11583 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
11584 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
11587 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
11588 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
11589 of GLib 2.8 public, so we can know which refcount to check in
11592 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
11593 (gst_object_init): Only set the gst refcount if we're going ahead
11594 with the refcount hack.
11596 2005-09-20 Stefan Kost <ensonic@users.sf.net>
11598 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
11599 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
11600 more leaks plumbed, added more debug-logging
11604 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11606 * gst/gstmessage.c:
11607 remove include of gstmemchunk.h
11609 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11611 * gst/gstclock.c: (_gst_clock_id_free):
11612 Commit from the Political Party For More Atomic CVS Commits,
11613 so that people don't waste too much of their day fishing
11614 out obvious leaks out of massive commits.
11615 Oh, and fix a pretty damn obvious leak in the memchunk
11618 2005-09-20 Stefan Kost <ensonic@users.sf.net>
11620 * check/Makefile.am:
11621 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
11622 plug mem-leak, re-add to valgrindable tests
11624 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11627 unbreak the build for those who have chronic arthritis
11628 and typing "make check" is just too taxing on the hands
11630 2005-09-20 Andy Wingo <wingo@pobox.com>
11632 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
11633 really want it out, you should fix plugins at the same time.
11635 2005-09-19 Stefan Kost <ensonic@users.sf.net>
11638 * docs/gst/gstreamer-sections.txt:
11640 added missing symbols to api docs
11641 disable ref-count hack if we have glib >= 2.8
11643 2005-09-19 David Schleef <ds@schleef.org>
11645 * docs/gst/Makefile.am: Ignore a few more internal headers
11646 * docs/gst/gstreamer-docs.sgml: Remove old sections
11647 * docs/gst/gstreamer-sections.txt: Remove old sections
11648 * docs/gst/tmpl/gstobject.sgml: update
11649 * docs/gst/tmpl/gstplugin.sgml: update
11650 * docs/gst/tmpl/gstpluginfeature.sgml: update
11651 * docs/random/ds/0.9-suggested-changes: update.
11652 * gst/Makefile.am: remove memchunk and trashstack, since they're
11654 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
11655 * gst/gst.h: don't include some headers
11656 * gst/gstchildproxy.c: add gstmarshal.h
11657 * gst/gstclock.c: Don't use memchunks
11658 * gst/gstminiobject.c: Add some docs
11659 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
11660 * gst/gstobject.h: same
11661 * gst/gstplugin.c: include gstmacros.h
11662 * gst/gstplugin.h: don't include gstmacros.h, since it's private
11663 * gst/gstquery.c: don't use memchunks
11664 * gst/gstregistry.c: rename gst_registry_deinit()
11665 * gst/gstregistry.h: same
11667 2005-09-19 David Schleef <ds@schleef.org>
11669 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
11670 * docs/libs/gstreamer-libs-sections.txt:
11671 * docs/libs/tmpl/gstgetbits.sgml:
11672 * docs/libs/tmpl/gstputbits.sgml:
11674 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
11676 * win32/gstenumtypes.c:
11677 * win32/gstenumtypes.h:
11680 2005-09-19 Wim Taymans <wim@fluendo.com>
11682 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
11683 Automatically PAUSE and RESUME a pipeline when a flushing seek
11686 2005-09-19 Andy Wingo <wingo@pobox.com>
11688 * gst/gstregistry.h: Spacing fixen.
11690 2005-09-19 Wim Taymans <wim@fluendo.com>
11692 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
11693 Handle state change failure more correctly.
11695 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
11697 * check/Makefile.am:
11698 * check/pipelines/cleanup.c: (run_pipeline):
11699 * check/pipelines/simple_launch_lines.c: (run_pipeline),
11701 enable cleanup again after fixing the leak
11703 some more info on docs
11705 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
11707 * check/Makefile.am:
11708 re-enable tests now that leaks are plugged
11710 * check/gst/gstbin.c:
11711 * check/gst/gstpipeline.c:
11712 add some more tests while fixing leaks
11713 * common/check.mak:
11714 make sure binaries are uptodate when valgrinding/gdbing
11716 * gst/gstelementfactory.c:
11717 remove a ref too many, and add a FIXME for when we get
11718 round to disposing of classes
11720 fix the refcounting when loading a plugin from a file and
11721 the code pretends that the pointer is the same even though
11722 of course it can change
11723 * gst/gstpluginfeature.c:
11724 unref plugins marked cached (a bit confusing as a name)
11725 as the docs state should be done
11726 various doc additions to explain refcounting
11727 * gst/gstregistry.c:
11728 * gst/gstregistryxml.c:
11731 2005-09-19 Wim Taymans <wim@fluendo.com>
11733 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
11734 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11735 (send_messages), (GST_START_TEST), (gstbus_suite):
11736 * check/gst/gstpipeline.c: (GST_START_TEST):
11737 * check/pipelines/cleanup.c: (run_pipeline):
11738 * check/pipelines/simple_launch_lines.c: (run_pipeline),
11740 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
11741 (gst_bus_source_check), (gst_bus_source_dispatch),
11742 (gst_bus_create_watch), (gst_bus_add_watch_full),
11743 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
11745 * tools/gst-launch.c: (event_loop):
11746 * tools/gst-md5sum.c: (event_loop):
11747 GstBusHandler -> GstBusFunc, return value has the same meaning as
11748 any other GSource (FALSE == remove source).
11749 _add_watch() and _add_watch_full() now take a MessageType mask to
11750 only handle specific types of messages.
11751 _poll() returns the GstMessage instead of the message type to avoid
11753 _have_pending() takes a MessageType mask now too.
11754 Added testsuite for multiple bus watches.
11755 Fix testsuites and applications for new bus API.
11757 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
11759 * check/Makefile.am:
11760 mark a bunch of the tests as to fix until we fix them
11762 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
11764 * common/check.mak:
11765 use GST_PLUGIN settings for valgrind tests as well, so we're
11766 valgrinding the correct thing
11767 * gst/gst.c: (init_post):
11770 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
11772 * gst/gst.c: (init_post), (gst_deinit):
11773 * gst/gstelementfactory.c: (gst_element_factory_class_init),
11774 (gst_element_factory_finalize), (gst_element_factory_cleanup):
11775 * gst/gstindex.c: (gst_index_factory_class_init),
11776 (gst_index_factory_finalize):
11777 * gst/gstobject.c: (gst_object_dispose):
11778 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
11779 (gst_plugin_load_file), (gst_plugin_desc_free):
11780 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
11781 (gst_plugin_feature_finalize):
11782 * gst/gstregistry.c: (gst_registry_class_init),
11783 (gst_registry_init), (gst_registry_finalize),
11784 (gst_registry_get_default), (gst_registry_deinit):
11785 * gst/gstregistry.h:
11786 * gst/gstregistryxml.c: (load_feature), (load_plugin):
11787 various cleanups and memleak plugging. make valgrind is happy now.
11789 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
11791 * common/check.mak:
11792 add a check-valgrind target
11794 2005-09-18 David Schleef <ds@schleef.org>
11796 * tools/gst-inspect.c: Revert the GOption code.
11798 2005-09-17 David Schleef <ds@schleef.org>
11800 * check/Makefile.am: Fix environment variables.
11801 * check/gst/gstplugin.c: Fix for API changes.
11802 * tools/gst-inspect.c: Fix for API changes.
11803 * tools/gst-xmlinspect.c: Fix for API changes.
11804 * gst/gstelementfactory.c:
11807 * gst/gstpluginfeature.c:
11808 * gst/gstpluginfeature.h:
11809 * gst/gstregistry.c:
11810 * gst/gstregistry.h:
11811 * gst/gstregistryxml.c:
11812 * gst/gsttypefind.c:
11813 * gst/gsttypefindfactory.c:
11814 * gst/indexers/gstfileindex.c:
11815 * gst/indexers/gstmemindex.c:
11816 * gst/schedulers/Makefile.am:
11817 Change registry to keep track of both plugins and features,
11818 removing the feature tracking from plugins themselves.
11820 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
11822 * check/Makefile.am:
11823 * tools/gst-register.1.in:
11824 remove gst-register
11826 2005-09-15 David Schleef <ds@schleef.org>
11828 * check/gst/gstplugin.c:
11829 * gst/gstelementfactory.c:
11831 * gst/gstpluginfeature.c:
11832 * gst/gstregistry.c:
11833 Getting tired of debugging. Disabled all the unreffing of
11834 plugins and features, which fixes the segfaults, but of
11835 course leaks like crazy. At least playbin works.
11837 2005-09-15 David Schleef <ds@schleef.org>
11839 * check/gst/gstplugin.c: (register_check_elements),
11840 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
11842 * gst/elements/gsttypefindelement.c: Fix refcounting.
11843 * gst/gsttypefind.c:
11844 * gst/gsttypefindfactory.c:
11845 * gst/gsttypefindfactory.h:
11847 2005-09-15 David Schleef <ds@schleef.org>
11849 * gst/gstindex.c: get refcounting correct.
11850 * gst/gstregistry.c: Handle the case where a feature/plugin is
11853 2005-09-15 David Schleef <ds@schleef.org>
11855 * check/Makefile.am:
11856 * check/gst/gstplugin.c: Add test
11857 * gst/gstplugin.c: Fix problems noticed by testsuite
11859 * gst/gstregistry.c:
11860 * gst/gstregistry.h:
11862 2005-09-15 David Schleef <ds@schleef.org>
11864 * gst/gstplugin.c: Implement semi-decent recounting and locking
11865 in plugins and plugin features.
11867 * gst/gstpluginfeature.c:
11868 * gst/gstpluginfeature.h:
11869 * gst/gstregistry.c:
11871 2005-09-15 Michael Smith <msmith@fluendo.com>
11873 * gst/gstregistry.c: (gst_registry_get_feature_list):
11874 Implement this. Makes oggdemux work; decodebin still broken.
11876 2005-09-14 David Schleef <ds@schleef.org>
11878 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
11880 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
11881 * gst/check/Makefile.am:
11882 * libs/gst/controller/Makefile.am:
11883 * libs/gst/dataprotocol/Makefile.am:
11885 2005-09-14 David Schleef <ds@schleef.org>
11887 * configure.ac: Remove getbits library. Nothing uses it, and
11888 it should be in something like liboil if someone did want
11890 * libs/gst/Makefile.am:
11891 * libs/gst/getbits/Makefile.am:
11892 * libs/gst/getbits/gbtest.c:
11893 * libs/gst/getbits/getbits.c:
11894 * libs/gst/getbits/getbits.h:
11895 * libs/gst/getbits/gstgetbits_generic.c:
11896 * libs/gst/getbits/gstgetbits_i386.s:
11897 * libs/gst/getbits/gstgetbits_inl.h:
11899 2005-09-14 David Schleef <ds@schleef.org>
11901 * gst/Makefile.am: Dist glib-compat.h
11903 2005-09-14 David Schleef <ds@schleef.org>
11905 * configure.ac: Remove gst/registries, since it's no longer used.
11906 * gst/registries/Makefile.am:
11907 * gst/registries/gstlibxmlregistry.c:
11908 * gst/registries/gstlibxmlregistry.h:
11909 * gst/registries/gstxmlregistry.c:
11910 * gst/registries/gstxmlregistry.h:
11911 * gst/registries/registrytest.c:
11913 2005-09-14 David Schleef <ds@schleef.org>
11915 * gst/glib-compat.h:
11916 * gst/gstregistryxml.c:
11917 Convergence is near. Seriously.
11919 2005-09-14 David Schleef <ds@schleef.org>
11921 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11922 * gst/glib-compat.h:
11923 Attempt #4 to appease the buildbots.
11925 2005-09-14 David Schleef <ds@schleef.org>
11927 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11930 2005-09-14 David Schleef <ds@schleef.org>
11932 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11935 2005-09-14 David Schleef <ds@schleef.org>
11937 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
11940 2005-09-14 David Schleef <ds@schleef.org>
11942 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11943 * gst/glib-compat.h: Add some functions that are in newer versions
11944 of glib than we care to require.
11945 * gst/gstregistryxml.c: Use them.
11947 2005-09-14 David Schleef <ds@schleef.org>
11949 * po/POTFILES.in: remove gst-register.c
11951 2005-09-14 David Schleef <ds@schleef.org>
11953 * docs/gst/gstreamer-docs.sgml:
11954 * docs/gst/gstreamer-sections.txt:
11955 * docs/gst/gstreamer.types:
11956 * docs/gst/tmpl/gstelement.sgml:
11957 * docs/gst/tmpl/gstplugin.sgml:
11958 * docs/gst/tmpl/gstpluginfeature.sgml:
11959 Documentation updates for registry changes.
11961 2005-09-14 David Schleef <ds@schleef.org>
11963 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
11964 because we don't require glib-2.8.
11966 2005-09-14 David Schleef <ds@schleef.org>
11968 * gst/gstregistryxml.c: Added. Essentially moved out of the
11969 registries directory.
11971 2005-09-14 David Schleef <ds@schleef.org>
11973 * check/Makefile.am:
11974 * check/generic/states.c:
11978 * gst/gst_private.h:
11979 * gst/gstelementfactory.c:
11984 * gst/gstpluginfeature.c:
11985 * gst/gstpluginfeature.h:
11986 * gst/gstregistry.c:
11987 * gst/gstregistry.h:
11988 * gst/gstregistrypool.c: remove
11989 * gst/gstregistrypool.h: remove
11990 * gst/gsttypefind.c:
11991 * gst/gsttypefindfactory.c:
11993 * tools/Makefile.am:
11994 * tools/gst-compprep.c:
11995 * tools/gst-inspect.c:
11996 * tools/gst-register.c: remove
11997 * tools/gst-xmlinspect.c:
11998 Registry rewrite. Changes registry from being a file created
11999 by a tool into a simple cache file created automatically by
12000 libgstreamer. Removed gst-register (because it's no longer
12001 needed). Remove registry pools, because we only have one
12002 registry implementation (XML). Fix up other subsystems as
12005 2005-09-13 Michael Smith <msmith@fluendo.com>
12007 * gst/gstconfig.h.in:
12008 Don't Use windows linking attributes for MinGW. Fixes #316157
12010 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
12012 * gst/gstutils.c: (set_state_async_thread_func),
12013 (gst_element_set_state_async):
12014 Apparently people think it's better if this function doesn't
12015 try to set the state to whatever state was asked for on the first
12016 call to this function for any object. Seriously.
12018 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
12020 * check/gst/gstpipeline.c: (GST_START_TEST):
12021 * docs/gst/gstreamer-sections.txt:
12022 * gst/gstutils.c: (set_state_async_thread_func),
12023 (gst_element_set_state_async):
12025 add a "gst_element_set_state_async" method that
12026 sets the state and starts a thread to make sure the state
12027 change completes as best as it can
12029 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
12031 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12032 codify design+behaviour in testsuite after discussion
12034 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
12036 * docs/gst/tmpl/gstelement.sgml:
12037 * docs/manual/appendix-quotes.xml:
12039 * gst/gstelement.c: (gst_element_set_state):
12042 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
12044 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12045 (gst_base_transform_prepare_output_buf),
12046 (gst_base_transform_handle_buffer):
12047 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
12048 (gst_capsfilter_prepare_buf):
12049 Remove the requirement for sub-classes to call the parent
12050 implementation of prepare_output_buffer with a wrapper function.
12052 * gst/gsttaglist.h:
12053 * gst/gsttagsetter.h:
12054 Fix #define wrapper
12056 2005-09-11 Stefan Kost <ensonic@users.sf.net>
12058 * docs/gst/gstreamer-sections.txt:
12061 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
12063 * docs/gst/gstreamer-sections.txt:
12064 * docs/gst/tmpl/gstelement.sgml:
12065 * docs/gst/tmpl/gstplugin.sgml:
12066 * gst/gstminiobject.c:
12068 docs now stop throwing warnings
12070 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
12072 * docs/gst/gstreamer-sections.txt:
12073 * docs/gst/gstreamer.types:
12074 * docs/gst/tmpl/gstpad.sgml:
12075 * docs/gst/tmpl/gsttypes.sgml:
12076 * gst/base/gstadapter.h:
12077 * gst/base/gstbasesink.h:
12078 * gst/base/gstbasesrc.h:
12084 * gst/gstelement.h:
12086 * gst/gstmessage.h:
12088 * gst/gststructure.c:
12089 * gst/registries/gstlibxmlregistry.h:
12090 various documentation fixes
12092 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
12094 * docs/gst/gstreamer-sections.txt:
12095 * docs/gst/tmpl/gstvalue.sgml:
12096 rearrange gstvalue section
12097 * gst/gstutils.c: (gst_element_state_get_name):
12099 * gst/gstvalue.c: (_gst_value_initialize):
12103 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
12105 * check/gst-libs/controller.c:
12106 Header include fix.
12107 * gst/base/gstbasetransform.c:
12108 (gst_base_transform_default_prepare_buf),
12109 (gst_base_transform_handle_buffer):
12110 * gst/base/gstbasetransform.h:
12111 Some more basetransform changes and fixes to enable sub-classes
12112 that modify buffer metadata only.
12113 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
12114 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
12115 (gst_capsfilter_prepare_buf):
12116 If the output pad has fixed allowed caps and input buffers
12117 don't have any, set the fixed caps on outgoing buffers.
12119 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
12120 * check/elements/identity.c: (GST_START_TEST):
12121 Make the error a little clearer when the test fails because
12122 identity made a copy of the buffer.
12123 * docs/gst/gstreamer-sections.txt:
12124 New symbols in gstbasetransform.h
12125 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12126 (gst_base_transform_init), (gst_base_transform_transform_size),
12127 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12128 (gst_base_transform_default_prepare_buf),
12129 (gst_base_transform_get_unit_size),
12130 (gst_base_transform_buffer_alloc),
12131 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
12132 (gst_base_transform_change_state),
12133 (gst_base_transform_set_passthrough),
12134 (gst_base_transform_set_in_place),
12135 (gst_base_transform_is_in_place):
12136 * gst/base/gstbasetransform.h:
12137 Change BaseTransform to separate in_place operate from same_caps
12138 output. in_place implies that the element can perform the transform
12139 on incoming buffers in-place, even if the caps on the output are
12141 Sub-class elements can now implement special buffer allocation
12142 methods for outgoing buffers if they wish to.
12143 Big documentation addition.
12144 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
12145 * gst/elements/gstelements.c:
12146 Changes for basetransform modifications.
12147 * gst/elements/Makefile.am:
12148 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
12149 Compile fix. Extra debug output.
12151 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
12153 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
12155 add tests for valid pad naming
12156 * gst/check/gstcheck.c: (gst_check_log_message_func),
12157 (gst_check_log_critical_func):
12159 remove printing of code, it is fragile when the code contains
12160 % and the line number is enough info
12161 * gst/check/gstcheck.h:
12162 * gst/gstpad.c: (gst_pad_template_new):
12165 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
12168 say what CHECK flags we use
12169 * docs/libs/gstreamer-libs.types:
12170 * libs/gst/controller/Makefile.am:
12171 * libs/gst/controller/gst-controller.c:
12172 * libs/gst/controller/gst-controller.h:
12173 * libs/gst/controller/gst-helper.c:
12174 * libs/gst/controller/gst-interpolation.c:
12175 * libs/gst/controller/gstcontroller.c:
12176 * libs/gst/controller/gsthelper.c:
12177 * libs/gst/controller/gstinterpolation.c:
12178 * tools/gst-inspect.c: (print_plugin_info):
12179 we don't use dashes in header names
12181 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
12183 * check/Makefile.am:
12184 * check/gst/.cvsignore:
12185 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
12186 (gst_pipeline_suite), (main):
12187 adding a test for pipelines and state changes
12188 * gst/gstutils.c: (get_state_func):
12190 * gstreamer.spec.in:
12193 2005-09-08 Michael Smith <msmith@fluendo.com>
12195 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
12196 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
12197 (gst_file_src_is_seekable), (gst_file_src_get_size),
12198 (gst_file_src_start):
12199 * gst/elements/gstfilesrc.h:
12200 Various fixes for unseekable, unmmapable, and non-normal files, so
12201 that fallback to read() rather than mmap() works.
12202 * gst/gstevent.c: (gst_event_new_newsegment):
12203 Allow newsegment events with segment_start == segment_end, as will
12204 correctly happen if you use filesrc on a zero-size file, for
12207 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
12209 * gst/gstplugin.c: (gst_plugin_load_file):
12210 Call g_module_close when we don't load the module
12212 * gst/registries/gstlibxmlregistry.c:
12213 (gst_xml_registry_get_property):
12214 Port leak fix from 0.8
12216 2005-09-07 Stefan Kost <ensonic@users.sf.net>
12218 * docs/gst/gstreamer-docs.sgml:
12219 * docs/gst/tmpl/.cvsignore:
12220 * docs/gst/tmpl/gsttrace.sgml:
12221 * docs/gst/tmpl/gsttrashstack.sgml:
12224 * gst/gstelement.h:
12226 * gst/gstmessage.c:
12227 * gst/gstmessage.h:
12230 * gst/gsttaginterface.c:
12231 * gst/gsttaginterface.h:
12232 * gst/gsttaglist.c:
12233 * gst/gsttaglist.h:
12234 * gst/gsttagsetter.c:
12235 * gst/gsttagsetter.h:
12238 * gst/gsttrashstack.c:
12239 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
12240 inlined docs for gsttrace, gsttrashstack
12242 2005-09-07 Stefan Kost <ensonic@users.sf.net>
12245 * gst/elements/gstbufferstore.h:
12246 * gst/elements/gsttypefindelement.c:
12247 * gst/elements/gsttypefindelement.h:
12249 * gst/gsttypefind.c:
12250 * gst/gsttypefind.h:
12251 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
12252 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
12253 (gst_type_find_factory_dispose),
12254 (gst_type_find_factory_unload_thyself),
12255 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
12256 (gst_type_find_factory_get_caps),
12257 (gst_type_find_factory_get_extensions),
12258 (gst_type_find_factory_call_function):
12259 * gst/gsttypefindfactory.h:
12260 * gst/registries/gstlibxmlregistry.c:
12261 * gst/registries/gstxmlregistry.c:
12262 splitted gsttypefind into gsttypefind, gsttypefindfactory
12264 2005-09-07 Andy Wingo <wingo@pobox.com>
12266 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
12267 condition whereby the pad's task function is entered before the
12268 pad_mode variable was set.
12270 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
12272 * gst/gstpad.c: (gst_pad_alloc_buffer):
12273 Catch misbehaving pad_alloc functions that don't
12274 set up caps and do it for them.
12276 2005-09-07 Stefan Kost <ensonic@users.sf.net>
12278 * check/pipelines/simple_launch_lines.c: (run_pipeline):
12279 test for pipe!=NULL
12280 * docs/gst/tmpl/.cvsignore:
12281 * docs/gst/tmpl/gstmemchunk.sgml:
12282 * docs/gst/tmpl/gstparse.sgml:
12283 * docs/gst/tmpl/gsttaglist.sgml:
12284 * docs/gst/tmpl/gsttagsetter.sgml:
12285 * docs/gst/tmpl/gsttypefind.sgml:
12286 * docs/gst/tmpl/gsttypefindfactory.sgml:
12287 * gst/gstmemchunk.c:
12290 * gst/gsttaginterface.c:
12291 * gst/gsttypefind.c:
12292 * gst/gsttypefind.h:
12295 === release 0.9.2 ===
12297 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
12302 releasing 0.9.2, "South"
12304 2005-09-05 Andy Wingo <wingo@pobox.com>
12306 * gst/registries/gstxmlregistry.h:
12307 * gst/registries/gstxmlregistry.c: Um... resurrect...
12309 * gst/registries/gstxmlregistry.h:
12310 * gst/registries/gstxmlregistry.c: and update to newer API.
12311 Incidentally they should be a bit faster now that they don't have
12314 2005-09-05 Andy Wingo <wingo@pobox.com>
12316 * gst/registries/gstxmlregistry.h:
12317 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
12318 replaced by the libxml registry a while back
12320 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
12322 * docs/gst/tmpl/gstplugin.sgml:
12323 * gst/elements/gstelements.c:
12325 * gst/gstplugin.c: (gst_plugin_register_func),
12326 (gst_plugin_desc_copy), (gst_plugin_desc_free),
12327 (gst_plugin_get_source):
12329 * gst/registries/gstlibxmlregistry.c: (load_plugin),
12330 (gst_xml_registry_save_plugin):
12331 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
12332 (gst_xml_registry_save_plugin):
12333 * tools/gst-inspect.c: (print_plugin_info):
12334 add a "source" plugin description field, to represent the source
12335 module this plugin is a part of. By default GST_PLUGIN_DEFINE
12336 will set it to PACKAGE, which is automake's idea of the name of
12337 the source project.
12339 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
12344 * docs/Makefile.am:
12345 * docs/faq/Makefile.am:
12346 * docs/gst/tmpl/gstelement.sgml:
12347 * docs/gst/tmpl/gsttypes.sgml:
12348 * docs/htmlinstall.mak:
12349 * docs/manual/Makefile.am:
12350 * docs/pwg/Makefile.am:
12351 reorganize doc build a little
12352 split out docbook and gtk-doc stuff
12353 have two separate --enable's and enable them through autogen
12354 but disable by default in configure (to be similar to other
12356 * gstreamer.spec.in:
12357 clean up docs install
12375 translation updates
12377 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
12379 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
12382 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12383 (gst_fake_sink_change_state):
12384 Make state change function thread-safe.
12386 * gst/gstpad.c: (gst_pad_alloc_buffer):
12387 Set offset on generic buffer allocated by fallback.
12389 2005-09-03 Stefan Kost <ensonic@users.sf.net>
12391 * docs/gst/gstreamer-sections.txt:
12392 * docs/gst/tmpl/gstelement.sgml:
12394 * libs/gst/controller/gst-controller.c:
12395 (gst_controlled_property_set_interpolation_mode),
12396 (gst_controlled_property_new),
12397 (gst_controller_find_controlled_property):
12398 run the wingo-magic script against the docs
12400 2005-09-02 Stefan Kost <ensonic@users.sf.net>
12402 * docs/gst/gstreamer-docs.sgml:
12403 * docs/gst/gstreamer-sections.txt:
12404 * docs/gst/tmpl/.cvsignore:
12405 * docs/gst/tmpl/gstelementdetails.sgml:
12406 * docs/gst/tmpl/gstelementfactory.sgml:
12409 * gst/gstelementfactory.c:
12410 * gst/gstelementfactory.h:
12411 merged elementdetails docs into elementfactory docs
12414 2005-09-02 Andy Wingo <wingo@pobox.com>
12416 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
12417 consider this enum an enum and not a flags.
12419 2005-09-02 Stefan Kost <ensonic@users.sf.net>
12421 * docs/gst/gstreamer-docs.sgml:
12422 * docs/gst/tmpl/.cvsignore:
12423 * docs/gst/tmpl/gstghostpad.sgml:
12424 * docs/gst/tmpl/gstiterator.sgml:
12425 * docs/gst/tmpl/gstmacros.sgml:
12426 * docs/gst/tmpl/gstrealpad.sgml:
12427 * docs/gst/tmpl/gstregistry.sgml:
12428 * docs/gst/tmpl/gstregistrypool.sgml:
12429 * docs/gst/tmpl/gststructure.sgml:
12430 * docs/gst/tmpl/gstsystemclock.sgml:
12431 * docs/gst/tmpl/gsttrace.sgml:
12432 * gst/gstghostpad.c:
12434 * gst/gstmemchunk.c:
12435 * gst/gstmemchunk.h:
12437 * gst/gstregistry.c:
12438 * gst/gstregistrypool.c:
12439 * gst/gststructure.c:
12440 * gst/gstsystemclock.c:
12443 2005-09-02 Andy Wingo <wingo@pobox.com>
12445 * gst/gstelement.h (GstState): Renamed from GstElementState,
12446 changed to be a normal enum instead of flags.
12447 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
12448 munged to be GST_STATE_CHANGE_*.
12449 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
12450 work with the new state representation.
12451 (GstStateChange): New enumeration of possible state transitions.
12452 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
12453 (GstElementClass::change_state): Pass the GstStateChange along as
12454 an argument. Helps language bindings, so they don't have to use
12455 tricky lock-needing macros like GST_STATE_CHANGE ().
12457 * scripts/update-states (file): New script. Run it on a file to
12458 update it for state naming and API changes. Updates files in
12461 * All files updated for the new API.
12463 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
12465 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
12466 * gst/gstutils.c: (gst_util_set_value_from_string),
12467 (gst_util_set_object_arg):
12468 fix a bunch of unchecked return values
12469 * tools/gst-complete.c: (main):
12470 * gstreamer.spec.in:
12473 2005-09-01 Wim Taymans <wim@fluendo.com>
12475 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12476 (gst_base_sink_event), (gst_base_sink_do_sync),
12477 (gst_base_sink_handle_event):
12478 * gst/base/gstbasesink.h:
12479 Handle newsegments more correctly.
12484 * gst/gstevent.c: (gst_event_new_newsegment):
12485 A newsegment cannot have a start_time of -1
12487 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
12489 * win32/gstenumtypes.c:
12490 * win32/gstenumtypes.h:
12493 2005-08-31 Stefan Kost <ensonic@users.sf.net>
12495 * libs/gst/controller/gst-controller.c:
12496 (gst_controlled_property_set_interpolation_mode),
12497 (gst_controlled_property_new):
12498 fixed boolean again
12500 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
12502 * docs/faq/gst-uninstalled:
12507 * gst/gstutils.c: (gst_element_link_filtered):
12509 add gst_element_link_filtered
12511 2005-08-31 Stefan Kost <ensonic@users.sf.net>
12513 * docs/gst/gstreamer-docs.sgml:
12514 * docs/gst/gstreamer-sections.txt:
12515 * docs/gst/tmpl/.cvsignore:
12516 * docs/gst/tmpl/gsterror.sgml:
12517 * docs/gst/tmpl/gstfilter.sgml:
12518 * docs/gst/tmpl/gsturihandler.sgml:
12519 * docs/gst/tmpl/gsturitype.sgml:
12520 * docs/gst/tmpl/gstutils.sgml:
12521 * docs/gst/tmpl/gstxml.sgml:
12526 * gst/gsturitype.c:
12529 inlined more docs, fixed double id-ref
12531 2005-08-31 Wim Taymans <wim@fluendo.com>
12533 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
12534 (gst_base_transform_handle_buffer):
12535 Passthrough elements don't need the caps as they don't care.
12537 2005-08-31 Wim Taymans <wim@fluendo.com>
12539 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
12540 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
12541 Don't leak refcounts on buffers.
12543 2005-08-31 Wim Taymans <wim@fluendo.com>
12545 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
12546 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12547 (gst_base_transform_chain), (gst_base_transform_change_state):
12548 * gst/base/gstbasetransform.h:
12549 Handle the case where we are not negotiated more gracefully.
12551 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
12553 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
12554 (gst_file_src_map_region):
12555 Set READONLY flag on mmap'ed buffers, otherwise
12556 gst_buffer_make_writable() won't work properly (#314708).
12558 2005-08-31 Wim Taymans <wim@fluendo.com>
12560 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
12561 passthrough elements can even do inplace on non writable
12562 buffers (as they don't touch them).
12564 2005-08-31 Stefan Kost <ensonic@users.sf.net>
12566 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
12567 (gst_test_mono_source_set_property),
12568 (gst_test_mono_source_class_init), (GST_START_TEST),
12569 (gst_controller_suite):
12570 more tests (hehe I have the most)
12572 describe popping messages whenusing mulltiple sources
12573 * libs/gst/controller/gst-controller.c:
12574 (gst_controlled_property_set_interpolation_mode),
12575 (gst_controlled_property_new):
12576 * libs/gst/controller/gst-controller.h:
12577 * libs/gst/controller/gst-interpolation.c:
12578 implement boolean properties
12580 2005-08-31 Wim Taymans <wim@fluendo.com>
12582 * gst/gstminiobject.c: (gst_mini_object_ref):
12583 Cannot assert that the refcount has to be positive
12584 since a disposed object can be resurrected.
12586 2005-08-31 Wim Taymans <wim@fluendo.com>
12588 * gst/gstpad.c: (gst_pad_init):
12589 Revert change, need to first fix badly behaving
12592 2005-08-30 Wim Taymans <wim@fluendo.com>
12594 * check/elements/fakesrc.c: (setup_fakesrc):
12595 * check/elements/identity.c: (setup_identity):
12596 Activate pads before using them.
12598 2005-08-30 Wim Taymans <wim@fluendo.com>
12600 * gst/base/gstadapter.c: (gst_adapter_flush):
12601 Flushing out 0 bytes is ok for this function.
12603 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12604 no newsegment gives a warning and sets the start/stop to
12607 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
12608 (gst_base_transform_set_passthrough):
12611 * gst/gstminiobject.c: (gst_mini_object_ref):
12612 Check refcount here too.
12614 * gst/gstpad.c: (gst_pad_init):
12615 Pads are initially flushing and refusing data.
12617 * gst/gstutils.c: (gst_element_link_pads_filtered):
12618 When adding a capsfilter element make sure it has the
12619 same state as the parent bin.
12621 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12623 * docs/gst/tmpl/.cvsignore:
12624 * docs/gst/tmpl/gstformat.sgml:
12625 * docs/gst/tmpl/gstversion.sgml:
12629 * gst/gstversion.h.in:
12630 more docs and two more inlined
12632 2005-08-30 Wim Taymans <wim@fluendo.com>
12634 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
12635 Don't sync to clock.
12637 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12639 * docs/gst/gstreamer-sections.txt:
12640 ultral33t func10ns deserve to appear in the docs actually
12641 * docs/gst/tmpl/.cvsignore:
12642 * docs/gst/tmpl/gstcompat.sgml:
12643 * docs/gst/tmpl/gstconfig.sgml:
12644 * gst/check/gstcheck.c:
12646 * gst/gstconfig.h.in:
12649 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12651 * docs/gst/tmpl/.cvsignore:
12652 * docs/gst/tmpl/gstquery.sgml:
12653 * docs/gst/tmpl/gstutils.sgml:
12656 inlined and extended docs
12658 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12660 * check/gst-libs/controller.c: (GST_START_TEST),
12661 (gst_controller_suite):
12663 * docs/gst/tmpl/gstutils.sgml:
12664 * docs/libs/gstreamer-libs-sections.txt:
12665 * docs/libs/tmpl/gstdataprotocol.sgml:
12667 * examples/controller/audio-example.c: (main):
12668 controller example works now
12671 * tools/gst-inspect.c: (print_element_properties_info):
12672 show param spec flags
12674 2005-08-29 Andy Wingo <wingo@pobox.com>
12676 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
12678 2005-08-28 Andy Wingo <wingo@pobox.com>
12680 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
12681 as having two arguments instead of just one. Allows superclasses
12682 to access information on subclasses -- see the terrible for() loop
12683 in gtype.c:g_type_create_instance for the reason why. All callers
12686 2005-08-27 Stefan Kost <ensonic@users.sf.net>
12688 * docs/design/part-messages.txt:
12690 * docs/gst/tmpl/.cvsignore:
12691 * docs/gst/tmpl/gstcaps.sgml:
12692 * docs/gst/tmpl/gstclock.sgml:
12698 * gst/gstmessage.c:
12699 added descriptions for bus and message
12700 inline caps and clock docs
12702 2005-08-27 Stefan Kost <ensonic@users.sf.net>
12704 * gst/gstmessage.c:
12705 * gst/gstmessage.h:
12708 2005-08-27 Stefan Kost <ensonic@users.sf.net>
12710 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12713 2005-08-26 Andy Wingo <wingo@pobox.com>
12715 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
12716 element_set_state's return val.
12717 (test_2_elements): Add test that's been disabled for months.
12719 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
12720 can-activate-pull properties.
12722 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
12723 can-activate-pull properties. Implement is_seekable so fakesrc can
12724 operate in pull mode.
12726 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
12728 (gst_base_sink_activate, gst_base_sink_activate_pull)
12729 (gst_base_sink_activate_push): Make activation mode choosing work.
12731 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
12732 is right. Make pull mode work. Post an eos before pausing in pull
12734 (gst_base_sink_change_state): Pay attention to the core's
12735 change_state() return val.
12737 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
12738 has-getrange properties. Cleanups.
12740 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
12741 has_getrange and replace with can_activate_pull and
12744 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
12745 locking comments. Remove has_loop, has_chain and replace with
12746 can_activate_pull and can_activate_push.
12748 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
12751 * examples/Makefile.am:
12752 * examples/metadata/Makefile.am:
12753 * examples/metadata/read-metadata.c: (message_loop),
12754 (have_pad_handler), (make_pipeline), (print_tag), (main):
12755 Add metadata reading example that loops over a list of filenames,
12756 dumping any tags found.
12758 * gst/gstbus.c: (gst_bus_dispose):
12759 * gst/gstelement.c: (gst_element_dispose):
12760 Release a few potentially-held references in dispose.
12762 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12764 * docs/gst/tmpl/gstminiobject.sgml:
12765 do *not* add tmpl/*.sgml files to CVS!
12767 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12769 * libs/gst/bytestream/.cvsignore:
12770 * libs/gst/bytestream/Makefile.am:
12771 * libs/gst/bytestream/adapter.c:
12772 * libs/gst/bytestream/adapter.h:
12773 * libs/gst/bytestream/bytestream.c:
12774 * libs/gst/bytestream/bytestream.h:
12775 * libs/gst/bytestream/filepad.c:
12776 * libs/gst/bytestream/filepad.h:
12777 removing obsolete files
12779 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12781 * docs/gst/gstreamer-docs.sgml:
12782 * docs/libs/gstreamer-libs-docs.sgml:
12783 disabed additional index entries again, as this makes docs-gen just
12784 slow and they aren't useful yet
12785 * docs/libs/gstreamer-libs-sections.txt:
12786 little -section.txt cleanup for libs
12788 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
12790 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12791 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
12792 fix up some debugging
12793 (gst_base_transform_get_unit_size),
12794 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
12795 (gst_base_transform_handle_buffer):
12796 * gst/base/gstbasetransform.h:
12797 handle and store timed NEWSEGMENT events so that subclasses that
12798 calculate time by counting samples have a segment_start time they
12799 need to add to their timestamps - see audioresample
12801 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12804 removed ';' from the end of macro defs
12805 * docs/gst/gstreamer-docs.sgml:
12806 * docs/gst/gstreamer-sections.txt:
12807 * docs/gst/tmpl/.cvsignore:
12809 * gst/gstelement.c: (gst_element_class_init),
12810 (gst_element_set_state), (activate_pads),
12811 (gst_element_save_thyself):
12812 * gst/gstevent.c: (gst_event_new_newsegment):
12814 * gst/gstiterator.c:
12815 * gst/gstiterator.h:
12818 * gst/gstutils.c: (gst_pad_query_convert):
12820 fixed parameter name mismatches between source, header and docs
12821 added some more docs, resolved the last batch of unused elements in
12822 docs (now someone needs to doc them)
12824 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
12826 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
12827 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
12828 don't walk through the plugins backwards. Where is all this
12829 reversed logic coming from ?
12831 2005-08-25 Wim Taymans <wim@fluendo.com>
12833 * gst/base/gstbasetransform.c: (gst_base_transform_init),
12834 (gst_base_transform_transform_size),
12835 (gst_base_transform_configure_caps),
12836 (gst_base_transform_get_unit_size),
12837 (gst_base_transform_buffer_alloc),
12838 (gst_base_transform_change_state):
12839 * gst/base/gstbasetransform.h:
12840 Cache caps unit_size.
12841 Make sure we cannot negotiate up and downstream at the
12844 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
12846 * gst/gst.c: (init_pre), (init_post):
12847 register the installed plugin path after the env var
12848 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
12849 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
12850 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
12851 directories, so the tests can prefer uninstalled over installed
12853 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
12855 * gst/base/gstbasetransform.h:
12860 2005-08-25 Wim Taymans <wim@fluendo.com>
12862 * gst/gstbin.c: (bin_bus_handler):
12863 Be a bit more conservative about the posted message.
12865 * gst/gstbus.c: (gst_bus_post):
12866 Some cleanups, warn wrong return values.
12868 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
12870 * check/gst/gstbin.c: (GST_START_TEST):
12871 * gst/gstbin.c: (bin_bus_handler):
12872 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12873 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12874 (gst_message_new_warning), (gst_message_new_tag),
12875 (gst_message_new_state_changed), (gst_message_new_segment_start),
12876 (gst_message_new_segment_done), (gst_message_new_custom):
12877 * gst/gstmessage.h:
12878 * tools/gst-launch.c: (event_loop):
12879 * tools/gst-md5sum.c: (event_loop):
12880 Revert unpopular change for GST_MESSAGE_SRC to GObject.
12882 2005-08-25 Wim Taymans <wim@fluendo.com>
12884 * check/generic/states.c: (GST_START_TEST):
12885 Cleanup can be done at the end.
12887 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
12888 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12889 (gst_task_get_state), (gst_task_start), (gst_task_pause):
12890 Oh boy.. Thanks for finding this, Thomas.
12892 2005-08-25 Stefan Kost <ensonic@users.sf.net>
12894 * docs/gst/gstreamer.types:
12895 added missing types
12897 2005-08-25 Stefan Kost <ensonic@users.sf.net>
12899 * docs/gst/gstreamer-docs.sgml:
12900 * docs/gst/gstreamer-sections.txt:
12901 * docs/gst/tmpl/.cvsignore:
12903 * gst/gstiterator.c:
12905 * gst/registries/gstxmlregistry.h:
12906 added missing classes and symbols (123 more to go)
12907 removed removed symbols from section file
12908 fixed many doc-comments
12910 2005-08-24 Wim Taymans <wim@fluendo.com>
12912 * check/generic/states.c: (GST_START_TEST):
12913 Make sure all tasks are stopped.
12915 * check/gst/gstbin.c: (GST_START_TEST):
12916 Unref after usage for proper valgrinding.
12918 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
12919 Really wait for the task to stop before destroying the
12922 * gst/gstqueue.c: (gst_queue_sink_activate_push),
12923 (gst_queue_src_activate_push):
12924 Small cleanups. Don't stop the task when we did not start
12927 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
12928 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12929 (gst_task_get_state), (gst_task_start), (gst_task_pause),
12932 Protect the stream lock with the object lock.
12933 Disallow setting the stream lock when running.
12934 Add cleanup_all to wait for the threadpool to finish.
12935 Remove code to autoallocate a mutex if none was provided.
12936 Add _join() to wait for a task to stop.
12937 Protect the thread pool with a global lock.
12939 2005-08-24 Wim Taymans <wim@fluendo.com>
12941 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12942 (gst_base_sink_get_times), (gst_base_sink_do_sync),
12943 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
12944 * gst/base/gstbasesink.h:
12945 Handle newsegment events correctly.
12946 Drop buffers out of the segment range.
12948 2005-08-22 Andy Wingo <wingo@pobox.com>
12950 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
12951 macro, implements an interface and gstimplementsinterface for a
12954 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
12956 * check/Makefile.am:
12957 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
12958 add a test that does a bunch of state changes on elements
12959 needs some fixing for valgrind
12960 * check/states/sinks.c: (gst_object_suite):
12963 add prototype for gst_caps_is_equal_fixed
12965 * gst/gstregistrypool.c:
12968 2005-08-24 Andy Wingo <wingo@pobox.com>
12970 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
12971 convert a negative value. Doesn't make much sense. Mostly this is
12972 here to force callers to ensure -1 maps to -1.
12974 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
12976 * docs/pwg/advanced-types.xml:
12977 Well done to Michael for catching my deliberate introduction
12978 of this spelling mistake.
12979 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
12980 * gst/gstelement.h:
12981 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
12982 unlink pads before removing the element from the bin.
12984 2005-08-24 Andy Wingo <wingo@pobox.com>
12986 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
12987 the same thing as GST_DEBUG=*:4.
12988 (parse_debug_level, parse_debug_category): New helper parsers.
12990 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
12992 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12993 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
12994 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
12995 (gst_base_transform_buffer_alloc),
12996 (gst_base_transform_handle_buffer):
12997 use gboolean return values and pointers to size so we can use the
12998 full GST_BUFFER_SIZE range (guint) for buffer sizes
12999 use GstPadDirection for transform_caps
13000 * gst/base/gstbasetransform.h:
13001 rename get_size to get_unit_size since that's what it is
13002 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
13003 use GstPadDirection for transform_caps
13004 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13006 cleanup and debugging
13008 2005-08-24 Stefan Kost <ensonic@users.sf.net>
13010 * gst/gstelement.c: (gst_element_class_init),
13011 (gst_element_set_state), (activate_pads),
13012 (gst_element_save_thyself):
13013 * tools/gst-compprep.c: (main):
13014 * tools/gst-inspect.c: (print_element_properties_info):
13015 * tools/gst-xmlinspect.c: (print_element_properties):
13016 Fixed long standing mem-leak
13018 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
13020 * check/gst/gstbin.c: (GST_START_TEST):
13021 * gst/gstbin.c: (bin_bus_handler):
13022 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13023 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13024 (gst_message_new_warning), (gst_message_new_tag),
13025 (gst_message_new_state_changed), (gst_message_new_segment_start),
13026 (gst_message_new_segment_done), (gst_message_new_custom):
13027 * gst/gstmessage.h:
13028 * tools/gst-launch.c: (event_loop):
13029 * tools/gst-md5sum.c: (event_loop):
13030 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
13031 that applications can sensibly post custom messages with references
13032 to their own objects.
13034 2005-08-24 Andy Wingo <wingo@pobox.com>
13036 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
13039 2005-08-24 Wim Taymans <wim@fluendo.com>
13041 * gst/base/gstbasetransform.c: (gst_base_transform_init),
13042 (gst_base_transform_transform_caps),
13043 (gst_base_transform_transform_size),
13044 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13045 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13046 (gst_base_transform_handle_buffer):
13047 * gst/base/gstbasetransform.h:
13048 Many fixes and new features added by Thomas. Can now also do
13049 transforms with variable sizes and a custom fixate_caps function.
13051 2005-08-24 Wim Taymans <wim@fluendo.com>
13053 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13057 Cast to ClockTime before formatting to time.
13062 2005-08-24 Stefan Kost <ensonic@users.sf.net>
13064 * check/gst-libs/controller.c: (GST_START_TEST),
13065 (gst_controller_suite):
13066 * docs/gst/tmpl/gstcaps.sgml:
13067 * docs/gst/tmpl/gstghostpad.sgml:
13068 * docs/gst/tmpl/gstquery.sgml:
13069 * docs/gst/tmpl/gstutils.sgml:
13070 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
13071 (gst_object_sink_values), (gst_object_get_value_arrays),
13072 (gst_object_get_value_array):
13073 gracefully handle helper method calls to objects that are not beeing
13074 controlled, added test case for that
13076 2005-08-23 Wim Taymans <wim@fluendo.com>
13078 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
13079 (gst_event_new_newsegment), (gst_event_parse_newsegment),
13080 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
13081 (gst_event_parse_qos), (gst_event_new_seek),
13082 (gst_event_parse_seek):
13084 Some more debugging output and doc cleanups.
13086 * gst/gstqueue.c: (gst_queue_handle_sink_event):
13087 Fix possible deadlock.
13089 2005-08-23 Stefan Kost <ensonic@users.sf.net>
13091 * docs/gst/gstreamer-docs.sgml:
13092 * docs/gst/gstreamer-sections.txt:
13093 * docs/gst/gstreamer.types:
13094 * docs/gst/tmpl/.cvsignore:
13097 * gst/gstelement.c:
13099 added 100 symbols from gstreamer-unused.txt to the right sections
13100 fixed more broken comments
13101 added GstBus to docs
13103 2005-08-23 Stefan Kost <ensonic@users.sf.net>
13105 * docs/gst/gstreamer-sections.txt:
13106 * docs/gst/tmpl/.cvsignore:
13107 * docs/gst/tmpl/gstbin.sgml:
13108 * docs/gst/tmpl/gstbuffer.sgml:
13109 * gst/base/gstbasesrc.c:
13110 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
13113 * tools/gst-launch.1.in:
13114 inlined more doc comments, added missing comments and fixed comments
13117 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
13119 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13123 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
13125 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
13126 * gst/gststructure.h:
13127 add a fixate function for booleans; add a FIXME that these func
13128 names should probably be gst_structure_fixate_*
13130 2005-08-23 Stefan Kost <ensonic@users.sf.net>
13132 * docs/gst/gstreamer-docs.sgml:
13133 * docs/gst/gstreamer-sections.txt:
13135 * gst/gstbin.c: (gst_bin_get_type),
13136 (gst_bin_child_proxy_get_child_by_index),
13137 (gst_bin_child_proxy_get_children_count),
13138 (gst_bin_child_proxy_init):
13139 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
13140 (gst_child_proxy_get_child_by_index),
13141 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
13142 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
13143 (gst_child_proxy_get), (gst_child_proxy_set_property),
13144 (gst_child_proxy_set_valist), (gst_child_proxy_set),
13145 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
13146 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
13147 * gst/gstchildproxy.h:
13148 * gst/parse/grammar.y:
13149 * tools/gst-inspect.c: (print_interfaces),
13150 (print_element_properties_info), (print_element_info):
13151 ported gstchildproxy over from 0.8
13152 ported gst-inspect fixes and enhancements over from 0.8
13154 2005-08-22 Wim Taymans <wim@fluendo.com>
13156 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13157 (gst_base_transform_handle_buffer):
13158 Also call the transform function if we have ANY caps.
13160 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
13163 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
13165 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
13166 Don't pretend to handle seek events if the source is not seekable
13168 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
13170 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13171 Remove extra parameter to debug output
13173 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13174 (gst_base_src_do_seek), (gst_base_src_activate_push):
13175 Fix seek event handling.
13177 * gst/gstpipeline.c: (gst_pipeline_change_state):
13178 * gst/gstqueue.c: (gst_queue_handle_sink_event),
13179 (gst_queue_src_activate_push):
13180 Don't start the src pad task on FLUSH_STOP if the pad
13184 2005-08-22 Wim Taymans <wim@fluendo.com>
13186 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13187 Added check for gst_static_caps_get() refcounting.
13189 2005-08-22 Wim Taymans <wim@fluendo.com>
13191 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
13192 Make _static_caps_get() refcounting sane.
13194 * gst/gstelement.c: (gst_element_set_state):
13195 Add g_return_val_if_fail() to protect against segfaults.
13197 2005-08-22 Stefan Kost <ensonic@users.sf.net>
13199 * docs/gst/tmpl/gstevent.sgml:
13202 inlined remaining docs, added missing doc comments
13204 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
13206 * check/gst/gstbin.c: (GST_START_TEST):
13207 since we don't know when preroll is done, use refcount range
13209 * gst/check/gstcheck.h:
13210 add macro for checking refcount range
13212 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
13214 * check/Makefile.am:
13215 clean up environment for when registry gets built versus
13216 when actual tests are run; valgrind seems to not report
13217 leaks if GST_PLUGIN_PATH is set to some specific values
13218 * check/gst/gstbin.c: (GST_START_TEST):
13219 add more refcounting checks; maybe this exposes a
13221 * common/check.mak:
13222 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13223 * gst/check/gstcheck.h:
13224 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
13225 (gst_bin_change_state):
13226 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
13227 add/fix debugging/whitespace
13229 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
13231 * check/gst/gstevent.c: (event_probe), (test_event),
13233 Er, don't call gst_bin_watch_for_state_change you idiot.
13235 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
13237 * check/Makefile.am:
13238 Use CHECK_CFLAGS and CHECK_LIBS
13239 * check/gst/gstevent.c: (event_probe), (test_event),
13242 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13243 (gst_base_src_start), (gst_base_src_stop),
13244 (gst_base_src_activate_push), (gst_base_src_activate_pull),
13245 (gst_base_src_change_state):
13246 Sprinkle gst_base_src_stop liberally around error paths to fix
13247 problems reusing a source after failed state changes.
13248 * gst/base/gsttypefindhelper.c: (helper_find_peek),
13249 (helper_find_suggest), (gst_type_find_helper):
13250 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
13252 * docs/gst/tmpl/gstevent.sgml:
13253 Migrate part of the docs from the SGML file. Wait for ensonic to
13254 tell me how I did it wrong ;)
13255 * tools/gst-typefind.c: (main):
13256 Extra robustness to state changes between files.
13258 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
13260 * check/Makefile.am:
13261 don't valgrind the controller test - it's leaking - Stefan, HELP
13262 * gst/check/gstcheck.c: (gst_check_message_error),
13263 (gst_check_chain_func), (gst_check_setup_element),
13264 (gst_check_teardown_element), (gst_check_setup_src_pad),
13265 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
13266 (gst_check_teardown_sink_pad):
13267 * gst/check/gstcheck.h:
13268 add a bunch of methods to set up elements, and src and sink pads
13269 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
13270 * check/elements/identity.c: (setup_identity), (cleanup_identity),
13273 * gst/gstmessage.c:
13275 whitespace/doc fixes
13277 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
13279 * gst/gstelement.h:
13280 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
13281 be handled by the application and not always printed as well
13283 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
13285 * check/Makefile.am:
13287 * gst/check/gstcheck.c: (gst_check_message_error):
13288 * gst/check/gstcheck.h:
13289 add a fail_unless_equals_int
13290 add fail_unless for error messages
13292 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
13294 * check/Makefile.am:
13296 * common/Makefile.am:
13297 * common/check.mak:
13299 factor out some of the common stuff so we can use it
13301 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
13303 * check/Makefile.am:
13304 * check/gst/gstiterator.c: (GST_START_TEST):
13305 * check/gst/gstsystemclock.c: (GST_START_TEST),
13306 (gst_systemclock_suite):
13307 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
13309 valgrind more tests
13311 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
13313 * check/elements/.cvsignore:
13314 * check/elements/gstfakesrc.c:
13315 rename to name of element
13316 * check/elements/identity.c: (chain_func), (event_func),
13317 (setup_identity), (cleanup_identity), (GST_START_TEST),
13318 (identity_suite), (main):
13319 add a test for identity
13320 * check/Makefile.am:
13321 * pkgconfig/Makefile.am:
13322 * pkgconfig/gstreamer-check.pc.in:
13323 * pkgconfig/gstreamer-check-uninstalled.pc.in:
13327 move the check stuff to a library that gets installed
13328 * check/gst-libs/controller.c: (GST_START_TEST):
13329 * check/gst-libs/gdp.c:
13330 * check/gst/gst.c: (GST_START_TEST):
13331 * check/gst/gstbin.c:
13332 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13333 * check/gst/gstbus.c:
13334 * check/gst/gstcaps.c: (GST_START_TEST):
13335 * check/gst/gstelement.c:
13336 * check/gst/gstghostpad.c:
13337 * check/gst/gstiterator.c:
13338 * check/gst/gstmessage.c:
13339 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
13340 * check/gst/gstobject.c:
13341 * check/gst/gstpad.c: (GST_START_TEST):
13342 * check/gst/gststructure.c: (GST_START_TEST):
13343 * check/gst/gstsystemclock.c: (GST_START_TEST),
13344 (gst_systemclock_suite):
13345 * check/gst/gsttag.c: (gst_tag_suite):
13346 * check/gst/gstvalue.c:
13347 * check/pipelines/cleanup.c:
13348 * check/pipelines/simple_launch_lines.c:
13349 * check/states/sinks.c:
13350 change include statement
13352 * docs/gst/gstreamer-sections.txt:
13353 * docs/gst/tmpl/gstpad.sgml:
13354 document more pad stuff
13355 * gst/gstminiobject.c: (gst_mini_object_ref),
13356 (gst_mini_object_unref):
13359 2005-08-19 Stefan Kost <ensonic@users.sf.net>
13361 * docs/gst/tmpl/gst.sgml:
13363 eliminate another tmpl file, fix spelling in the long-description
13365 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
13367 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13368 (test_event), (timediff), (gstevents_suite):
13369 Should fix build on 64-bit arch's
13371 2005-08-18 Andy Wingo <wingo@pobox.com>
13373 Make sure that when a pipeline goes to PLAYING, that data has
13374 actually hit the sink.
13376 * check/states/sinks.c (test_sink): A sink that doesn't get any
13377 data shouldn't return SUCCESS for going to either PLAYING or
13378 PAUSED. Test also the return values on the way back down.
13380 * gst/gstelement.c (gst_element_set_state): When changing the
13381 state of an element currently changing state asynchronously, go to
13382 lost-state after commiting the pending state. Makes future calls
13383 to get_state continue to return ASYNC.
13385 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
13386 ASYNC when going to PLAYING if we still don't have preroll, as can
13387 happen with live sources.
13389 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
13391 * docs/pwg/advanced-types.xml:
13392 Hack long paragraph into 2 chunks as a workaround for buggy
13393 jadetex version in sid and breezy that loops infinitely and
13396 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
13398 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13399 (test_event), (timediff), (gstevents_suite):
13400 Provide more error margin in clock measurements to allow for
13401 g_get_current_time inaccuracies.
13403 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
13405 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13406 (test_event), (timediff), (gstevents_suite):
13407 Fix error message output so I might be able to tell why the
13408 test works here but fails on the build farm.
13410 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
13412 * check/Makefile.am:
13413 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13414 (test_event), (timediff), (gstevents_suite), (main):
13417 * docs/design/part-seeking.txt:
13418 Spelling correction
13420 * docs/gst/tmpl/gstevent.sgml:
13421 * docs/gst/tmpl/gstfakesrc.sgml:
13424 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13425 Treat a buffer-without-newsegment the same as a receiving
13426 a newsegment not in time format, and disable syncing to the clock
13429 * gst/gstbus.c: (gst_bus_set_sync_handler):
13430 Assert if anyone tries to replace the existing sync_handler for bus,
13431 as only the owner should be setting it.
13434 Have a fixed set of custom event enums with events identified by
13435 their structure name (as in 0.8), rather than a free-for-all
13436 allowing collisions between enum values from different plugins.
13438 * gst/gstpad.c: (gst_pad_class_init):
13441 * gst/gstqueue.c: (gst_queue_handle_sink_event):
13442 Handle out-of-band downstream events from the sending thread.
13444 2005-08-17 Andy Wingo <wingo@pobox.com>
13446 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
13447 play-timeout==0 to mean no timeout at all. In that case, don't
13448 bother with a get_state or a warning, just return directly, even
13451 * gst/base/gstbasetransform.c: Debug changes.
13454 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
13455 ensure bins post state change messages. A bit of a hack but I can't
13456 think of a way to avoid it.
13458 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
13460 2005-08-16 Andy Wingo <wingo@pobox.com>
13462 * gst/base/gstadapter.h:
13463 * gst/base/gstadapter.c (gst_adapter_take): New function, like
13464 peek() but you own the data. Not terribly efficient atm.
13466 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13468 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
13469 (gst_element_found_tags):
13471 Add two utility functions for tag handling.
13473 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13475 * docs/manual/advanced-dataaccess.xml:
13476 * docs/manual/basics-helloworld.xml:
13477 Fix docs to use _bin_add() before _link(), which fixes the examples
13478 with recent core versions (reported by Madhan Raj M
13479 <raj_madan@rediffmail.com>, #313199).
13481 2005-08-16 Wim Taymans <wim@fluendo.com>
13483 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13484 Added subtract checks.
13486 * docs/design/part-events.txt:
13487 Some more docs about newsegment
13489 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
13492 * gst/gstcaps.c: (gst_caps_to_string):
13493 Add comments, cleanups.
13495 * gst/gstelement.c: (gst_element_save_thyself):
13498 * gst/gstvalue.c: (gst_value_collect_int_range),
13499 (gst_string_unwrap), (gst_value_union_int_int_range),
13500 (gst_value_union_int_range_int_range),
13501 (gst_value_intersect_int_int_range),
13502 (gst_value_intersect_int_range_int_range),
13503 (gst_value_intersect_double_double_range),
13504 (gst_value_intersect_double_range_double_range),
13505 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
13506 (gst_value_subtract_int_range_int),
13507 (gst_value_subtract_double_range_double),
13508 (gst_value_subtract_double_range_double_range),
13509 (gst_value_subtract_from_list), (gst_value_subtract_list),
13510 (gst_value_can_compare), (gst_value_compare_fraction):
13511 Cleanups, add comments, remove unneeded asserts.
13513 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
13515 * tools/gst-launch.c: (event_loop):
13516 don't convert NULL structures to strings
13518 2005-08-15 Stefan Kost <ensonic@users.sf.net>
13520 * docs/gst/gstreamer-sections.txt:
13521 made some defines private
13522 * docs/gst/tmpl/gstconfig.sgml:
13523 * docs/gst/tmpl/gstqueue.sgml:
13524 * docs/gst/tmpl/gsttaglist.sgml:
13525 * docs/gst/tmpl/gsttypes.sgml:
13526 * docs/gst/tmpl/gstutils.sgml:
13527 * docs/pwg/appendix-porting.xml:
13528 * gst/base/gstbasesink.h:
13529 * gst/base/gstbasesrc.c:
13530 * gst/base/gstbasesrc.h:
13531 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
13532 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
13533 * gst/gstelement.c: (gst_element_class_init):
13534 * gst/gstpad.c: (gst_pad_class_init):
13535 * gst/gstqueue.c: (gst_queue_class_init):
13536 * gst/gstxml.c: (gst_xml_class_init):
13537 documented all undocumented signal inline
13538 * libs/gst/controller/gst-controller.h:
13541 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13543 * docs/pwg/appendix-porting.xml:
13544 Document _set_link_function -> _set_setcaps_function.
13546 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
13548 * check/Makefile.am:
13549 add a .check target for running the check
13550 * check/gst-libs/controller.c: (GST_START_TEST):
13552 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13553 complete checks for gstbuffer; would be nice if I could get the
13554 gcov stuff to work so I can see if I actually completed gstbuffer.c
13555 * check/gstcheck.h:
13556 add ASSERT_BUFFER_REFCOUNT
13558 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
13560 * docs/gst/gstreamer-sections.txt:
13561 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
13563 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
13564 spew out a warning if a tag that is already registered
13565 is re-registered, unless it is re-registered with a
13566 different type (#308438).
13568 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
13570 * docs/pwg/appendix-porting.xml:
13571 * docs/pwg/building-state.xml:
13572 Add some paragraphs about state changes in 0.9 to the PWG
13573 and the porting guide, in particular about the new meaning
13574 of GST_STATE_PAUSED and how to write state change functions
13575 with concurrent access by multiple threads in mind.
13577 2005-08-11 Stefan Kost <ensonic@users.sf.net>
13579 * docs/gst/gstreamer-docs.sgml:
13580 * docs/libs/gstreamer-libs-docs.sgml:
13581 added deprecation and since indexes
13582 * libs/gst/controller/gst-controller.c:
13583 * libs/gst/controller/gst-helper.c:
13587 2005-08-11 Wim Taymans <wim@fluendo.com>
13589 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
13590 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
13591 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
13592 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
13593 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
13594 (gst_ghost_pad_set_target):
13595 Actually implement (re)setting the target on a ghostpad
13596 as described in the docs.
13598 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
13600 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
13601 Check whether GST_DEBUG_NO_COLOR environment variable is
13602 set and disable coloured debug output if that is the case.
13604 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
13606 * gst/base/gsttypefindhelper.c: (helper_find_peek),
13607 (gst_type_find_helper):
13608 The memory returned by gst_type_find_peek() needs to
13609 stay valid until the end of a typefind function, and
13610 typefind functions may keep results from different
13611 offsets around, so we can't just unref the buffer from
13612 the previous _peek(), but have to save all buffers
13613 returned by _peek() until typefinding is done and only
13616 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
13618 * docs/gst/gstreamer-sections.txt:
13620 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
13622 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13624 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13625 Fix a pretty good memleak.
13627 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
13629 * gst/gstiterator.h:
13630 Fix wrong include and 'make distcheck'.
13632 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13634 * gst/gstbin.c: (bin_bus_handler):
13635 Use gst_element_post_message() instead.
13637 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
13639 * gst/base/gstadapter.h:
13640 * gst/base/gstbasesink.h:
13641 * gst/base/gstbasesrc.h:
13642 * gst/base/gstbasetransform.h:
13643 * gst/base/gstcollectpads.h:
13644 * gst/base/gstpushsrc.h:
13645 * gst/gstiterator.h:
13646 Add padding to our base elements' class and instance structs and
13647 to GstIterator (you will need to rebuild all plugins and apps!)
13649 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13651 * gst/gstbin.c: (bin_bus_handler):
13652 Make default message forwarding from child->bus to bin->bus
13653 threadsafe and make it not emit warnings if the parent has no bus.
13655 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13657 * gst/gstelement.c: (activate_pads):
13658 On paused->ready, set pad->caps to NULL, as is the documented
13659 behaviour in this state change. Fixes playback of series of
13660 media files when visualization is enabled in Totem.
13662 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13664 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
13665 Allow NULL as filter-caps (which means "any").
13667 2005-08-05 Stefan Kost <ensonic@users.sf.net>
13669 * docs/libs/gstreamer-libs-sections.txt:
13670 * libs/gst/controller/gst-controller.c:
13671 * libs/gst/controller/gst-controller.h:
13672 * libs/gst/controller/gst-helper.c:
13673 adding more entries to the docs and fix small doc-bugs
13675 2005-08-05 Stefan Kost <ensonic@users.sf.net>
13677 * docs/gst/gstreamer-docs.sgml:
13678 * docs/gst/gstreamer-sections.txt:
13679 * docs/gst/gstreamer.types:
13680 * docs/gst/tmpl/gstbasesink.sgml:
13681 * docs/gst/tmpl/gstbasesrc.sgml:
13682 * docs/gst/tmpl/gstbasetransform.sgml:
13683 * docs/gst/tmpl/gstfakesrc.sgml:
13684 * gst/base/gstcollectpads.c:
13685 * gst/base/gstcollectpads.h:
13686 * libs/gst/controller/gst-controller.c:
13687 * libs/gst/controller/gst-controller.h:
13688 * libs/gst/controller/gst-helper.c:
13689 * libs/gst/controller/gst-interpolation.c:
13690 * libs/gst/controller/lib.c:
13691 added long/short desc for controller docs
13692 added collectpads base class docs
13693 added correct includes to base-class docs
13695 2005-08-05 Stefan Kost <ensonic@users.sf.net>
13697 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13698 (gst_test_mono_source_set_property),
13699 (gst_test_mono_source_class_init), (GST_START_TEST),
13700 (gst_controller_suite):
13701 * docs/gst/gstreamer-docs.sgml:
13702 * docs/gst/gstreamer-sections.txt:
13703 * docs/gst/gstreamer.types:
13704 * docs/libs/gstreamer-libs-docs.sgml:
13705 * docs/libs/gstreamer-libs-sections.txt:
13706 * gst/base/gstadapter.c:
13707 * libs/gst/controller/gst-controller.c:
13708 (gst_controlled_property_new), (gst_controlled_property_free),
13709 (gst_controller_new_valist),
13710 (gst_controller_remove_properties_valist),
13711 (gst_controller_sink_values), (_gst_controller_finalize):
13712 * libs/gst/controller/gst-controller.h:
13713 * libs/gst/controller/gst-helper.c:
13714 (gst_object_control_properties), (gst_object_uncontrol_properties),
13715 (gst_object_get_controller), (gst_object_set_controller),
13716 (gst_object_sink_values), (gst_object_get_value_arrays),
13717 (gst_object_get_value_array):
13718 more tests (and fixes) for the controller
13719 more docs for the controller
13720 integrated companies docs for the adapter
13722 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
13724 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
13725 (GST_START_TEST), (fakesrc_suite):
13726 add tests for sizetype
13728 2005-08-04 Andy Wingo <wingo@pobox.com>
13730 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
13731 fixes buffer_alloc proxying among other things.
13733 * gst/base/gstbasetransform.c:
13734 * gst/base/gstbasetransform.h:
13735 Revert patch to gstbasetransform from 7-28 removing
13738 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
13739 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
13740 Semantics changed, should return not the size of the output buffer
13741 but the byte size of a buffer with a given caps.
13743 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
13745 (gst_base_transform_configure_caps): Don't set out_size here: (in,
13746 out) are not the pad caps until setcaps finishes.
13747 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
13748 not-in-place case as well. Deal with changing from in-place to
13749 not-in-place within calling pad_alloc_buffer. Still a bit
13750 concerned about the overhead here...
13752 2005-08-03 Andy Wingo <wingo@pobox.com>
13754 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
13755 fixating is an error.
13757 2005-08-04 Edward Hervey <edward@fluendo.com>
13759 * gst/base/gstadapter.h:
13760 Added gst_adapter_get_type() to the header
13762 2005-08-03 Stefan Kost <ensonic@users.sf.net>
13764 * check/Makefile.am:
13765 * check/gst-libs/controller.c:
13766 * libs/gst/controller/gst-controller.c:
13767 (gst_controller_new_valist):
13768 added check test suite for the controller
13769 * gst/base/gstpushsrc.c:
13772 2005-08-03 Stefan Kost <ensonic@users.sf.net>
13774 * docs/gst/Makefile.am:
13775 * docs/gst/gstreamer-docs.sgml:
13776 * docs/gst/gstreamer-sections.txt:
13777 * docs/gst/gstreamer.types:
13778 * docs/gst/tmpl/gstfakesrc.sgml:
13780 * gst/base/gstbasesink.c:
13781 * gst/base/gstbasesink.h:
13782 * gst/base/gstbasesrc.c:
13783 * gst/base/gstbasesrc.h:
13784 * gst/base/gstbasetransform.c:
13785 * gst/base/gstpushsrc.c:
13786 * gst/base/gstpushsrc.h:
13787 add short/long description docs to base classes
13788 add pushsrc to the docs
13789 remove consolidated doc fragments
13791 2005-08-03 Stefan Kost <ensonic@users.sf.net>
13794 * docs/libs/Makefile.am:
13795 * docs/libs/gstreamer-libs-docs.sgml:
13796 * docs/libs/gstreamer-libs-sections.txt:
13797 * docs/libs/gstreamer-libs.types:
13798 * examples/Makefile.am:
13799 * examples/controller/.cvsignore:
13800 * examples/controller/Makefile.am:
13801 * examples/controller/audio-example.c: (main):
13802 * libs/gst/Makefile.am:
13803 * libs/gst/controller/.cvsignore:
13804 * libs/gst/controller/Makefile.am:
13805 * libs/gst/controller/gst-controller.c:
13806 (on_object_controlled_property_changed), (gst_timed_value_compare),
13807 (gst_timed_value_find),
13808 (gst_controlled_property_set_interpolation_mode),
13809 (gst_controlled_property_new), (gst_controlled_property_free),
13810 (gst_controller_find_controlled_property),
13811 (gst_controller_new_valist), (gst_controller_new),
13812 (gst_controller_remove_properties_valist),
13813 (gst_controller_remove_properties), (gst_controller_set),
13814 (gst_controller_set_from_list), (gst_controller_unset),
13815 (gst_controller_get), (gst_controller_get_all),
13816 (gst_controller_sink_values), (gst_controller_get_value_arrays),
13817 (gst_controller_get_value_array),
13818 (gst_controller_set_interpolation_mode),
13819 (_gst_controller_finalize), (_gst_controller_init),
13820 (_gst_controller_class_init), (gst_controller_get_type):
13821 * libs/gst/controller/gst-controller.h:
13822 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
13823 (g_object_uncontrol_properties), (g_object_get_controller),
13824 (g_object_set_controller), (g_object_sink_values),
13825 (g_object_get_value_arrays), (g_object_get_value_array):
13826 * libs/gst/controller/gst-interpolation.c:
13827 (gst_controlled_property_find_timed_value_node),
13828 (interpolate_none_get), (interpolate_trigger_get),
13829 (interpolate_trigger_get_value_array):
13830 * libs/gst/controller/lib.c: (gst_controller_init):
13831 * pkgconfig/Makefile.am:
13832 * pkgconfig/gstreamer-control-uninstalled.pc.in:
13833 * pkgconfig/gstreamer-control.pc.in:
13834 * testsuite/Makefile.am:
13835 * testsuite/controller/.cvsignore:
13836 * testsuite/controller/Makefile.am:
13837 * testsuite/controller/interpolator.c: (main):
13838 added controller code
13839 removed dparam pc files
13841 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
13842 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
13843 (gst_collectpads_stop):
13844 Broadcast the condition when shutting down, to make sure we wake all
13845 threads up. Shut down pads on finalize, for safety.
13847 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
13848 * gst/base/gstbasetransform.c: (gst_base_transform_init),
13849 (gst_base_transform_handle_buffer),
13850 (gst_base_transform_change_state):
13851 Handle PAUSED->READY->PAUSED transition after negotiation
13853 * gst/gstmessage.c: (gst_message_init):
13854 Extra piece of debug for new messages.
13856 2005-08-01 Stefan Kost <ensonic@users.sf.net>
13859 * docs/gst/tmpl/gstbasesrc.sgml:
13860 * docs/gst/tmpl/gstelement.sgml:
13861 * docs/gst/tmpl/gstevent.sgml:
13862 * docs/gst/tmpl/gstfakesrc.sgml:
13863 * docs/gst/tmpl/gstformat.sgml:
13864 * docs/gst/tmpl/gstghostpad.sgml:
13865 * docs/gst/tmpl/gstpad.sgml:
13866 * docs/gst/tmpl/gstquery.sgml:
13867 * docs/gst/tmpl/gststructure.sgml:
13868 * docs/gst/tmpl/gsttaglist.sgml:
13869 * docs/gst/tmpl/gstvalue.sgml:
13870 * docs/libs/gstreamer-libs-docs.sgml:
13871 * docs/libs/gstreamer-libs-sections.txt:
13872 * docs/libs/gstreamer-libs.types:
13873 * libs/gst/Makefile.am:
13874 * libs/gst/control/.cvsignore:
13875 * libs/gst/control/Makefile.am:
13876 * libs/gst/control/control.c:
13877 * libs/gst/control/control.h:
13878 * libs/gst/control/dparam.c:
13879 * libs/gst/control/dparam.h:
13880 * libs/gst/control/dparam_smooth.c:
13881 * libs/gst/control/dparam_smooth.h:
13882 * libs/gst/control/dparamcommon.h:
13883 * libs/gst/control/dparammanager.c:
13884 * libs/gst/control/dparammanager.h:
13885 * libs/gst/control/dplinearinterp.c:
13886 * libs/gst/control/dplinearinterp.h:
13887 * libs/gst/control/unitconvert.c:
13888 * libs/gst/control/unitconvert.h:
13889 * testsuite/Makefile.am:
13890 * testsuite/dynparams/.cvsignore:
13891 * testsuite/dynparams/Makefile.am:
13892 * testsuite/dynparams/dparamstest.c:
13893 * tools/Makefile.am:
13894 * tools/gst-inspect.c: (print_element_info), (main):
13895 * tools/gst-xmlinspect.c: (print_element_info), (main):
13896 deactivate and remove dparams (libgstcontrol)
13898 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
13900 * gst/elements/gsttypefindelement.c:
13901 (gst_type_find_element_have_type), (gst_type_find_element_init),
13902 (stop_typefinding), (gst_type_find_element_handle_event),
13903 (gst_type_find_element_chain), (gst_type_find_element_getrange):
13904 * gst/elements/gsttypefindelement.h:
13905 Set caps on all outgoing buffers, not just the first one.
13907 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
13909 * gst/elements/gsttypefindelement.c:
13910 (gst_type_find_element_have_type),
13911 (gst_type_find_element_check_set_buffer_caps),
13912 (gst_type_find_element_init), (stop_typefinding),
13913 (gst_type_find_element_handle_event),
13914 (gst_type_find_element_chain), (gst_type_find_element_getrange):
13915 * gst/elements/gsttypefindelement.h:
13916 Set caps on first outgoing buffer when we've found the type.
13918 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
13920 * docs/gst/gstreamer-docs.sgml:
13921 * docs/gst/gstreamer-sections.txt:
13922 * docs/gst/tmpl/gstscheduler.sgml:
13923 * docs/gst/tmpl/gstschedulerfactory.sgml:
13924 Remove some old cruft from docs.
13926 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
13929 Fix inline docs for GstPadLinkReturn.
13931 * gst/gststructure.c: (gst_structure_has_name):
13932 * gst/gststructure.h:
13933 * docs/gst/gstreamer-sections.txt:
13934 New API: gst_structure_has_name().
13936 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
13939 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
13940 and _LARGEFILE_SOURCE in config.h as required. Do not
13941 export those flags in our .pc files any longer (#142209).
13943 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
13945 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
13946 (gst_file_sink_do_seek), (gst_file_sink_event),
13947 (gst_file_sink_get_current_offset), (gst_file_sink_render):
13948 Redo seek/tell calls with large file support in mind; add some
13949 debugging messages; add log message that tells us when large
13950 file support is unavailable or not enabled for some reason.
13952 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
13953 Add log message that tells us when large file support
13954 is unavailable or not enabled for some reason.
13956 2005-07-29 Wim Taymans <wim@fluendo.com>
13958 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13959 Added test for removing an element with ghostpad from a bin.
13960 Fixed test as current implementation does the right thing.
13962 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
13963 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
13964 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
13965 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
13966 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
13967 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13968 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13969 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13970 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
13971 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
13972 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
13973 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
13974 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13975 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
13976 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
13977 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
13978 * gst/gstghostpad.h:
13979 Clean up ghostpads, remove properties for internal stuff.
13982 Prepare for switching targets, not all use cases work yet.
13984 2005-07-29 Wim Taymans <wim@fluendo.com>
13986 * docs/design/part-gstghostpad.txt:
13989 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13990 (gst_bin_remove_func):
13991 Unlinking pads while holding the bin LOCK is not a good
13994 * gst/gstpad.c: (gst_pad_class_init),
13995 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
13996 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
13997 No prob setting template after creating the pad.
13999 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
14001 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
14002 (gst_bus_peek), (gst_bus_source_dispatch),
14003 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
14004 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
14005 gst_bus_poll may be called from other threads. Handle
14006 this nicely by not making poll_data disappear off the
14007 stack once gst_bus_poll returns.
14008 gst_bus_peek now increments the refcount on the returned
14011 2005-07-29 Wim Taymans <wim@fluendo.com>
14013 * docs/design/part-gstghostpad.txt:
14014 Overview of current GhostPad datastructures and use
14015 cases for changing the target.
14017 2005-07-28 Wim Taymans <wim@fluendo.com>
14019 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14020 Added checks for hierarchy consistency whan adding linked
14023 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14024 Added check to test element scheduling without bin/pipeline.
14026 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14027 First add elements to bin, then link.
14029 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
14030 (gst_bin_remove_func):
14031 Unlink pads from elements added/removed from bin to maintain
14032 hierarchy consistency.
14034 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14036 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14037 (gst_base_transform_handle_buffer):
14038 * gst/base/gstbasetransform.h:
14039 Remove broken delay_configure (fixes renegotiation of software
14040 scaling pipelines); remove some leftover printf()s.
14042 2005-07-28 Wim Taymans <wim@fluendo.com>
14044 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14045 Added some more tests for wrong hierarchy
14047 * docs/design/part-overview.txt:
14050 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
14053 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
14054 (gst_element_dispose):
14055 Some more cleanups.
14057 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14058 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
14059 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14060 (gst_pad_set_caps), (gst_pad_send_event):
14061 Check for correct hierarchy when linking pads. Moving to
14062 strict requirement for ghostpads when linking elements in
14066 Clean ups. Added WRONG_HIERARCHY return value.
14068 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14070 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
14071 Better debug if no transform is possible.
14073 2005-07-27 Wim Taymans <wim@fluendo.com>
14075 * docs/random/wtay/network-transp:
14076 Some old doc I had.
14078 2005-07-27 Wim Taymans <wim@fluendo.com>
14080 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14081 (gst_dp_event_from_packet):
14082 Fix serialization of seek events.
14084 2005-07-27 Wim Taymans <wim@fluendo.com>
14086 * check/gst-libs/gdp.c: (GST_START_TEST):
14087 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14088 Fix compilation and fix event serialization.
14090 2005-07-27 Wim Taymans <wim@fluendo.com>
14093 * docs/design/part-TODO.txt:
14094 * docs/design/part-events.txt:
14097 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14098 (gst_base_sink_event), (gst_base_sink_do_sync),
14099 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
14100 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14101 (gst_base_src_do_seek), (gst_base_src_event_handler),
14102 (gst_base_src_loop):
14103 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14104 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14105 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14106 (gst_base_transform_event), (gst_base_transform_handle_buffer),
14107 (gst_base_transform_set_passthrough),
14108 (gst_base_transform_is_passthrough):
14109 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14110 * gst/elements/gstfilesink.c: (gst_file_sink_event):
14116 * gst/gstelement.c: (gst_element_seek):
14117 * gst/gstelement.h:
14118 Update gst_element_seek.
14120 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
14121 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
14122 (gst_event_new_flush_start), (gst_event_new_flush_stop),
14123 (gst_event_new_eos), (gst_event_new_newsegment),
14124 (gst_event_parse_newsegment), (gst_event_new_tag),
14125 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
14126 (gst_event_parse_qos), (gst_event_new_seek),
14127 (gst_event_parse_seek), (gst_event_new_navigation):
14129 Make GstEvent use GstStructure. Add parsing code, make sure the
14130 API is sufficiently generic.
14131 Mark possible directions of events and serialization.
14133 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
14134 (_gst_message_copy), (gst_message_new_segment_start),
14135 (gst_message_new_segment_done), (gst_message_new_custom),
14136 (gst_message_parse_segment_start),
14137 (gst_message_parse_segment_done):
14140 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14141 (gst_pad_set_caps), (gst_pad_send_event):
14142 Update for new events.
14143 Catch events sent in wrong directions.
14145 * gst/gstqueue.c: (gst_queue_link_src),
14146 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
14147 (gst_queue_handle_src_query):
14152 Remove event code from this file.
14154 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14155 (gst_dp_event_from_packet):
14158 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14160 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
14161 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14162 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
14163 Make debugging actually useful.
14165 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14167 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
14168 (gst_pad_fixate_caps):
14169 Implement default fixation once again, so that gst_pad_fixate()
14170 actually does anything at all. This probably needs to be some
14171 sort of a last resort, and use profile-based fixation first, but
14172 since that doesn't exist yet, this is the best we have. Fixes
14173 visualization in Totem.
14175 2005-07-22 Wim Taymans <wim@fluendo.com>
14177 * docs/design/part-events.txt:
14180 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14181 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
14182 (gst_base_sink_activate_pull):
14183 Some more comments.
14185 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
14186 (gst_fake_src_create):
14187 Fix handoff marshall.
14189 * gst/elements/gstidentity.c: (gst_identity_class_init),
14190 (gst_identity_transform_ip):
14191 We're a real inplace element.
14193 * gst/gstbus.c: (gst_bus_post):
14194 Added some comments.
14196 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
14197 * tests/muxing/case1.c: (main):
14198 * tests/sched/dynamic-pipeline.c: (main):
14199 * tests/sched/interrupt1.c: (main):
14200 * tests/sched/interrupt2.c: (main):
14201 * tests/sched/interrupt3.c: (main):
14202 * tests/sched/runxml.c: (main):
14203 * tests/sched/sched-stress.c: (main):
14204 * tests/seeking/seeking1.c: (event_received), (main):
14205 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
14207 * tests/threadstate/threadstate3.c: (main):
14208 * tests/threadstate/threadstate4.c: (main):
14209 * tests/threadstate/threadstate5.c: (main):
14212 2005-07-21 Wim Taymans <wim@fluendo.com>
14214 * docs/design/part-seeking.txt:
14215 Some small additions.
14217 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14218 (gst_base_sink_get_times), (gst_base_sink_do_sync),
14219 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
14220 * gst/base/gstbasesink.h:
14221 discont values are gint64, handle the math correctly.
14223 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14224 Make the basesrc report error if the source pad is not linked.
14226 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
14227 (gst_queue_loop), (gst_queue_handle_src_query),
14228 (gst_queue_src_activate_push):
14229 Make queue collect data even if the srcpad is not linked.
14230 Start pushing out data as soon as it is linked.
14232 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
14234 Added gst_flow_get_name() to ease error reporting.
14236 2005-07-20 Wim Taymans <wim@fluendo.com>
14238 * gst/gstmessage.c: (gst_message_new_segment_start),
14239 (gst_message_new_segment_done), (gst_message_parse_segment_start),
14240 (gst_message_parse_segment_done):
14241 * gst/gstmessage.h:
14242 Added a bunch of messages for advanced seeking.
14244 * gst/parse/grammar.y:
14245 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
14246 (gst_dpman_state_changed):
14247 Fix some new-pad -> pad-added signals
14249 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14251 * docs/manual/appendix-porting.xml:
14252 * docs/pwg/appendix-porting.xml:
14253 Document new-pad/state-change signal renames and the FixedList
14256 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14258 * docs/manual/advanced-autoplugging.xml:
14259 * docs/manual/basics-helloworld.xml:
14260 * docs/manual/basics-pads.xml:
14261 * docs/random/ds/0.9-suggested-changes:
14262 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
14263 * gst/gstelement.h:
14267 * gst/gststructure.c: (gst_structure_value_get_generic_type),
14268 (gst_structure_parse_array), (gst_structure_parse_value):
14269 * gst/gstvalue.c: (gst_type_is_fixed),
14270 (gst_value_list_prepend_value), (gst_value_list_append_value),
14271 (gst_value_list_get_size), (gst_value_list_get_value),
14272 (gst_value_transform_array_string), (gst_value_serialize_array),
14273 (gst_value_deserialize_array), (gst_value_intersect_array),
14274 (gst_value_is_fixed), (_gst_value_initialize):
14276 GstElement::new-pad -> pad-added, GstElement::state-change ->
14277 state-changed, GstValueFixedList -> GstValueArray, add format and
14278 flags as their own arguments in gst_element_seek() (should improve
14279 "bindeability"), remove function generators since they don't work
14280 under a whole bunch of compilers (they were deprecated already
14283 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14285 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
14286 (_gst_debug_register_funcptr):
14288 Fix illegal cast on some platforms (#309253).
14290 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14292 * gst/gstmessage.c: (gst_message_new_custom):
14293 * gst/gstmessage.h:
14294 Add _new_custom, make _new_application a macro to _new_custom.
14296 2005-07-20 Wim Taymans <wim@fluendo.com>
14298 * gst/base/gstbasesrc.c: (gst_base_src_init),
14299 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
14300 * gst/base/gstbasesrc.h:
14301 Add a gboolean to decide when to push out a discont.
14303 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14304 (gst_queue_loop), (gst_queue_handle_src_query),
14305 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
14306 (gst_queue_set_property), (gst_queue_get_property):
14309 * tests/threadstate/threadstate1.c: (main):
14310 Make a thread test compile and run... very silly..
14313 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14315 * docs/manual/appendix-porting.xml:
14316 Mention removal of libgstgconf-0.9.la and existence of gconf
14319 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14321 * docs/pwg/advanced-clock.xml:
14322 * docs/pwg/appendix-porting.xml:
14323 * docs/pwg/intro-preface.xml:
14324 * docs/pwg/other-base.xml:
14325 * docs/pwg/other-manager.xml:
14326 * docs/pwg/other-nton.xml:
14327 * docs/pwg/other-ntoone.xml:
14328 * docs/pwg/other-oneton.xml:
14329 * docs/pwg/pwg.xml:
14330 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
14331 demuxer), remove n-to-n (was never written), fix some code examples
14332 and links and update the porting section to include all this.
14334 2005-07-19 Wim Taymans <wim@fluendo.com>
14336 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
14337 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
14338 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
14339 (gst_queue_src_activate_push), (gst_queue_change_state),
14340 (gst_queue_get_property):
14342 Propagate GstFlowReturn more intelligently upstream and output
14343 an ERROR/EOS when streaming stopped due to fatal error.
14345 2005-07-19 Wim Taymans <wim@fluendo.com>
14347 * tools/gst-launch.c: (check_intr), (event_loop), (main):
14348 Don't block forever for the state change to complete, the
14349 pipeline already did with a sensible timeout.
14351 2005-07-19 Wim Taymans <wim@fluendo.com>
14353 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14354 Make sure we never call the create function is we
14357 2005-07-19 Andy Wingo <wingo@pobox.com>
14359 * gst/parse/parse.l: Attempt to solve bug #172815.
14361 2005-07-19 Wim Taymans <wim@fluendo.com>
14363 * docs/design/part-clocks.txt:
14364 * docs/design/part-events.txt:
14365 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
14366 Small docs updates.
14367 Only update the seeking values when we are not
14370 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
14372 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14373 Oops, ignore the result of gst_pad_push_event here.
14375 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
14377 * gst/base/gstbasesrc.c: (gst_base_src_loop),
14378 (gst_base_src_activate_push):
14379 Send discont event from the loop function, as pads
14380 aren't activated yet in the activate_push handler.
14382 * gst/gstbin.c: (bin_bus_handler):
14383 Don't leak element name.
14385 2005-07-18 Andy Wingo <wingo@pobox.com>
14387 * configure.ac: Use AS_LIBTOOL_TAGS.
14389 2005-07-18 Wim Taymans <wim@fluendo.com>
14391 * docs/gst/gstreamer.types:
14392 Remove deleted types.
14394 2005-07-18 Wim Taymans <wim@fluendo.com>
14396 * check/elements/gstfakesrc.c: (GST_START_TEST):
14399 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
14400 (init_popt_callback):
14402 * gst/gst_private.h:
14403 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
14404 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
14407 * gst/gstconfig.h.in:
14408 * gst/gstelement.c: (gst_element_class_init),
14409 (gst_element_set_base_time), (gst_element_get_base_time),
14410 (iterator_fold_with_resync), (gst_element_change_state),
14411 (gst_element_dispose), (gst_element_get_bus):
14412 * gst/gstelement.h:
14413 * gst/gstelementfactory.h:
14414 * gst/gsterror.c: (_gst_core_errors_init):
14417 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
14419 * gst/gstinfo.c: (_gst_debug_init):
14420 * gst/gstmessage.c: (_gst_message_copy):
14421 * gst/gstmessage.h:
14422 * gst/gstminiobject.h:
14425 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14426 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
14429 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
14430 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
14431 (gst_pipeline_get_last_stream_time):
14432 * gst/gstpipeline.h:
14433 * gst/gstpluginfeature.h:
14435 * gst/gstscheduler.c:
14436 * gst/gstscheduler.h:
14437 * gst/gststructure.h:
14438 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
14439 (gst_task_finalize), (gst_task_func), (gst_task_create),
14440 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
14441 (gst_task_stop), (gst_task_pause):
14443 * gst/gsttypefind.h:
14445 * gst/registries/gstlibxmlregistry.c: (load_feature),
14446 (gst_xml_registry_load), (gst_xml_registry_save_feature):
14447 * gst/registries/gstxmlregistry.c:
14448 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
14449 * gst/schedulers/threadscheduler.c:
14450 * libs/gst/control/dparammanager.h:
14451 * tools/gst-inspect.c: (print_element_list),
14452 (print_plugin_features), (print_element_features):
14453 * tools/gst-xmlinspect.c: (print_element_list),
14454 (print_plugin_info), (main):
14455 Removed plugable schedulers.
14456 Removed Scheduler/Manager from elements.
14457 Removed gsttypes.h, rearranged includes.
14458 Removed dependency pad<->element, element<>pipeline, and
14459 various others, fix includes.
14460 implement gst_pad_get_parent() with gst_object_get_parent()
14461 Make GstTask sefcontained.
14462 Fix _get_state() on GstBin, it did not return ASYNC with a 0
14464 Fix endless loop in iterator_fold_with_resync.
14467 2005-07-18 Wim Taymans <wim@fluendo.com>
14473 2005-07-18 Wim Taymans <wim@fluendo.com>
14476 No more cothreads.h
14478 2005-07-18 Wim Taymans <wim@fluendo.com>
14482 Let's remove these.
14484 2005-07-18 Wim Taymans <wim@fluendo.com>
14486 * docs/design/part-dynamic.txt:
14487 * docs/design/part-events.txt:
14488 * docs/design/part-seeking.txt:
14489 Some more docs in the works.
14491 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14492 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
14493 (gst_base_transform_setcaps), (gst_base_transform_get_size),
14494 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14495 (gst_base_transform_handle_buffer),
14496 (gst_base_transform_sink_activate_push),
14497 (gst_base_transform_src_activate_pull),
14498 (gst_base_transform_set_passthrough),
14499 (gst_base_transform_is_passthrough):
14502 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
14505 * gst/gstevent.c: (gst_event_finalize):
14508 * gst/gstutils.c: (gst_element_unlink),
14509 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
14510 (gst_pad_proxy_setcaps):
14512 Add _get_parent_element() to get a pads parent as an element.
14514 2005-07-18 Wim Taymans <wim@fluendo.com>
14516 * check/gst/gstbin.c: (GST_START_TEST):
14519 2005-07-18 Wim Taymans <wim@fluendo.com>
14521 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
14522 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
14523 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
14524 (gst_base_sink_event), (gst_base_sink_do_sync),
14525 (gst_base_sink_chain), (gst_base_sink_loop),
14526 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
14527 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14529 Fix logic for returning ASYNC when not prerolled.
14531 2005-07-18 Wim Taymans <wim@fluendo.com>
14533 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14534 Fix nasty refcount bug.
14536 2005-07-16 Philippe Khalaf <burger@speedy.org>
14538 * gst/elements/gstfdsrc.c:
14539 * gst/elements/gstfdsrc.h:
14540 * gst/elements/gstelements.c:
14541 * gst/elements/Makefile.am:
14542 Ported fdsrc to 0.9.
14544 2005-07-16 Wim Taymans <wim@fluendo.com>
14546 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14547 (gst_base_sink_do_sync):
14550 2005-07-16 Wim Taymans <wim@fluendo.com>
14552 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14553 (gst_base_sink_event), (gst_base_sink_get_times),
14554 (gst_base_sink_do_sync), (gst_base_sink_change_state):
14555 * gst/base/gstbasesink.h:
14556 Store and use discont values when syncing buffers as described
14559 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14560 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
14561 (gst_base_src_activate_push):
14562 Push discont event when starting.
14564 * gst/elements/gstidentity.c: (gst_identity_transform):
14567 * gst/gstbin.c: (gst_bin_change_state):
14568 Small cleanups in base_time distribution.
14570 * gst/gstelement.c: (gst_element_set_base_time),
14571 (gst_element_get_base_time), (gst_element_change_state):
14572 * gst/gstelement.h:
14573 Added methods for the base_time of the element.
14576 * gst/gstpipeline.c: (gst_pipeline_send_event),
14577 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
14578 (gst_pipeline_get_last_stream_time):
14579 * gst/gstpipeline.h:
14581 Handle seeking as described in design doc, remove stream_time
14583 Cleanups clock and stream_time selection code. Added accessors
14584 for the stream_time.
14587 2005-07-16 Andy Wingo <wingo@pobox.com>
14589 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
14592 2005-07-16 Wim Taymans <wim@fluendo.com>
14594 * check/gst/gstbin.c: (GST_START_TEST):
14595 Make elements silent as the deep_notify refs the
14596 parent, which might make the test fail.
14598 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
14599 Don't hold the lock for too long.
14601 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
14603 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14604 Don't unref the caps we passed to gst_caps_make_writable() after
14605 passing them. gst_caps_make_writable() will do that for us.
14607 2005-07-15 Andy Wingo <wingo@pobox.com>
14609 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
14612 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
14613 own marshalling function for the handoff signal. Properly type the
14614 buffer as a buffer. Fixes some warnings. Should do a more general
14616 (gst_identity_class_init): Plug into the right marshaller.
14618 2005-07-15 Wim Taymans <wim@fluendo.com>
14620 * docs/design/part-TODO.txt:
14621 * docs/design/part-clocks.txt:
14622 * docs/design/part-element-sink.txt:
14623 * docs/design/part-events.txt:
14624 * docs/design/part-gstpipeline.txt:
14625 Updated docs, mostly DISCONT related.
14627 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
14629 * docs/pwg/building-pads.xml:
14630 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
14632 2005-07-15 Andy Wingo <wingo@pobox.com>
14634 * tools/gst-typefind.c: Update, add copyright block.
14636 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
14637 Normalize and truncate caps before fixation.
14640 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
14641 discards all but the first structure from its argument.
14643 2005-07-15 Wim Taymans <wim@fluendo.com>
14645 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14646 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
14647 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14648 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14649 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
14650 (gst_base_transform_chain), (gst_base_transform_change_state),
14651 (gst_base_transform_set_passthrough),
14652 (gst_base_transform_is_passthrough):
14653 * gst/base/gstbasetransform.h:
14654 Make passthrough work using the bufferpools.
14655 Changed API a bit, subclasses have to write into a buffer
14656 provided by the base class.
14657 More debug info in nego functions.
14659 * gst/elements/gstidentity.c: (gst_identity_init),
14660 (gst_identity_transform):
14661 Port to new base class.
14663 2005-07-15 Wim Taymans <wim@fluendo.com>
14665 * gst/gstmessage.c: (gst_message_new_state_changed):
14666 * tools/gst-launch.c: (event_loop), (main):
14667 Totally dump messages in -launch with the -m option.
14668 Fix message name for State messages,
14670 2005-07-14 Wim Taymans <wim@fluendo.com>
14672 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14673 Post error messages on errors.
14675 2005-07-14 Wim Taymans <wim@fluendo.com>
14677 * gst/gstcaps.c: (gst_caps_do_simplify):
14681 Define error for stream stopped.
14683 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14684 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
14685 Do proper return values.
14687 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14688 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
14689 (gst_pad_get_range):
14690 Better return values.
14693 Reorganise return values, add macro to check for fatal errors.
14695 * gst/gstqueue.c: (gst_queue_chain):
14696 Return proper GstFlowReturn values,
14698 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
14700 * docs/gst/gstreamer-sections.txt:
14701 * docs/gst/gstreamer.types:
14702 * docs/gst/tmpl/gst.sgml:
14703 * docs/gst/tmpl/gstbasesink.sgml:
14704 * docs/gst/tmpl/gstbasesrc.sgml:
14705 * docs/gst/tmpl/gstbasetransform.sgml:
14706 * docs/gst/tmpl/gstbin.sgml:
14707 * docs/gst/tmpl/gstbuffer.sgml:
14708 * docs/gst/tmpl/gstcaps.sgml:
14709 * docs/gst/tmpl/gstclock.sgml:
14710 * docs/gst/tmpl/gstcompat.sgml:
14711 * docs/gst/tmpl/gstconfig.sgml:
14712 * docs/gst/tmpl/gstelement.sgml:
14713 * docs/gst/tmpl/gstelementdetails.sgml:
14714 * docs/gst/tmpl/gstelementfactory.sgml:
14715 * docs/gst/tmpl/gstenumtypes.sgml:
14716 * docs/gst/tmpl/gsterror.sgml:
14717 * docs/gst/tmpl/gstevent.sgml:
14718 * docs/gst/tmpl/gstfakesink.sgml:
14719 * docs/gst/tmpl/gstfakesrc.sgml:
14720 * docs/gst/tmpl/gstfilesink.sgml:
14721 * docs/gst/tmpl/gstfilesrc.sgml:
14722 * docs/gst/tmpl/gstfilter.sgml:
14723 * docs/gst/tmpl/gstformat.sgml:
14724 * docs/gst/tmpl/gstghostpad.sgml:
14725 * docs/gst/tmpl/gstimplementsinterface.sgml:
14726 * docs/gst/tmpl/gstindex.sgml:
14727 * docs/gst/tmpl/gstindexfactory.sgml:
14728 * docs/gst/tmpl/gstinfo.sgml:
14729 * docs/gst/tmpl/gstiterator.sgml:
14730 * docs/gst/tmpl/gstmacros.sgml:
14731 * docs/gst/tmpl/gstmemchunk.sgml:
14732 * docs/gst/tmpl/gstminiobject.sgml:
14733 * docs/gst/tmpl/gstobject.sgml:
14734 * docs/gst/tmpl/gstpad.sgml:
14735 * docs/gst/tmpl/gstpadtemplate.sgml:
14736 * docs/gst/tmpl/gstparse.sgml:
14737 * docs/gst/tmpl/gstpipeline.sgml:
14738 * docs/gst/tmpl/gstplugin.sgml:
14739 * docs/gst/tmpl/gstpluginfeature.sgml:
14740 * docs/gst/tmpl/gstquery.sgml:
14741 * docs/gst/tmpl/gstqueue.sgml:
14742 * docs/gst/tmpl/gstregistry.sgml:
14743 * docs/gst/tmpl/gstregistrypool.sgml:
14744 * docs/gst/tmpl/gstscheduler.sgml:
14745 * docs/gst/tmpl/gstschedulerfactory.sgml:
14746 * docs/gst/tmpl/gststructure.sgml:
14747 * docs/gst/tmpl/gstsystemclock.sgml:
14748 * docs/gst/tmpl/gsttaglist.sgml:
14749 * docs/gst/tmpl/gsttagsetter.sgml:
14750 * docs/gst/tmpl/gsttrace.sgml:
14751 * docs/gst/tmpl/gsttrashstack.sgml:
14752 * docs/gst/tmpl/gsttypefind.sgml:
14753 * docs/gst/tmpl/gsttypefindfactory.sgml:
14754 * docs/gst/tmpl/gsttypes.sgml:
14755 * docs/gst/tmpl/gsturihandler.sgml:
14756 * docs/gst/tmpl/gsturitype.sgml:
14757 * docs/gst/tmpl/gstutils.sgml:
14758 * docs/gst/tmpl/gstvalue.sgml:
14759 * docs/gst/tmpl/gstversion.sgml:
14760 * docs/gst/tmpl/gstxml.sgml:
14761 * docs/libs/tmpl/gstcontrol.sgml:
14762 * docs/libs/tmpl/gstdataprotocol.sgml:
14763 * docs/libs/tmpl/gstdparam.sgml:
14764 * docs/libs/tmpl/gstdplinint.sgml:
14765 * docs/libs/tmpl/gstdpman.sgml:
14766 * docs/libs/tmpl/gstdpsmooth.sgml:
14767 * docs/libs/tmpl/gstgetbits.sgml:
14768 * docs/libs/tmpl/gstunitconvert.sgml:
14769 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
14770 (gst_push_src_base_init), (gst_push_src_class_init),
14771 (gst_push_src_init), (gst_push_src_create):
14772 * gst/base/gstpushsrc.h:
14773 * gst/elements/gstelements.c:
14774 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
14775 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
14776 (gst_fake_sink_init), (gst_fake_sink_set_property),
14777 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
14778 (gst_fake_sink_event), (gst_fake_sink_preroll),
14779 (gst_fake_sink_render), (gst_fake_sink_change_state):
14780 * gst/elements/gstfakesink.h:
14781 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14782 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14783 (gst_fake_src_base_init), (gst_fake_src_class_init),
14784 (gst_fake_src_init), (gst_fake_src_event_handler),
14785 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
14786 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
14787 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
14788 (gst_fake_src_create_buffer), (gst_fake_src_create),
14789 (gst_fake_src_start), (gst_fake_src_stop):
14790 * gst/elements/gstfakesrc.h:
14791 * gst/elements/gstfilesink.c: (_do_init),
14792 (gst_file_sink_base_init), (gst_file_sink_class_init),
14793 (gst_file_sink_init), (gst_file_sink_dispose),
14794 (gst_file_sink_set_location), (gst_file_sink_set_property),
14795 (gst_file_sink_get_property), (gst_file_sink_open_file),
14796 (gst_file_sink_close_file), (gst_file_sink_query),
14797 (gst_file_sink_event), (gst_file_sink_render),
14798 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
14799 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
14800 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
14801 * gst/elements/gstfilesink.h:
14802 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
14803 (gst_file_src_class_init), (gst_file_src_init),
14804 (gst_file_src_finalize), (gst_file_src_set_location),
14805 (gst_file_src_set_property), (gst_file_src_get_property),
14806 (gst_file_src_map_region), (gst_file_src_map_small_region),
14807 (gst_file_src_create_mmap), (gst_file_src_create_read),
14808 (gst_file_src_create), (gst_file_src_is_seekable),
14809 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
14810 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
14811 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
14812 (gst_file_src_uri_handler_init):
14813 * gst/elements/gstfilesrc.h:
14814 more autistic cleanliness in functions/names/defines
14816 2005-07-13 Andy Wingo <wingo@pobox.com>
14818 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
14819 source couldn't negotiate.
14821 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
14825 * gst/gstutils.c (gst_element_link_pads_filtered): New old
14826 function. I am channeling Hades. Put your boots on suckers!!!
14828 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
14830 * testsuite/caps/Makefile.am:
14831 * testsuite/caps/value_compare.c:
14832 * testsuite/caps/value_intersect.c:
14833 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14834 move two testsuite apps over to the check dir
14836 2005-07-12 Wim Taymans <wim@fluendo.com>
14838 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
14839 Added more debug info in the negotiate process.
14841 * gst/gstmessage.h:
14842 Prepare for segment playback.
14844 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
14850 * tools/gst-launch.c: (main):
14851 NULL pipeline on errors.
14853 2005-07-12 Andy Wingo <wingo@pobox.com>
14855 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
14856 not it comes from a malloc region. Make sure our copy gets freed.
14858 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
14860 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14861 * check/gst/gstmessage.c: (GST_START_TEST):
14862 * check/gst/gststructure.c: (GST_START_TEST),
14863 (gst_structure_suite), (main):
14865 * gst/gstelement.c: (gst_element_message_full):
14866 clean up GError and debug string now that they get copied
14867 * gst/gstmessage.c: (gst_message_new_error),
14868 (gst_message_new_warning), (gst_message_parse_error),
14869 (gst_message_parse_warning):
14870 use GST_TYPE_G_ERROR for structure_new, and take copies of
14871 arguments, so that we don't mess up refcounting
14873 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
14875 * check/Makefile.am:
14876 add per-test valgrind targets
14877 * check/gst-libs/gdp.c: (GST_START_TEST),
14878 (gst_data_protocol_suite), (main):
14881 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
14883 * check/Makefile.am:
14884 instate more valgrindable tests
14885 * check/elements/gstfakesrc.c: (chain_func), (event_func),
14886 (GST_START_TEST), (fakesrc_suite):
14887 * check/gst/gstpad.c: (GST_START_TEST):
14888 * check/gst/gststructure.c: (GST_START_TEST):
14890 * docs/gst/tmpl/gstminiobject.sgml:
14891 * gst/gstpad.c: (gst_pad_finalize):
14892 fix the static mutex leak
14894 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14896 * check/Makefile.am:
14897 add two more tests for valgrinding
14898 * check/gst/gstvalue.c: (GST_START_TEST):
14899 test refcount of deserialized buffer, found a leak
14900 * docs/gst/gstreamer-docs.sgml:
14901 * docs/gst/gstreamer-sections.txt:
14902 * docs/gst/gstreamer.types:
14903 * docs/gst/tmpl/gstminiobject.sgml:
14904 add miniobject to docs
14905 * gst/gstminiobject.c:
14907 * gst/gstvalue.c: (gst_value_deserialize_buffer),
14908 (gst_string_unwrap):
14909 fix a hard-to-find invalid write for one of the tests
14910 fix a leak for deserialized buffers
14912 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14914 * docs/pwg/advanced-events.xml:
14915 * docs/pwg/advanced-request.xml:
14916 * docs/pwg/advanced-scheduling.xml:
14917 * docs/pwg/appendix-porting.xml:
14918 * docs/pwg/building-boiler.xml:
14919 * docs/pwg/intro-preface.xml:
14920 * docs/pwg/other-ntoone.xml:
14921 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
14922 of example code and explanation for pad activation, loop() and
14923 getrange() functions and a bit more. Remove old comments pointing
14925 * examples/pwg/Makefile.am:
14926 Add loop/getrange examples.
14928 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14931 check for valgrind binary + some fixes
14933 valgrind suppressions for the tests
14934 * check/Makefile.am:
14935 add a valgrind: target that valgrinds the unit tests
14936 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
14937 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
14938 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14939 * check/gst/gstghostpad.c:
14941 * check/gst/gstdata.c:
14943 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
14944 (thread_unref), (gst_mini_object_suite), (main):
14946 * gst/gst.c: (gst_deinit):
14948 add a method to clean up.
14949 * gst/gstsystemclock.c: (gst_system_clock_dispose),
14950 (gst_system_clock_obtain):
14951 allow for disposing the system clock.
14952 * tools/gst-launch.c: (main):
14955 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14957 * docs/gst/tmpl/gstbasesrc.sgml:
14958 * docs/gst/tmpl/gstfakesrc.sgml:
14959 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14960 (gst_base_src_init), (gst_base_src_set_property),
14961 (gst_base_src_get_property), (gst_base_src_get_range),
14962 (gst_base_src_start):
14963 * gst/base/gstbasesrc.h:
14964 add num-buffers property
14965 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14966 (gst_fakesrc_init), (gst_fakesrc_set_property),
14967 (gst_fakesrc_get_property), (gst_fakesrc_create),
14968 (gst_fakesrc_start):
14969 remove num-buffers property
14971 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14973 * docs/gst/gstreamer-sections.txt:
14974 * docs/gst/tmpl/gstbasesink.sgml:
14975 * docs/gst/tmpl/gstbasesrc.sgml:
14976 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
14977 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
14978 (gst_base_sink_finalize), (gst_base_sink_set_clock),
14979 (gst_base_sink_set_property), (gst_base_sink_get_property),
14980 (gst_base_sink_handle_object), (gst_base_sink_event),
14981 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14982 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
14983 (gst_base_sink_loop), (gst_base_sink_deactivate),
14984 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
14985 (gst_base_sink_change_state):
14986 * gst/base/gstbasesink.h:
14987 * gst/base/gstbasesrc.h:
14988 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
14989 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
14990 (gst_filesink_init):
14991 more macro splitting
14993 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14995 * gst/gstelement.c: (gst_element_get_bus):
14997 * tools/gst-launch.c: (check_intr), (event_loop):
15000 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
15002 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15005 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
15007 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15008 (gst_base_src_finalize):
15009 add finalize method and clean up properly
15010 * gst/gstpipeline.c: (gst_pipeline_dispose):
15013 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
15015 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
15017 add more things to check
15018 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15019 * gst/gstelement.c:
15022 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
15024 * check/elements/gstfakesrc.c: (chain_func), (event_func),
15025 (GST_START_TEST), (fakesrc_suite):
15026 * check/gst-libs/gdp.c: (GST_START_TEST):
15027 * check/gst/gst.c: (GST_START_TEST):
15028 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15029 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15030 * check/gst/gstbus.c: (GST_START_TEST):
15031 * check/gst/gstcaps.c: (GST_START_TEST):
15032 * check/gst/gstdata.c: (GST_START_TEST):
15033 * check/gst/gstelement.c: (GST_START_TEST):
15034 * check/gst/gstghostpad.c: (GST_START_TEST):
15035 * check/gst/gstiterator.c: (GST_START_TEST):
15036 * check/gst/gstmessage.c: (GST_START_TEST):
15037 * check/gst/gstobject.c: (GST_START_TEST):
15038 * check/gst/gstpad.c: (GST_START_TEST):
15039 * check/gst/gststructure.c: (GST_START_TEST):
15040 * check/gst/gstsystemclock.c: (GST_START_TEST),
15041 (gst_systemclock_suite):
15042 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
15043 * check/gst/gstvalue.c: (GST_START_TEST):
15044 * check/pipelines/cleanup.c: (GST_START_TEST):
15045 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15046 * check/states/sinks.c: (GST_START_TEST):
15047 * check/gstcheck.c: (gst_check_init):
15048 * check/gstcheck.h:
15049 add debugging category
15050 use GST_START_TEST now, so we add a debug line
15052 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
15054 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
15055 add test for state change message on a bin
15056 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
15058 * gst/gstbin.c: (gst_bin_init):
15059 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
15060 * gst/gstelement.c: (gst_element_post_message),
15061 (gst_element_set_state):
15062 * gst/gstelementfactory.c: (gst_element_factory_create):
15063 * gst/gstmessage.c: (gst_message_new):
15064 * gst/gstscheduler.c:
15065 various debugging additions and cleanups
15067 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
15069 * check/Makefile.am:
15070 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
15072 adding tests for elements
15073 * gst/gstelement.c: (gst_element_dispose):
15075 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
15077 * gst/registries/gstlibxmlregistry.c: (load_feature):
15078 plug more leaks. A simple gst_init() now is leakfree, yay.
15080 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
15082 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
15083 (gst_xml_registry_load):
15084 plug another memleak
15086 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
15089 use GST_SET_ERROR_CFLAGS
15090 * docs/faq/cvs.xml:
15091 change to ERROR_CFLAGS
15093 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
15096 make GST_ERROR_CFLAGS overridable and re-enable Werror
15097 * docs/faq/cvs.xml:
15098 add a note about error CFLAGS
15099 * docs/gst/tmpl/gstfakesrc.sgml:
15100 * gst/elements/gstfakesrc.c:
15101 comment out some unused code
15102 * gst/gst.c: (split_and_iterate):
15103 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
15107 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
15109 * common/Makefile.am:
15110 * common/gtk-doc.mak:
15111 * docs/gst/Makefile.am:
15112 factor out gtk-doc.mak
15114 2005-07-07 Wim Taymans <wim@fluendo.com>
15116 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
15117 (gst_thread_scheduler_dispose):
15118 Unlock the STREAM_LOCK completely.
15120 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
15122 * check/Makefile.am:
15123 * check/elements/.cvsignore:
15124 * check/elements/gstfakesrc.c: (chain_func), (event_func),
15125 (START_TEST), (fakesrc_suite), (main):
15126 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15127 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
15128 (gst_fakesrc_create), (gst_fakesrc_start):
15129 * gst/elements/gstfakesrc.h:
15130 adding a first element test
15132 2005-07-07 Andy Wingo <wingo@pobox.com>
15134 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
15137 2005-07-07 Wim Taymans <wim@fluendo.com>
15143 2005-07-07 Wim Taymans <wim@fluendo.com>
15145 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15146 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
15147 Allow subclasses to implement their own negotiation.
15149 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
15151 * docs/design/part-gstbin.txt:
15152 * docs/design/part-gstpipeline.txt:
15153 Update design notes to reflect the movement of
15154 responsibility for bus handling from GstPipeline to
15157 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
15160 Remove unnecessary queue2/3/4 examples.
15162 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
15164 * examples/Makefile.am:
15165 * examples/helloworld/helloworld.c: (event_loop), (main):
15166 * examples/queue/queue.c: (event_loop), (main):
15167 * examples/queue2/queue2.c: (main):
15168 Update a couple of the examples to work again.
15170 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15171 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
15172 Spelling corrections and extra debug.
15174 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
15175 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
15176 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
15178 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15179 (gst_pipeline_change_state):
15180 * gst/gstpipeline.h:
15181 Move the bus handler for children to the GstBin, and create a
15182 separate bus for receiving messages from children to the one the
15183 bus sends 'upwards' on.
15185 2005-07-06 Wim Taymans <wim@fluendo.com>
15188 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15189 (gst_base_sink_handle_object), (gst_base_sink_loop),
15190 (gst_base_sink_change_state):
15191 * gst/base/gstbasesink.h:
15192 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15193 (gst_base_src_init), (gst_base_src_setcaps),
15194 (gst_base_src_getcaps), (gst_base_src_loop),
15195 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
15196 (gst_base_src_start), (gst_base_src_change_state):
15197 * gst/base/gstbasesrc.h:
15198 Make basesrc negotiate.
15199 Handle the case where preroll fails in basesink.
15202 2005-07-06 Wim Taymans <wim@fluendo.com>
15204 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
15205 Implement the fixate function.
15206 Clean up acceptcaps.
15208 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15210 * docs/pwg/building-filterfactory.xml:
15211 * docs/pwg/pwg.xml:
15212 Remove never-written filter-factory chapter; I'll add the various
15213 base classes to part 4 ("other element types") later on.
15215 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15217 * docs/pwg/advanced-negotiation.xml:
15218 * docs/pwg/building-boiler.xml:
15219 * docs/pwg/building-pads.xml:
15220 * docs/pwg/pwg.xml:
15221 * examples/pwg/Makefile.am:
15222 Add a chapter on caps negotiation, simplify the original code
15223 samples a bit w.r.t. caps negotiation, add link to the advanced
15224 section. Add a bunch of examples showing different use cases of
15225 different types of caps negotiation. Upstream renegotiation isn't
15226 fully documented yet since nobody knows how that works.
15228 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
15230 * check/gst/gstpad.c:
15231 * check/gstcheck.c:
15232 * gst/gstpad.c: (gst_pad_get_internal_links_default):
15233 if pad has no parent, return NULL as list of internal links
15235 2005-07-05 Andy Wingo <wingo@pobox.com>
15237 * gst/elements/gstfilesrc.c:
15238 * gst/elements/gstfakesrc.c:
15239 * gst/base/gstpushsrc.c:
15240 * gst/base/gstbasesrc.h:
15241 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
15243 2005-07-05 Stefan Kost <ensonic@users.sf.net>
15246 better report generation target (lcov needs a patch)
15248 2005-07-05 Andy Wingo <wingo@pobox.com>
15250 * gst/elements, testsuite: Null if we got it...
15252 2005-07-05 Wim Taymans <wim@fluendo.com>
15255 * libs/gst/dataprotocol/Makefile.am:
15256 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
15257 * libs/gst/dataprotocol/dataprotocol.h:
15258 * pkgconfig/Makefile.am:
15259 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
15260 * pkgconfig/gstreamer-dataprotocol.pc.in:
15261 Ported dataprotol to 0.9.
15262 Added pkgconfig files.
15264 2005-07-05 Andy Wingo <wingo@pobox.com>
15266 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
15267 Default to returning TRUE for the case when tranform_caps returns
15268 a fixed caps, like for identity or volume.
15270 * check/gst/gstbus.c (pound_bus_with_messages):
15271 * check/gst/gstmessage.c (START_TEST):
15272 * check/pipelines/simple_launch_lines.c (got_handoff): Application
15273 message API change.
15275 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
15276 logic weaks here: always run transform_caps, trying passthrough
15277 operation only if the original caps intersects with the transform.
15279 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
15280 source and sink caps.
15282 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
15283 Intersect the peer caps with the pad template before going into
15285 (gst_base_transform_transform_caps): More debugging.
15287 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
15290 2005-07-04 Edward Hervey <edward@fluendo.com>
15294 (gst_pad_add_*_probe): now returns the signal id for better wrapping
15297 2005-07-04 Andy Wingo <wingo@pobox.com>
15299 * check/gst/gstpad.c: Only set explicit caps on pads.
15301 2005-07-01 Andy Wingo <wingo@pobox.com>
15303 * tests/network-clock.scm: Commentary update.
15305 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
15306 Didn't really make sense, not implementable with basetransform,
15308 (gst_identity_transform): Unref inbuf via make_writable. Feeble
15309 attempt at implementing the sync property, needs an unlock method.
15311 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
15312 New func, by default returns the same caps (the identity
15314 (gst_base_transform_getcaps): Uses transform_caps to return
15315 something sensible.
15316 (gst_base_transform_setcaps): Complicated logic to get caps on
15317 both pads, even if they are different, and to call set_caps once
15318 for every time both pads get their caps set.
15319 (gst_base_transform_handle_buffer): Give the ref to the transform
15320 function. Allows in-place modification of the buffer.
15322 * gst/base/gstbasetransform.h (transform_caps): New class method.
15323 Given caps on one side, what can I do on the other.
15324 (set_caps): Take two caps, one for each side of the element.
15327 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
15328 caps in place. This is safe because we can check the mutability of
15329 the caps, and a good idea because fixate functions are just called
15330 as a matter of last resort. (Not actually implemented.)
15331 (gst_pad_set_caps): If the caps we're setting is actually the same
15332 as the existing pad caps, just update the pointer without calling
15333 setcaps. Assert that caps is either NULL or fixed, as per the
15336 * gst/gstghostpad.c: Update for fixate changes.
15338 2005-07-02 Andy Wingo <wingo@pobox.com>
15341 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
15342 two refcounts makes it immutable, which is enough. Doc more.
15344 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
15346 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
15347 Put the mini_object into GValue as a mini_object,
15348 not a gpointer, since that's how we declared
15351 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15353 * examples/pwg/Makefile.am:
15354 Fix buildbot again.
15356 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15358 * docs/pwg/building-testapp.xml:
15360 * examples/pwg/Makefile.am:
15363 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15366 * examples/Makefile.am:
15367 * examples/pwg/Makefile.am:
15368 * examples/pwg/extract.pl:
15369 Enable building the PWG examples.
15370 * docs/pwg/advanced-interfaces.xml:
15371 Add URI interface stub.
15372 * docs/pwg/advanced-types.xml:
15373 * docs/pwg/other-autoplugger.xml:
15374 * docs/pwg/appendix-porting.xml:
15375 * docs/pwg/pwg.xml:
15376 Add porting guide (mostly stubs), remove autoplugging (see ADM).
15377 * docs/pwg/building-boiler.xml:
15378 * docs/pwg/building-chainfn.xml:
15379 * docs/pwg/building-pads.xml:
15380 * docs/pwg/building-props.xml:
15381 * docs/pwg/building-state.xml:
15382 * docs/pwg/building-testapp.xml:
15383 Update the building-*.xml parts for 0.9 changes. All examples
15384 code blocks compile in examples/pwg/*.
15386 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15388 * docs/manual/advanced-autoplugging.xml:
15389 * docs/manual/appendix-checklist.xml:
15390 * docs/manual/appendix-integration.xml:
15391 * docs/manual/highlevel-components.xml:
15392 Fix playbin/decodebin examples, update docs a bit, mention bus
15393 instead of signals in various places, mention kmplayer and
15394 kaffeine since they have a working GStreamer backend in the KDE
15397 2005-06-30 Wim Taymans <wim@fluendo.com>
15400 * docs/design/draft-ghostpads.txt:
15401 * docs/design/draft-push-pull.txt:
15402 * docs/design/draft-query.txt:
15403 * docs/design/part-TODO.txt:
15404 * docs/design/part-query.txt:
15405 Added CHANGES-0.9 doc, updated status of other docs.
15410 2005-06-30 Wim Taymans <wim@fluendo.com>
15412 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15413 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15414 (gst_base_sink_change_state):
15415 * gst/base/gstbasesink.h:
15416 Some tweaks, only EOS and a buffer complete a preroll.
15418 2005-06-30 Andy Wingo <wingo@pobox.com>
15420 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
15421 activate_push down to the internal pad as well.
15423 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
15425 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15427 * gst/gsttaginterface.c:
15428 Some documentation fixes (#307394 and #307397).
15430 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
15432 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15434 * gst/gstvalue.c: (gst_value_intersect_list):
15435 Fix memleak (#309125).
15437 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15439 * docs/manual/advanced-dataaccess.xml:
15440 Fix fakesrc example to compile; doesn't work, bug somewhere...?
15441 * docs/manual/basics-pads.xml:
15442 Add reference for filtered caps to above chapter.
15444 2005-06-30 Wim Taymans <wim@fluendo.com>
15446 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
15447 (gst_bin_change_state):
15449 Lame attempt at making the state change function a bit
15452 2005-06-30 Wim Taymans <wim@fluendo.com>
15454 * docs/design/part-clocks.txt:
15455 * docs/design/part-element-sink.txt:
15456 * docs/design/part-events.txt:
15457 * docs/design/part-preroll.txt:
15458 * docs/design/part-states.txt:
15459 Some more tweeks and additions to the docs.
15461 2005-06-30 Wim Taymans <wim@fluendo.com>
15463 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
15464 (default_have_data), (gst_pad_class_init), (gst_pad_init),
15465 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
15466 (gst_pad_check_pull_range), (gst_pad_get_range),
15467 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
15469 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
15470 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15471 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15472 (gst_pad_remove_buffer_probe):
15473 Removed atomic operations, use existing LOCK.
15474 Move exception handling out of main code path.
15476 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15478 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
15479 (silly_return_true_function), (gst_pad_class_init),
15480 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
15481 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
15482 (gst_pad_send_event):
15483 Fix accumulator, add default value by using _emitv() instead
15484 of _emit() for signal emission.
15486 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15488 * docs/manual/advanced-dataaccess.xml:
15489 * examples/manual/Makefile.am:
15491 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
15494 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
15496 * gst/elements/gstfilesink.c: (gst_filesink_render):
15497 Simplify code so that we don't have to handle short
15498 writes and return GST_FLOW_ERROR if an error occured.
15500 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15502 * docs/gst/gstreamer-docs.sgml:
15503 Remove probes more.
15505 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15507 * docs/gst/gstreamer-sections.txt:
15508 * docs/gst/tmpl/gstpad.sgml:
15509 * docs/gst/tmpl/gstprobe.sgml:
15511 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
15512 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
15513 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
15514 (gst_pad_push_event), (gst_pad_send_event):
15516 * gst/gstutils.c: (gst_pad_add_data_probe),
15517 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15518 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15519 (gst_pad_remove_buffer_probe):
15521 Remove old probes, add new g-signal-based probes and some utility
15524 2005-06-29 Edward Hervey <edward@fluendo.com>
15526 * gst/gstelementfactory.c:
15529 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
15530 the definition to the header file.
15532 2005-06-29 Andy Wingo <wingo@pobox.com>
15534 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
15535 plugins from the source directory.
15537 2005-06-29 Wim Taymans <wim@fluendo.com>
15539 * docs/gst/tmpl/gstbuffer.sgml:
15540 * docs/gst/tmpl/gstclock.sgml:
15541 Some fixings for blantently wrong text.
15543 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
15545 * check/Makefile.am:
15546 * gst/gst.c: (add_path_func), (init_pre):
15547 * gst/gstregistry.c: (gst_registry_add_path):
15548 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
15549 only scan the GST_PLUGIN_PATH locations, and not add
15552 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
15554 * docs/gst/gstreamer-sections.txt:
15555 * docs/gst/tmpl/gstbasesrc.sgml:
15556 * gst/gstelement.c:
15557 * gst/gstelement.h:
15562 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15564 * docs/manual/advanced-autoplugging.xml:
15565 Fix autoplugging example.
15567 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15569 * docs/manual/advanced-autoplugging.xml:
15570 * docs/manual/mime-world.fig:
15571 Try to get autoplugging working, fix type detection. Fix text
15572 in hello-world image.
15574 2005-06-29 Wim Taymans <wim@fluendo.com>
15576 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15577 (gst_base_sink_change_state):
15581 map SIGNAL and BROADCAST to the right function.
15584 Remove redundant braces.
15586 * gst/gstpad.c: (gst_pad_set_caps):
15587 Don't call setcaps function when reseting caps to NULL.
15589 * gst/gstsystemclock.c: (gst_system_clock_dispose),
15590 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
15591 (gst_system_clock_id_unschedule):
15592 Use BROADCAST as this is what we do.
15594 2005-06-29 Wim Taymans <wim@fluendo.com>
15596 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15597 We are actually prerolling before commiting the state
15600 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15602 * docs/manual/advanced-clocks.xml:
15603 * docs/manual/advanced-interfaces.xml:
15604 * docs/manual/advanced-metadata.xml:
15605 * docs/manual/advanced-position.xml:
15606 * docs/manual/advanced-schedulers.xml:
15607 * docs/manual/advanced-threads.xml:
15608 * docs/manual/appendix-porting.xml:
15609 * docs/manual/basics-bins.xml:
15610 * docs/manual/basics-bus.xml:
15611 * docs/manual/basics-elements.xml:
15612 * docs/manual/basics-helloworld.xml:
15613 * docs/manual/basics-pads.xml:
15614 * docs/manual/highlevel-components.xml:
15615 * docs/manual/manual.xml:
15616 * docs/manual/thread.fig:
15617 Update (until threads/scheduling) Application Development Manual;
15618 remove GstThread, add GstBus, add simple porting checklist, add
15619 documentation for tag writing, clocks, make all examples until this
15620 part compile and run.
15621 * examples/manual/Makefile.am:
15622 Update from changes to Application Development Manual; add bus
15623 example, remove thread example.
15625 2005-06-28 Wim Taymans <wim@fluendo.com>
15627 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
15628 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
15629 (gst_bus_source_dispatch):
15630 Add debugging messages.
15631 Make internal methods static.
15632 Handle the case where the bus is flushed in the handler.
15634 * gst/gstelement.c: (gst_element_get_bus):
15635 Fix refcount in _get_bus();
15637 * gst/gstpipeline.c: (gst_pipeline_change_state),
15638 (gst_pipeline_get_clock_func):
15639 Clock refcounting fixes.
15640 Handle the case where preroll timed out more gracefully.
15642 * gst/gstsystemclock.c: (gst_system_clock_dispose):
15643 Clean up the internal thread in dispose. This is needed
15644 for subclasses that actually get disposed.
15646 * gst/schedulers/threadscheduler.c:
15647 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
15648 (gst_thread_scheduler_dispose):
15649 Free thread pool in dispose.
15651 2005-06-28 Andy Wingo <wingo@pobox.com>
15653 * tests/network-clock-utils.scm (debug, print-event): New utils.
15655 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
15656 (*packet-loss*): Unified loss probability.
15657 (network-time): Report out-of-band events.
15659 * tests/plot-data: Add support for out-of-band events. Hack it
15660 into this script instead of passing it down the pipe; should fix
15663 2005-06-28 Wim Taymans <wim@fluendo.com>
15665 * docs/gst/gstreamer.types:
15666 * docs/gst/tmpl/gstbasesrc.sgml:
15667 * docs/gst/tmpl/gstpad.sgml:
15670 2005-06-28 Wim Taymans <wim@fluendo.com>
15672 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15673 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
15674 (gst_proxy_pad_do_fixatecaps):
15675 Correctly proxy the check_pull_range function.
15677 2005-06-28 Andy Wingo <wingo@pobox.com>
15679 * tests/network-clock.scm: Removed need for slib.
15681 2005-06-28 Wim Taymans <wim@fluendo.com>
15683 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
15684 (gst_basesink_preroll_queue_flush):
15685 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
15686 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
15687 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15688 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15689 (gst_proxy_pad_set_property):
15692 * gst/gstqueue.c: (gst_queue_init):
15693 The deprecated pad loop function is removed now.
15695 2005-06-28 Andy Wingo <wingo@pobox.com>
15697 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
15698 New parameters, simulate network packet loss.
15700 * tests/network-clock-utils.scm: Initialize the RNG.
15702 2005-06-28 Wim Taymans <wim@fluendo.com>
15704 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
15705 (gst_basesink_event), (gst_basesink_deactivate):
15706 Flushing the preroll queue always needs to unlock the waiters.
15708 2005-06-28 Edward Hervey <edward@fluendo.com>
15710 * gst/gstpipeline.c: (gst_pipeline_send_event):
15711 Wheen a seek was successful on a pipeline, set the stream_time to the
15712 seek offset in order to have a synchronized stream_time.
15714 2005-06-28 Wim Taymans <wim@fluendo.com>
15716 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15717 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
15718 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
15719 (gst_proxy_pad_do_fixatecaps):
15720 Call wrapper function instead of just calling the function
15721 pointers. This takes care of any locking and whatmore.
15723 2005-06-28 Wim Taymans <wim@fluendo.com>
15725 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
15726 (gst_pad_pull_range):
15728 CONNECTED -> LINKED.
15730 2005-06-28 Andy Wingo <wingo@pobox.com>
15732 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
15733 source-munging commit!!!
15735 * gst/gstobject.c (gst_object_unref, gst_object_ref)
15736 (gst_object_sink): Take gpointer arguments, not GstObject --
15737 avoids casts. Like GLib.
15739 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
15742 2005-06-27 Andy Wingo <wingo@pobox.com>
15744 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
15747 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
15748 returns a sorted copy of the trace list.
15749 (gst_alloc_trace_print_live): New API, only prints traces with
15750 live objects. Sort the list.
15751 (gst_alloc_trace_print_all): Sort the list.
15752 (gst_alloc_trace_print): Align columns.
15754 * gst/elements/gstttypefindelement.c:
15755 * gst/elements/gsttee.c:
15756 * gst/base/gstbasesrc.c:
15757 * gst/base/gstbasesink.c:
15758 * gst/base/gstbasetransform.c:
15759 * gst/gstqueue.c: Adapt for pad activation changes.
15761 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
15763 (gst_pipeline_dispose): Drop ref on sched.
15765 * gst/gstpad.c (gst_pad_init): Set the default activate func.
15766 (gst_pad_activate_default): Push mode by default.
15767 (pre_activate_switch, post_activate_switch): New stubs, things to
15768 do before and after switching activation modes on pads.
15769 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
15770 the pad's activate function to choose which mode to activate.
15771 Shortcut on deactivation and call the right function directly.
15772 (gst_pad_activate_pull): New API, (de)activates a pad in pull
15774 (gst_pad_activate_push): New API, same for push mode.
15775 (gst_pad_set_activate_function)
15776 (gst_pad_set_activatepull_function)
15777 (gst_pad_set_activatepush_function): Setters for new API.
15779 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
15780 Trace all miniobjects.
15781 (gst_mini_object_make_writable): Unref the arg if we copy, like
15782 gst_caps_make_writable.
15784 * gst/gstmessage.c (_gst_message_initialize): No trace init.
15786 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
15787 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
15788 Adapt for new pad API.
15790 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
15792 * gst/gstelement.h:
15793 * gst/gstelement.c (gst_element_iterate_src_pads)
15794 (gst_element_iterate_sink_pads): New API functions.
15796 * gst/gstelement.c (iterator_fold_with_resync): New utility,
15797 should fold into gstiterator.c in some form.
15798 (gst_element_pads_activate): Simplified via use of fold and
15799 delegation of decisions to gstpad->activate.
15801 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
15804 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
15805 class once in init, like gstmessage. Didn't run into this issue
15806 but it seems correct. Don't initialize a trace, gstminiobject does
15809 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
15810 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
15812 (assert_live_count): New util function, uses alloc traces to check
15815 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
15816 To be modified when unlink drops the internal pad.
15818 2005-06-27 Wim Taymans <wim@fluendo.com>
15820 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
15821 (gst_bin_change_state):
15822 Cleanup the get_state() function a little, make sure it
15823 iterates the same set of elements.
15824 Added stub iterate_state_order().
15826 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
15828 * docs/gst/gstreamer-docs.sgml:
15829 * docs/gst/gstreamer-sections.txt:
15830 * docs/gst/gstreamer.types:
15831 * docs/gst/tmpl/gstbasesink.sgml:
15832 * docs/gst/tmpl/gstbasesrc.sgml:
15833 * docs/gst/tmpl/gstbasetransform.sgml:
15834 * docs/gst/tmpl/gstelement.sgml:
15835 * docs/gst/tmpl/gstiterator.sgml:
15836 * gst/base/gstbasesrc.c:
15837 * gst/base/gstbasesrc.h:
15838 * gst/base/gstbasetransform.h:
15839 * gst/gstelement.c:
15840 * gst/gstiterator.h:
15841 adding basetransform and iterator docs
15843 2005-06-27 Andy Wingo <wingo@pobox.com>
15845 * docs/design/part-activation.txt: Notes on how activation should
15846 work -- not quite implemented yet.
15848 2005-06-25 Wim Taymans <wim@fluendo.com>
15850 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
15851 At least get the chain function correct, needs more
15854 2005-06-25 Wim Taymans <wim@fluendo.com>
15856 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15857 (gst_basesink_handle_object), (gst_basesink_event),
15858 (gst_basesink_do_sync), (gst_basesink_handle_event),
15859 (gst_basesink_change_state):
15861 Right, two problems here: ghostpads don't take locks and
15862 glib _rec_mutex_lock_full() with depth==0 still locks.
15863 Catch illegal locking and g_warn them.
15865 2005-06-25 Wim Taymans <wim@fluendo.com>
15867 * check/states/sinks.c: (START_TEST), (gst_object_suite):
15868 Have to check for completion now...
15870 2005-06-25 Wim Taymans <wim@fluendo.com>
15872 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15873 (gst_basesink_handle_object), (gst_basesink_event),
15874 (gst_basesink_do_sync), (gst_basesink_handle_event),
15875 (gst_basesink_change_state):
15877 Unlock STREAM_LOCK whatever the recursion was.
15879 2005-06-25 Wim Taymans <wim@fluendo.com>
15881 * gst/base/gstbasesink.c: (gst_basesink_set_property),
15882 (gst_basesink_preroll_queue_empty),
15883 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
15884 (gst_basesink_event), (gst_basesink_do_sync),
15885 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
15886 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
15887 (gst_basesink_change_state):
15888 Reworked the base sink, handle event and buffer serialisation
15889 correctly and removed possible deadlock.
15890 Handle EOS correctly.
15892 2005-06-25 Wim Taymans <wim@fluendo.com>
15894 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
15895 (gst_pipeline_change_state):
15896 * tools/gst-launch.c: (check_intr), (event_loop), (main):
15897 Allow elements to post EOS in the state change function.
15898 Fix up -launch, make it exit the poll loop when the
15899 pipeline actually changed state.
15900 Fix up warning parsing in -launch.
15902 2005-06-25 Wim Taymans <wim@fluendo.com>
15904 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
15905 (gst_tee_sink_activate):
15906 Core takes STREAM_LOCK for us now.
15908 2005-06-25 Wim Taymans <wim@fluendo.com>
15910 * gst/gstelement.c: (gst_element_get_state_func),
15911 (gst_element_set_state):
15912 * gst/gstelement.h:
15913 * gst/gstmessage.c: (gst_message_parse_error),
15914 (gst_message_parse_warning):
15915 Keep track of current target state while performing a state
15916 change so that subclasses can do something interesting.
15917 Fix parsing of warning/error messages when GError is NULL.
15919 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
15921 * docs/gst/Makefile.am:
15922 * docs/gst/gstreamer-docs.sgml:
15923 * docs/gst/gstreamer-sections.txt:
15924 * docs/gst/gstreamer.types:
15925 * docs/gst/tmpl/gstbasesink.sgml:
15926 * docs/gst/tmpl/gstbasesrc.sgml:
15927 * docs/gst/tmpl/gstbin.sgml:
15928 * docs/gst/tmpl/gstcompat.sgml:
15929 * docs/gst/tmpl/gstfakesink.sgml:
15930 * docs/gst/tmpl/gstfakesrc.sgml:
15931 * docs/gst/tmpl/gstfilesink.sgml:
15932 * docs/gst/tmpl/gstfilesrc.sgml:
15933 * docs/gst/tmpl/gstindex.sgml:
15934 * docs/manual/appendix-quotes.xml:
15935 * gst/base/gstbasesrc.h:
15936 * gst/elements/gstfakesrc.h:
15937 * gst/gstmessage.h:
15938 start pulling in base classes and elements in our docs
15940 2005-06-24 Stefan Kost <ensonic@users.sf.net>
15942 * docs/gst/Makefile.am:
15943 * docs/libs/Makefile.am:
15944 fixed make distcheck with gtk-doc 1.3
15946 2005-06-23 Wim Taymans <wim@fluendo.com>
15948 * gst/gstelement.c: (gst_element_get_state_func),
15949 (gst_element_set_state), (gst_element_change_state):
15950 When the state did not change, also report NO_PREROLL
15953 2005-06-23 Wim Taymans <wim@fluendo.com>
15955 * gst/gstpad.c: (gst_pad_event_default):
15956 * gst/gstqueue.c: (gst_queue_loop):
15957 No unsafe task pausing please.
15959 2005-06-23 Wim Taymans <wim@fluendo.com>
15961 * gst/schedulers/threadscheduler.c:
15962 (gst_thread_scheduler_task_start),
15963 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
15964 Ref the task before pushing it on the threadpool. This
15965 makes sure that we have a ref when the threadfunction is
15968 2005-06-23 Andy Wingo <wingo@pobox.com>
15970 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
15971 offset is greater than the file's size.
15973 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
15974 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
15975 * gst/gstobject.c (gst_object_class_init): Make the class lock
15976 recursive. Wim won't let me drop deep_notify. Decodebin works
15977 again, whoopdy doo.
15979 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
15980 internal pad, and hacks accordingly. Doesn't do it on the target
15981 pad because we change its caps. Probably catches all cases of
15983 (gst_ghost_pad_set_property): Connect to notify::caps as
15986 * tests/network-clock.scm (plot-simulation): Pipe data to the
15987 elite python skript.
15989 * tests/network-clock-utils.scm (define-parameter): New macro,
15990 defines a parameter that can be set via the command line.
15991 (set-parameter!, parse-parameter-arguments): Command line args
15994 * tests/plot-data: Simple matplotlib-based plotter, takes input on
15997 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
15999 * gst/elements/gsttypefindelement.c:
16000 (gst_type_find_element_handle_event):
16001 Don't restart typefinding on a discont.
16002 * gst/gstelement.c: (gst_element_set_state):
16003 Debug spelling fix.
16004 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
16005 Allow changing mode of an active pad.
16006 Debug output fixes.
16007 * gst/registries/gstlibxmlregistry.c: (load_feature):
16008 Don't cast a static pad template to a normal pad template.
16010 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
16012 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16013 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16014 remove gst_strtoll completely, since it didn't actually do
16015 anything more than what g_ascii_strtoull already does.
16016 check for range errors when deserializing
16017 do a cast for the unsigned cases; but further fixing needs
16018 a decision on what the interpretation of "(int)" and
16019 deserialization should be for values that fall outside the
16020 type's boundaries (ie, refuse, or interpret as casting)
16022 2005-06-23 Wim Taymans <wim@fluendo.com>
16024 * check/Makefile.am:
16025 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
16026 * docs/design/part-live-source.txt:
16027 * docs/design/part-states.txt:
16028 * gst/base/gstbasesrc.c: (gst_basesrc_init),
16029 (gst_basesrc_set_live), (gst_basesrc_is_live),
16030 (gst_basesrc_get_range), (gst_basesrc_activate),
16031 (gst_basesrc_change_state):
16032 * gst/base/gstbasesrc.h:
16033 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16034 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
16035 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
16036 * gst/gstelement.c: (gst_element_get_state_func),
16037 (gst_element_set_state):
16038 * gst/gstelement.h:
16040 * tools/gst-launch.c: (event_loop), (main):
16041 Added support for live sources and other elements that
16043 Updated design docs, added live-source design doc.
16044 Implemented live source functionality in basesrc
16045 Fix error condition in _bin_get_state()
16046 Implement live source handling in -launch.
16047 Added check for live sources.
16048 Fixed case in GstBin where elements were changed state
16052 2005-06-23 Andy Wingo <wingo@pobox.com>
16054 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
16055 borken refcounting.
16057 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
16058 gst_caps_replace takes care of this for us.
16060 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
16061 gst_pad_set_caps on the target, not just its setcaps() function.
16063 * tests/network-clock.scm:
16064 * tests/network-clock-utils.scm: A network clock simulator.
16065 Something of an algorithmic testbed before doing something in C.
16067 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
16069 * check/Makefile.am:
16070 * check/gst/capslist.h:
16071 copy over from 0.8, and add two with bitmasks specified with
16073 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
16074 add test to parse everything from capslist.h
16075 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
16077 add test for structure deserialization
16078 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16079 add tests for deserialization of strings to int types
16080 * gst/gststructure.c: (gst_structure_nth_field_name):
16081 * gst/gststructure.h:
16082 add a way to get the name of a field referenced by index
16083 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16084 instead of checking if the resulting long long lies between
16085 min and max, we check if the long long would fit into
16086 a number of bytes for the final type.
16087 This fixes cases where a string represents 2^32 - 1, which
16088 when cast to int would be the (valid) -1, but is bigger than
16091 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
16093 * gst/parse/grammar.y:
16094 add a log line for type deserialization
16096 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
16098 * check/gst/gstvalue.c: (START_TEST):
16099 * gst/gstvalue.c: (gst_value_deserialize):
16100 return long long, not int, so gint64 deserialization actually
16101 works. Is there any flag that makes the compiler check this ?
16104 2005-06-22 Wim Taymans <wim@fluendo.com>
16107 Added convenience macros for setting buffers in GValue.
16109 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
16111 * check/gst/.cvsignore:
16112 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16113 add a test deserializing int64, and comment part out because
16116 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
16118 * check/Makefile.am:
16119 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
16120 * testsuite/Makefile.am:
16121 * testsuite/caps/Makefile.am:
16122 * testsuite/caps/value_serialize.c:
16123 * testsuite/test_gst_init.c:
16124 move a value_serialize test over
16126 2005-06-20 Wim Taymans <wim@fluendo.com>
16131 * gst/gstvalue.c: (gst_value_compare_buffer),
16132 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
16133 (gst_value_compare_flags), (gst_value_serialize_flags),
16134 (gst_value_deserialize_flags), (_gst_value_initialize):
16135 Fix serialisation of buffers, they are not boxed types anymore
16137 2005-06-20 Wim Taymans <wim@fluendo.com>
16139 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
16140 Testcase to show error in buffer-on-caps serialisation.
16142 2005-06-20 Andy Wingo <wingo@pobox.com>
16144 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
16145 will be adding to later.
16147 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
16148 if its socks fill with rocks.
16149 (gst_system_clock_obtain): Set the name on object construction.
16150 Avoid double-checked locking.
16152 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
16154 * gst/gsturi.c: (gst_element_make_from_uri):
16155 Fix potential endless loop.
16157 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
16159 * check/Makefile.am:
16161 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
16163 move over from testsuite dir and clean up
16166 * testsuite/Makefile.am:
16167 * testsuite/tags/.cvsignore:
16168 * testsuite/tags/Makefile.am:
16169 * testsuite/tags/merge.c:
16170 remove testsuite/tags
16172 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
16174 * docs/gst/gstreamer-sections.txt:
16175 * docs/gst/tmpl/gstenumtypes.sgml:
16176 * win32/gstenumtypes.c:
16177 clean up documentation build a little
16179 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
16181 * check/gstcheck.h:
16182 add macros for checking refcounts on objects and caps
16183 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
16184 add some more unit tests
16185 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16186 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
16187 fix leaked refcounts (I hope :)) so unittest works
16191 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
16193 * configure.ac: back to HEAD
16195 === release 0.9.1 ===
16197 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
16203 2005-06-17 Andy Wingo <wingo@pobox.com>
16205 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
16206 assert; it's always possible that the pad gets deactivated in
16207 between the checks in gstpad.c and the implementation. Rely on
16208 finish_preroll() to return a FLUSHING or similar instead of on the
16211 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
16212 clock and post an EOS message if we come out of finish_preroll in
16215 2005-06-16 David Schleef <ds@schleef.org>
16217 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16218 (gst_capsfilter_set_property): Allow NULL as possible value
16219 for filter_caps property, indicating GST_CAPS_ANY.
16221 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
16223 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
16225 * gst/schedulers/Makefile.am:
16227 * gstreamer.spec.in:
16230 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
16232 * gstreamer.spec.in:
16235 2005-06-08 Andy Wingo <wingo@pobox.com>
16237 * gst/gstutils.c: RPAD fixes all around.
16238 (gst_element_link_pads): Refcounting fixes.
16240 * tools/gst-inspect.c:
16241 * tools/gst-xmlinspect.c:
16243 * gst/base/gsttypefindhelper.c:
16244 * gst/base/gstbasesink.c:
16245 * gst/gstqueue.c: RPAD fixes.
16247 * gst/gstghostpad.h:
16248 * gst/gstghostpad.c: New ghost pad implementation as full proxy
16249 pads. The tricky thing is they provide both source and sink
16250 interfaces, since they proxy the internal pad for the external
16251 pad, and vice versa. Implement with lower-level ProxyPad objects,
16252 with the interior proxy pad as a child of the exterior ghost pad.
16253 Should write a doc on this.
16255 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
16256 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
16259 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
16260 pads are real pads. No ghost pads in this file. Not documenting
16261 the myriad s/RPAD/PAD/ and REALIZE fixes.
16262 (gst_pad_class_init): Add properties for "direction" and
16263 "template". Both are construct-only, so they can't change during
16264 the life of the pad. Fixes properly deriving from GstPad.
16265 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
16266 derived objects, just set properties when creating the objects via
16268 (gst_pad_get_parent): Implement as a function, return NULL if the
16269 parent is not an element.
16270 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
16271 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
16273 * gst/gstobject.c (gst_object_class_init): Make name a construct
16274 property. Don't set it in the object init.
16276 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
16277 with UNKNOWN direction.
16278 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
16279 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
16280 (gst_element_remove_pad): Remove ghost-pad special cases.
16281 (gst_element_pads_activate): Remove rpad cruft.
16283 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
16284 catch the pad's-parent-not-an-element case.
16286 * gst/gst.h: Include gstghostpad.h.
16288 * gst/gst.c (init_post): No more real, ghost pads.
16290 * gst/Makefile.am: Add gstghostpad.[ch].
16292 * check/Makefile.am:
16293 * check/gst/gstbin.c:
16294 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
16295 into a bin creates ghost pads, and that the refcounts are right.
16296 Partly moved from gstbin.c.
16298 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
16300 * check/gst-libs/.cvsignore:
16301 * check/gst/.cvsignore:
16302 * check/pipelines/.cvsignore:
16304 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
16305 (START_TEST), (cleanup_suite), (main):
16306 add some tests related to cleanup after running pipelines
16308 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
16310 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
16311 add a testsuite for GstBuffer
16313 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
16315 * gst/gstminiobject.h:
16316 add defines for accessing the refcount
16318 2005-06-03 Stefan Kost <ensonic@users.sf.net>
16320 * Makefile.am: added support for html unit test coverage reports
16322 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
16324 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
16325 Free existing caps if the capsfilter changes. Add a FIXME about
16326 setting those caps on the pads.
16328 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
16329 Before adding a ghost pad to a parent bin, check that there isn't
16330 already one for the element on the bin. Prevents infinite recursion
16331 when using decodebin in parse pipelines. Andy says he'll rewrite the
16332 way this works anyway, so ignore the hack.
16334 2005-06-02 Andy Wingo <wingo@pobox.com>
16336 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
16337 file size, pass it on to the type find helper.
16339 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
16340 segment_start and segment_end properly according to the seek
16341 method. Segment_end is still a bit flaky because offset can be
16342 negative for CUR and END cases, but it takes -1 as an "unset"
16345 2005-06-02 Wim Taymans <wim@fluendo.com>
16347 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
16348 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
16349 (gst_basesink_activate):
16350 * gst/base/gstbasesink.h:
16351 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16352 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
16353 (gst_pad_query), (gst_pad_start_task):
16355 * gst/gstqueue.c: (gst_queue_bufferalloc),
16356 (gst_queue_handle_sink_event), (gst_queue_chain):
16357 Bufferalloc: return GstFlowReturn to more accuratly report
16358 why allocation failed.
16360 2005-06-02 Wim Taymans <wim@fluendo.com>
16362 * gst/gstpipeline.c: (gst_pipeline_send_event):
16363 Take snapshot of state without blocking.
16365 2005-06-02 Wim Taymans <wim@fluendo.com>
16367 * docs/design/part-TODO.txt:
16368 * docs/design/part-caps.txt:
16369 * docs/design/part-clocks.txt:
16370 * docs/design/part-negotiation.txt:
16371 * docs/design/part-preroll.txt:
16374 2005-05-30 Wim Taymans <wim@fluendo.com>
16376 * gst/elements/gstidentity.c: (gst_identity_event),
16377 (gst_identity_transform), (gst_identity_get_property):
16378 Protect last_message property as it is accessed from
16381 2005-05-30 Wim Taymans <wim@fluendo.com>
16383 * gst/gstelement.c: (gst_element_init),
16384 (gst_element_pads_activate), (gst_element_change_state):
16385 Slicker pad activation code.
16387 2005-05-30 Wim Taymans <wim@fluendo.com>
16390 * gst/gstelement.h:
16391 * gst/gstelementfactory.h:
16393 Move elementfactory methods to separate .h file.
16395 2005-05-30 Wim Taymans <wim@fluendo.com>
16397 * docs/design/part-overview.txt:
16398 * gst/gstsystemclock.h:
16399 Small typo fixes, doc updates.
16401 2005-05-30 Wim Taymans <wim@fluendo.com>
16403 * gst/gst.c: (gst_init_get_popt_table), (init_post),
16404 (init_popt_callback):
16405 Remove cpu-opt flag.
16407 2005-05-30 Wim Taymans <wim@fluendo.com>
16409 * gst/gstbuffer.c: (gst_subbuffer_finalize),
16410 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
16412 Avoid typechecking in places where not needed.
16413 Added accessor for malloc_data.
16415 2005-05-30 Wim Taymans <wim@fluendo.com>
16417 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
16418 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
16419 (gst_pad_configure_sink), (gst_pad_configure_src),
16420 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
16421 (gst_pad_start_task):
16422 Propagate errors from _set_caps() in configure_src/sink
16423 functions instead of returning TRUE.
16424 FLUSH events can travel up and downstream
16427 2005-05-30 Wim Taymans <wim@fluendo.com>
16429 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
16430 (gst_basesink_activate):
16431 Handle EOS in preroll.
16433 2005-05-30 Wim Taymans <wim@fluendo.com>
16435 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16436 (gst_queue_loop), (gst_queue_handle_src_event):
16437 Remove old pieces of code
16438 Flushing the queue in an upstream event is a very bad idea.
16440 2005-05-26 Andy Wingo <wingo@pobox.com>
16442 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
16443 gst_value_set_mini_object so as to add a ref on the object (which
16444 will be removed when the value is unset).
16446 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
16447 arg type in ::handoff.
16449 * gst/gstelement.c (gst_element_change_state): Also deactivate
16450 pads in READY->NULL, just in case the element didn't make it to
16451 PAUSED. Wingo tested, Wim approved.
16453 2005-05-26 Wim Taymans <wim@fluendo.com>
16455 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16456 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
16457 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
16458 A flushing pad cannot be used to alloc_buffer from.
16460 2005-05-26 Wim Taymans <wim@fluendo.com>
16462 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
16463 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
16464 (gst_bus_source_dispatch), (gst_bus_source_finalize),
16465 (gst_bus_create_watch), (gst_bus_add_watch_full):
16467 Implement a real GSource and use g_main_context_wakeup() to
16468 signal new messages instead of the socketpair.
16470 2005-05-25 Wim Taymans <wim@fluendo.com>
16472 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
16473 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
16474 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16475 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
16476 (gst_pad_send_event), (gst_pad_start_task):
16477 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
16478 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
16479 (gst_queue_sink_activate), (gst_queue_src_activate),
16480 (gst_queue_change_state):
16482 Fix state changes for non sinks. We now change sinks, then elements
16483 with unconnected srcpads, then the rest.
16484 More efficient queue unlocking in flush and state changes.
16485 Set the pad activate mode even if it does not have an activate
16488 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16490 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
16491 Don't go in pull mode for non-seekable sources.
16492 * gst/elements/gsttypefindelement.h:
16493 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
16494 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
16495 (free_entry), (stop_typefinding),
16496 (gst_type_find_element_handle_event), (find_peek),
16497 (gst_type_find_element_chain), (do_pull_typefind),
16498 (gst_type_find_element_change_state):
16499 Allow typefinding (w/o seeking) in push-mode, simplified version
16500 of what was in 0.8.
16501 * gst/gstutils.c: (gst_buffer_join):
16503 gst_buffer_join() from 0.8.
16505 2005-05-25 Wim Taymans <wim@fluendo.com>
16507 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16508 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
16509 (gst_pad_send_event), (gst_pad_start_task):
16510 Disable attempt at mode switching until it is figured out.
16512 2005-05-25 Wim Taymans <wim@fluendo.com>
16514 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
16515 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
16516 (gst_basesink_finish_preroll), (gst_basesink_chain),
16517 (gst_basesink_loop), (gst_basesink_activate),
16518 (gst_basesink_change_state):
16519 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
16520 (gst_basesrc_get_range), (gst_basesrc_loop),
16521 (gst_basesrc_activate):
16522 * gst/elements/gsttee.c: (gst_tee_sink_activate):
16523 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
16524 (gst_real_pad_init), (gst_real_pad_set_property),
16525 (gst_real_pad_get_property), (gst_pad_set_active),
16526 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
16527 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
16528 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
16529 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
16530 (gst_pad_event_default_dispatch), (gst_pad_event_default),
16531 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
16532 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
16533 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16534 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
16535 (gst_pad_stop_task):
16537 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16538 (gst_queue_loop), (gst_queue_src_activate):
16539 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
16540 (gst_task_get_state):
16542 * gst/schedulers/threadscheduler.c:
16543 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
16544 Implement gst_pad_pause/start/stop_task(), take STREAM lock
16546 Remove ACTIVE pad flag, use FLUSHING everywhere
16547 Added _pad_chain(), _pad_get_range() to call chain/getrange
16549 Add locks around IS_FLUSHING when reading.
16550 Take STREAM lock in chain(), get_range() functions so plugins
16551 don't need to take it anymore.
16555 2005-05-25 Wim Taymans <wim@fluendo.com>
16557 * tools/gst-launch.c: (event_loop):
16558 Unref message after using its contents instead of
16561 2005-05-24 Wim Taymans <wim@fluendo.com>
16563 * docs/design/draft-ghostpads.txt:
16564 * docs/design/draft-push-pull.txt:
16565 * docs/design/draft-query.txt:
16566 * docs/design/part-overview.txt:
16567 Docs updates, added general overview doc.
16569 2005-05-21 David Schleef <ds@schleef.org>
16571 * docs/gst/tmpl/old/GstBin.sgml:
16572 * docs/gst/tmpl/old/GstBuffer.sgml:
16573 * docs/gst/tmpl/old/GstCaps.sgml:
16574 * docs/gst/tmpl/old/GstClock.sgml:
16575 * docs/gst/tmpl/old/GstCompat.sgml:
16576 * docs/gst/tmpl/old/GstData.sgml:
16577 * docs/gst/tmpl/old/GstElement.sgml:
16578 * docs/gst/tmpl/old/GstEvent.sgml:
16579 * docs/gst/tmpl/old/GstIndex.sgml:
16580 * docs/gst/tmpl/old/GstStructure.sgml:
16581 * docs/gst/tmpl/old/GstTag.sgml:
16582 * docs/gst/tmpl/old/cothreads.sgml:
16583 * docs/gst/tmpl/old/cothreads_compat.sgml:
16584 * docs/gst/tmpl/old/gettext.sgml:
16585 * docs/gst/tmpl/old/gobject2gtk.sgml:
16586 * docs/gst/tmpl/old/grammar.tab.sgml:
16587 * docs/gst/tmpl/old/gst-i18n-app.sgml:
16588 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
16589 * docs/gst/tmpl/old/gst_private.sgml:
16590 * docs/gst/tmpl/old/gstaggregator.sgml:
16591 * docs/gst/tmpl/old/gstarch.sgml:
16592 * docs/gst/tmpl/old/gstatomic_impl.sgml:
16593 * docs/gst/tmpl/old/gstbufferstore.sgml:
16594 * docs/gst/tmpl/old/gstdata_private.sgml:
16595 * docs/gst/tmpl/old/gstdisksink.sgml:
16596 * docs/gst/tmpl/old/gstdisksrc.sgml:
16597 * docs/gst/tmpl/old/gstelementfactory.sgml:
16598 * docs/gst/tmpl/old/gstextratypes.sgml:
16599 * docs/gst/tmpl/old/gstfakesink.sgml:
16600 * docs/gst/tmpl/old/gstfakesrc.sgml:
16601 * docs/gst/tmpl/old/gstfdsink.sgml:
16602 * docs/gst/tmpl/old/gstfdsrc.sgml:
16603 * docs/gst/tmpl/old/gstfilesink.sgml:
16604 * docs/gst/tmpl/old/gstfilesrc.sgml:
16605 * docs/gst/tmpl/old/gsthttpsrc.sgml:
16606 * docs/gst/tmpl/old/gstidentity.sgml:
16607 * docs/gst/tmpl/old/gstindexfactory.sgml:
16608 * docs/gst/tmpl/old/gstmarshal.sgml:
16609 * docs/gst/tmpl/old/gstmd5sink.sgml:
16610 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
16611 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
16612 * docs/gst/tmpl/old/gstpadtemplate.sgml:
16613 * docs/gst/tmpl/old/gstpipefilter.sgml:
16614 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
16615 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
16616 * docs/gst/tmpl/old/gstshaper.sgml:
16617 * docs/gst/tmpl/old/gstspider.sgml:
16618 * docs/gst/tmpl/old/gstspideridentity.sgml:
16619 * docs/gst/tmpl/old/gststatistics.sgml:
16620 * docs/gst/tmpl/old/gsttee.sgml:
16621 * docs/gst/tmpl/old/gsttimecache.sgml:
16622 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
16623 * docs/gst/tmpl/old/gstxmlregistry.sgml:
16624 * docs/gst/tmpl/old/gthread-cothreads.sgml:
16625 * docs/gst/tmpl/old/types.sgml:
16626 I didn't intend to add these or check them in.
16628 2005-05-19 David Schleef <ds@schleef.org>
16630 * configure.ac: Use -no-common everywhere. In a sane world, it
16631 would be the default in libtool, because without it, you can't
16632 build DLLs on Windows.
16633 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
16634 * docs/gst/gstreamer-sections.txt:
16635 * docs/gst/tmpl/gstcpu.sgml:
16636 * docs/gst/tmpl/gstdata.sgml:
16637 * docs/gst/tmpl/gstthread.sgml:
16639 2005-05-19 David Schleef <ds@schleef.org>
16641 * gst/gstminiobject.c: (gst_value_set_mini_object),
16642 (gst_value_take_mini_object), (gst_value_get_mini_object):
16643 * gst/gstminiobject.h: Add GValue set/get functions.
16645 2005-05-19 Wim Taymans <wim@fluendo.com>
16647 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
16648 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
16649 (gst_subbuffer_init), (gst_buffer_is_span_fast):
16651 * gst/gstbus.c: (gst_bus_post):
16652 * gst/gstelement.c: (gst_element_get_random_pad):
16653 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
16654 Make subbufer unref the parent in finalize.
16655 some more debugging info.
16658 2005-05-19 Wim Taymans <wim@fluendo.com>
16660 * gst/base/gstbasesink.c: (gst_basesink_class_init),
16661 (gst_basesink_init), (gst_basesink_finalize),
16662 (gst_basesink_activate), (gst_basesink_change_state):
16663 Don't free preroll queue too early.
16665 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16669 Hi, I'm outdated. Please shoot me.
16671 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16673 * gst/gstpipeline.c: (gst_pipeline_send_event):
16674 Do not access variables after they have been deleted.
16676 2005-05-19 Wim Taymans <wim@fluendo.com>
16678 * tools/gst-inspect.c: (print_plugin_features):
16679 A plugin feature does unfortunatly not use the
16682 2005-05-18 Wim Taymans <wim@fluendo.com>
16684 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
16685 Port _span() functions to new subbuffers.
16687 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16689 * gst/gstbin.c: (gst_bin_add_func):
16690 Fix clock settery in bins when adding kids after the clock has
16693 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16695 * gst/elements/gstidentity.c: (gst_identity_class_init):
16696 Workaround until signals support GstMiniObject.
16698 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
16701 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
16703 2005-05-18 Wim Taymans <wim@fluendo.com>
16705 * gst/base/Makefile.am:
16706 * gst/base/gstadapter.c: (gst_adapter_base_init),
16707 (gst_adapter_class_init), (gst_adapter_init),
16708 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
16709 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
16710 (gst_adapter_flush), (gst_adapter_available),
16711 (gst_adapter_available_fast):
16712 * gst/base/gstadapter.h:
16713 Ported and added adapter to the base classes.
16715 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16718 * gst/gstmessage.c:
16719 Make sure the class is reffed/unreffed once before threads can be
16720 used. Fixes #304551.
16722 2005-05-17 Wim Taymans <wim@fluendo.com>
16724 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
16725 (gst_basesink_chain_unlocked), (gst_basesink_activate):
16726 * gst/gstminiobject.c: (gst_mini_object_get_type),
16727 (gst_mini_object_free):
16728 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
16729 (gst_pad_push), (gst_pad_push_event):
16730 * gst/gstqueue.c: (gst_queue_change_state):
16731 Don't queue buffers in basesink when we are flushing.
16732 Unref buffer when flushing in basesink.
16733 Flush queue when going to READY
16734 Unref buffer when _push() returns an error.
16735 Don't free MiniObject instance when refcount is incremented
16736 in _finalize() so that we can recover objects.
16738 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
16740 * docs/manual/advanced-schedulers.xml:
16741 * docs/manual/appendix-checklist.xml:
16742 * docs/pwg/advanced-clock.xml:
16743 * docs/pwg/advanced-interfaces.xml:
16744 * docs/pwg/advanced-request.xml:
16745 * docs/pwg/advanced-types.xml:
16746 * docs/pwg/intro-preface.xml:
16747 * examples/plugins/example.c: (gst_example_get_type),
16748 (gst_example_class_init), (gst_example_chain),
16749 (gst_example_set_property), (gst_example_get_property),
16750 (gst_example_change_state), (plugin_init):
16751 * examples/plugins/example.h:
16754 2005-05-17 Wim Taymans <wim@fluendo.com>
16756 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
16757 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
16758 * gst/gstqueue.c: (gst_queue_change_state):
16759 Clear queue when going to READY.
16760 Remove IN_SETCAPS flag too.
16762 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
16764 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
16765 Remove implicit cast from gboolean to GstElementStateReturn;
16766 make sure we still return failure in paused => ready case if
16767 the parent class fails to change state and our own stop
16770 2005-05-17 Wim Taymans <wim@fluendo.com>
16772 * tools/gst-launch.c: (event_loop):
16773 Message was unreffed too soon.
16775 2005-05-16 Andy Wingo <wingo@pobox.com>
16777 * gst/gstbin.c (sink_iterator_filter): Err... um...
16779 * check/gst/gstbin.c (test_ghost_pads): New test for the
16780 ghosting-if-elements-not-in-same-bin behavior.
16782 2005-05-16 David Schleef <ds@schleef.org>
16784 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
16785 accessing refcount directly.
16787 2005-05-15 David Schleef <ds@schleef.org>
16789 * check/Makefile.am: remove GstData checks
16790 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
16791 * gst/Makefile.am: add miniobject, remove data
16792 * gst/gst.h: add miniobject, remove data
16793 * gst/gstdata.c: remove
16794 * gst/gstdata.h: remove
16795 * gst/gstdata_private.h: remove
16796 * gst/gsttypes.h: remove GstEvent and GstMessage
16797 * gst/gstelement.c: (gst_element_post_message): fix for API changes
16798 * gst/gstmarshal.list: change BOXED -> OBJECT
16800 Implement GstMiniObject.
16801 * gst/gstminiobject.c:
16802 * gst/gstminiobject.h:
16804 Modify to be subclasses of GstMiniObject.
16805 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
16806 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
16807 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
16808 (gst_subbuffer_get_type), (gst_subbuffer_init),
16809 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
16812 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
16813 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
16814 (_gst_event_copy), (gst_event_new):
16816 * gst/gstmessage.c: (_gst_message_initialize),
16817 (gst_message_get_type), (gst_message_class_init),
16818 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
16819 (gst_message_new), (gst_message_new_error),
16820 (gst_message_new_warning), (gst_message_new_tag),
16821 (gst_message_new_state_changed), (gst_message_new_application):
16822 * gst/gstmessage.h:
16823 * gst/gstprobe.c: (gst_probe_perform),
16824 (gst_probe_dispatcher_dispatch):
16826 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
16827 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
16828 (_gst_query_copy), (gst_query_new):
16830 Update elements for GstData -> GstMiniObject changes
16832 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
16833 (gst_queue_chain), (gst_queue_loop):
16834 * gst/elements/gstbufferstore.c:
16835 (gst_buffer_store_add_buffer_func),
16836 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
16837 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16838 (gst_fakesink_render):
16839 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
16840 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
16841 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
16842 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
16843 (gst_filesrc_create_read):
16844 * gst/elements/gstidentity.c: (gst_identity_class_init):
16845 * gst/elements/gsttypefindelement.c:
16846 (gst_type_find_element_src_event), (free_entry_buffers),
16847 (gst_type_find_element_handle_event):
16848 * libs/gst/dataprotocol/dataprotocol.c:
16849 (gst_dp_header_from_buffer):
16850 * libs/gst/dataprotocol/dataprotocol.h:
16851 * libs/gst/dataprotocol/dp-private.h:
16853 2005-05-15 David Schleef <ds@schleef.org>
16855 * gst/elements/gstelements.c: Don't include headers that were
16858 2005-05-15 David Schleef <ds@schleef.org>
16860 * gst/elements/Makefile.am: Remove some elements that don't
16861 need to be in the core (or even exist at all).
16862 * gst/elements/gstaggregator.c:
16863 * gst/elements/gstaggregator.h:
16864 * gst/elements/gstmd5sink.c:
16865 * gst/elements/gstmd5sink.h:
16866 * gst/elements/gstmultifilesrc.c:
16867 * gst/elements/gstmultifilesrc.h:
16868 * gst/elements/gstpipefilter.c:
16869 * gst/elements/gstpipefilter.h:
16870 * gst/elements/gstshaper.c:
16871 * gst/elements/gstshaper.h:
16872 * gst/elements/gststatistics.c:
16873 * gst/elements/gststatistics.h:
16874 * po/POTFILES.in: Remove above files.
16876 2005-05-14 Andy Wingo <wingo@pobox.com>
16878 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
16879 so as to get the refs right.
16880 (sink_iterator_filter): New function, wraps bin_element_is_sink,
16881 unreffing objects that don't pass the filter.
16883 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
16884 gst_element_set_bus.
16885 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
16886 normal cases, this will destroy the bus.
16888 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
16891 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
16894 2005-05-13 Andy Wingo <wingo@pobox.com>
16896 * gst/gstutils.c (gst_element_link_pads): Instead of calling
16897 gst_pad_link, call pad_link_maybe_ghosting,
16898 (pad_link_maybe_ghosting): Links pads, making sure that the
16899 elements being linked are in the same bin.
16900 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
16901 Helpers for pad_link_maybe_ghosting.
16903 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
16906 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
16908 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
16910 * docs/design/part-element-source.txt:
16913 2005-05-12 Wim Taymans <wim@fluendo.com>
16915 * gst/base/gstbasesink.c: (gst_basesink_init),
16916 (gst_basesink_activate):
16917 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
16918 (gst_basesrc_is_seekable):
16919 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16920 (bin_element_is_sink), (gst_bin_change_state):
16921 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16922 * gst/gstelement.h:
16923 Identify sinks by their flag to avoid overly complicated
16925 Do state changes even for elements not reachable from the
16927 BaseSink is a sink now :)
16928 Some more debugging info in the basesrc.
16931 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16933 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
16934 Implement _query on a bin, similar to _send_event.
16936 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
16938 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
16939 Discont event offset format should be GST_FORMAT_BYTES,
16940 not GST_FORMAT_TIME.
16942 2005-05-12 Wim Taymans <wim@fluendo.com>
16944 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
16945 Same fix as Ronald's but without the signal.
16947 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16949 * gst/gstutils.c: (gst_element_query_position):
16950 No, an element is not a pad.
16952 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16954 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
16955 (gst_bin_get_state):
16956 If a child is removed from a bin while we remove the child from
16957 the bin and while we're retrieving its state, signal this to the
16958 get_state function so we abort the wait (instead of waiting for
16959 a timeout) and can immediately re-iterate over all other elements.
16961 2005-05-12 Wim Taymans <wim@fluendo.com>
16963 * gst/base/Makefile.am:
16964 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
16965 (gst_basesrc_start):
16966 * gst/base/gstbasesrc.h:
16967 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
16968 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
16969 (gst_pushsrc_init), (gst_pushsrc_create):
16970 * gst/base/gstpushsrc.h:
16971 Added is_seekable to BaseSrc
16972 Added simple PushSrc.
16974 2005-05-11 Wim Taymans <wim@fluendo.com>
16976 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16977 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16978 (gst_element_link_pads), (gst_element_query_position),
16979 (gst_element_query_convert), (intersect_caps_func),
16980 (gst_pad_query_position), (gst_pad_query_convert):
16981 Fix refcounting in utils function.
16982 No point in trying to activate a pad when it's added, it could
16983 be added from the state change function and then we deadlock, the
16984 element has to decide what to do.
16986 2005-05-10 Andy Wingo <wingo@pobox.com>
16988 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
16989 *all* the arguments.
16991 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
16992 stream lock if it's a FLUSH_DONE; normal flushes don't get the
16993 lock (according to the docs -- if this is wrong change the docs).
16995 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
16996 flush messages in the NULL state.
16998 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
16999 message immediately and return.
17000 (gst_bus_set_flushing): New function. If a bus is flushing, it
17001 flushes out any queued messages and immediately unrefs new
17002 messages. This is so when an element goes to NULL, all of the
17003 unhandled messages coming from it can be freed, and their
17004 references to the element dropped. In other words: message source
17005 ref considered harmful :P
17007 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
17008 we're finished with it.
17010 * gst/gstmessage.c (gst_message_new_state_changed):
17012 2005-05-10 Wim Taymans <wim@fluendo.com>
17014 * gst/gstvalue.c: (gst_value_compare_flags),
17015 (gst_value_serialize_flags), (gst_value_deserialize_flags),
17016 (_gst_value_initialize):
17017 Added flags serialize/deserialize/compare code.
17019 2005-05-09 Andy Wingo <wingo@pobox.com>
17021 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
17022 Intersect the peer's caps with our caps.
17024 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17026 * gst/base/gsttypefindhelper.c: (helper_find_peek):
17027 * gst/elements/gsttypefindelement.c: (find_peek):
17028 Handle negative offsets better. Fixes decodebin.
17030 2005-05-09 Wim Taymans <wim@fluendo.com>
17032 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
17033 (gst_base_transform_event):
17034 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
17035 Implement accept_caps.
17036 Fix silly lock/unlock mismatch in base class.
17038 2005-05-09 Wim Taymans <wim@fluendo.com>
17040 * docs/design/draft-push-pull.txt:
17041 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
17042 * gst/elements/gstfilesink.c: (gst_filesink_init),
17043 (gst_filesink_query):
17044 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17045 (gst_type_find_handle_src_query), (find_element_get_length):
17046 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
17047 * gst/gstelement.h:
17048 * gst/gstmessage.c:
17049 * gst/gstmessage.h:
17050 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
17051 (gst_real_pad_get_caps_unlocked),
17052 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
17053 (gst_pad_event_default_dispatch), (gst_pad_event_default),
17054 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
17055 (gst_real_pad_dispose), (gst_real_pad_finalize),
17056 (gst_pad_load_and_link), (gst_pad_save_thyself),
17057 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
17058 (gst_pad_check_pull_range), (gst_pad_pull_range),
17059 (gst_pad_template_get_type), (gst_pad_template_class_init),
17060 (gst_pad_template_init), (gst_pad_template_dispose),
17061 (name_is_valid), (gst_static_pad_template_get),
17062 (gst_pad_template_new), (gst_static_pad_template_get_caps),
17063 (gst_pad_template_get_caps), (gst_pad_set_element_private),
17064 (gst_pad_get_element_private), (gst_pad_start_task),
17065 (gst_pad_pause_task), (gst_pad_stop_task),
17066 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
17067 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
17068 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
17069 (gst_ghost_pad_new):
17071 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
17072 (gst_query_new_position), (gst_query_set_position),
17073 (gst_query_parse_position), (gst_query_new_convert),
17074 (gst_query_set_convert), (gst_query_parse_convert):
17076 * gst/gstqueryutils.c:
17077 * gst/gstqueryutils.h:
17078 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
17079 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
17080 (gst_queue_handle_src_query):
17081 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17082 (gst_element_query_position), (gst_element_query_convert),
17083 (intersect_caps_func), (gst_pad_query_position),
17084 (gst_pad_query_convert):
17086 * tools/gst-inspect.c: (print_pad_info):
17087 * tools/gst-xmlinspect.c: (print_element_info):
17088 Remove old query functions. Ported old code.
17089 Added position/convert helper functions to gstutils.
17090 Reordered gstpad.c code, grouping relevant things.
17091 Remove gst_message_new(), always need to speficy a specific
17095 2005-05-09 Andy Wingo <wingo@pobox.com>
17097 * gst/gstiterator.h: Add some includes.
17099 * gst/gstqueryutils.h: Include more headers.
17102 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
17103 some uses of gst_pad_query.
17105 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
17106 NULL out parameters.
17107 (gst_query_new_position): New proc, allocates a new position
17110 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
17111 gstqueryutils.c to the build.
17113 * gst/gststructure.c (gst_structure_set_valist): Implement with
17114 the generic G_VALUE_COLLECT.
17116 2005-05-08 Edward Hervey <bilboed@bilboed.com>
17118 * gst/Makefile.am: (gst_headers):
17119 Added gstqueryutils.h to the list of headers to install, that was
17120 a 'nachty' move wingo :)
17122 2005-05-06 Andy Wingo <wingo@pobox.com>
17125 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
17126 GstData, init a memchunk.
17127 (standard_definitions): Add a few query types, deprecate a few.
17128 (gst_query_get_type): New proc.
17129 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
17131 (gst_query_new_application, gst_query_get_structure): New public
17134 * docs/design/draft-query.txt: Removed LINKS from the query types,
17135 because all the rest can be dispatched to other pads -- seemed
17136 ugly to have a query that couldn't be dispatched. internal_links
17137 is fine as a pad method.
17139 * gst/gstpad.h: Add query2 as a pad method, add the new functions
17140 in gstpad.c, but maintain binary compatibility for the moment.
17141 Will fix before 0.9 is out.
17143 * gst/gstqueryutils.c:
17144 * gst/gstqueryutils.h: New files, implement 3 methods for each
17145 query type: parse_query, parse_response, and set. Probably need an
17148 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
17150 * gst/elements/gstfilesink.c (gst_filesink_query2):
17151 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
17152 query_types, and formats methods.
17154 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
17155 (gst_pad_set_query2_function): New functions.
17156 (gst_real_pad_init): Set query2_default as the default query2
17157 function. Basically just dispatches to internally linked pads.
17161 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
17162 without using the atomic operations. Only one thread can possibly
17163 be accessing the data at this point. Changed so as to avoid
17164 gst_atomic operations.
17166 2005-05-06 Wim Taymans <wim@fluendo.com>
17168 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
17169 Also set caps if we use the fallback buffer alloc.
17171 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
17173 * docs/gst/Makefile.am:
17174 * docs/gst/gstreamer-docs.sgml:
17175 * docs/gst/gstreamer-sections.txt:
17176 * docs/gst/tmpl/gstatomic.sgml:
17177 * docs/gst/tmpl/gstmemchunk.sgml:
17178 * testsuite/elements/struct_i386.h:
17179 * win32/GStreamer.vcproj:
17181 Purge GstAtomic stuff from docs and win32 makefiles as well
17183 2005-05-06 Wim Taymans <wim@fluendo.com>
17185 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
17186 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
17187 * gst/gstpad.c: (gst_pad_peer_get_caps):
17188 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
17189 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
17190 (gst_queue_src_activate), (gst_queue_change_state):
17192 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17193 (intersect_caps_func):
17194 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
17195 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
17196 Some fixes for the peer_get_caps() change.
17198 2005-05-06 Wim Taymans <wim@fluendo.com>
17200 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17201 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
17202 (gst_basesink_activate):
17203 Actually do something with error codes returned from the push
17206 2005-05-06 Wim Taymans <wim@fluendo.com>
17208 * docs/design/part-element-sink.txt:
17209 * docs/design/part-element-source.txt:
17210 * gst/base/gstbasesink.c: (gst_basesink_class_init),
17211 (gst_basesink_event), (gst_basesink_activate):
17212 * gst/base/gstbasesink.h:
17213 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
17214 (gst_basesrc_activate):
17215 * gst/base/gstbasesrc.h:
17216 * gst/gstelement.c: (gst_element_pads_activate):
17217 Some more documentation.
17218 Fixed scheduling decision in _pads_activate().
17220 2005-05-05 Andy Wingo <wingo@pobox.com>
17222 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
17225 2005-05-05 Wim Taymans <wim@fluendo.com>
17227 * gst/base/Makefile.am:
17228 * gst/base/gstbasesink.h:
17229 * gst/base/gstbasesrc.c: (gst_basesrc_init),
17230 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
17231 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
17232 (gst_collectpads_class_init), (gst_collectpads_init),
17233 (gst_collectpads_finalize), (gst_collectpads_new),
17234 (gst_collectpads_set_function), (gst_collectpads_add_pad),
17235 (find_pad), (gst_collectpads_remove_pad),
17236 (gst_collectpads_is_active), (gst_collectpads_collect),
17237 (gst_collectpads_collect_range), (gst_collectpads_start),
17238 (gst_collectpads_stop), (gst_collectpads_peek),
17239 (gst_collectpads_pop), (gst_collectpads_available),
17240 (gst_collectpads_read), (gst_collectpads_flush),
17241 (gst_collectpads_chain):
17242 * gst/base/gstcollectpads.h:
17243 * gst/elements/Makefile.am:
17244 * gst/elements/gstelements.c:
17245 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17246 (gst_fakesink_get_times), (gst_fakesink_event),
17247 (gst_fakesink_preroll), (gst_fakesink_render):
17248 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
17249 (gst_filesink_init), (gst_filesink_set_location),
17250 (gst_filesink_open_file), (gst_filesink_close_file),
17251 (gst_filesink_pad_query), (gst_filesink_event),
17252 (gst_filesink_render), (gst_filesink_change_state):
17253 * gst/elements/gstfilesink.h:
17254 Added object to help in making collect pad based elements.
17256 Make event function in sink baseclass return gboolean.
17258 2005-05-05 Wim Taymans <wim@fluendo.com>
17260 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
17261 (gst_bin_get_by_name):
17263 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
17264 (gst_clock_finalize):
17265 * gst/gstdata.c: (gst_data_replace):
17267 * gst/gstelement.c: (gst_element_request_pad),
17268 (gst_element_pads_activate):
17269 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
17270 (gst_object_unref):
17271 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17272 (gst_pad_set_checkgetrange_function),
17273 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
17274 (gst_pad_check_pull_range), (gst_pad_pull_range),
17275 (gst_static_pad_template_get_caps), (gst_pad_start_task),
17276 (gst_pad_pause_task), (gst_pad_stop_task):
17277 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17278 (gst_element_request_pad), (gst_pad_proxy_getcaps):
17279 Fix name lookup in GstBin.
17280 Added _data_replace() function and _buffer_replace()
17281 Use finalize method to clean up clock.
17282 Fix refcounting on request pads.
17283 Fix pad schedule mode error.
17284 Some more object refcounting debug info,
17287 2005-05-04 Andy Wingo <wingo@pobox.com>
17289 * check/Makefile.am:
17290 * docs/gst/tmpl/gstatomic.sgml:
17291 * docs/gst/tmpl/gstplugin.sgml:
17292 * gst/base/gstbasesink.c: (gst_basesink_activate):
17293 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
17294 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
17295 (gst_basesrc_query), (gst_basesrc_set_property),
17296 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
17297 (gst_basesrc_activate):
17298 * gst/base/gstbasesrc.h:
17299 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
17300 (gst_base_transform_src_activate):
17301 * gst/elements/gstelements.c:
17302 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17303 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17304 * gst/elements/gsttee.c: (gst_tee_sink_activate):
17305 * gst/elements/gsttypefindelement.c: (find_element_get_length),
17306 (gst_type_find_element_checkgetrange),
17307 (gst_type_find_element_activate):
17308 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
17309 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
17310 (gst_caps_load_thyself):
17311 * gst/gstelement.c: (gst_element_pads_activate),
17312 (gst_element_save_thyself), (gst_element_restore_thyself):
17313 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
17314 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
17316 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
17317 (gst_xml_parse_file), (gst_xml_parse_memory),
17318 (gst_xml_get_element), (gst_xml_make_element):
17319 * gst/indexers/gstfileindex.c: (gst_file_index_load),
17320 (_file_index_id_save_xml), (gst_file_index_commit):
17321 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
17322 (read_enum), (load_pad_template), (load_feature), (load_plugin),
17324 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
17325 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
17326 * tools/gst-complete.c: (main):
17327 * tools/gst-compprep.c: (main):
17328 * tools/gst-inspect.c: (print_element_properties_info):
17329 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
17330 * tools/gst-xmlinspect.c: (print_element_properties):
17333 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
17335 * gst/gstplugin.c: (gst_plugin_check_module),
17336 (gst_plugin_check_file), (gst_plugin_load_file):
17337 apply patch from #172526 to make register work on MacOSX
17339 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
17341 * docs/gst/tmpl/gstconfig.sgml:
17342 * gst/gstconfig.h.in:
17343 move documentation for some symbols. Add doc for GST_PTR_FORMAT
17344 * testsuite/debug/printf_extension.c: (main):
17345 Do not use GST_PTR_FORMAT on pointers to types with
17346 sizeof < sizeof(gpointer). Fixes test on 64-bit
17347 * testsuite/elements/property.h:
17348 use correct printf format
17350 2005-05-02 Wim Taymans <wim@fluendo.com>
17352 * docs/design/draft-push-pull.txt:
17353 * docs/design/draft-query.txt:
17354 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
17355 (gst_basesrc_start):
17356 Added draft for new query API.
17357 Added draft for better selecting scheduling methods.
17358 Make basesrc ignore length if the subclass does not support
17361 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
17364 possible fixes for automake-1.5 - _LIBADD is reserved
17366 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
17368 * docs/faq/Makefile.am:
17369 * docs/manual/Makefile.am:
17370 * docs/manuals.mak:
17371 * docs/pwg/Makefile.am:
17373 possible fixes for automake-1.5
17375 2005-04-28 Wim Taymans <wim@fluendo.com>
17377 * gst/base/gstbasesink.c: (gst_basesink_base_init),
17378 (gst_basesink_pad_getcaps), (gst_basesink_init),
17379 (gst_basesink_do_sync):
17380 * gst/gstclock.c: (gst_clock_entry_new):
17381 * gst/gstevent.c: (gst_event_discont_get_value):
17382 * gst/gstpipeline.c: (pipeline_bus_handler),
17383 (gst_pipeline_change_state):
17384 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17385 Better debugging of clocking info.
17386 Allow NULL values when getting discont values.
17388 2005-04-27 Wim Taymans <wim@fluendo.com>
17390 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
17391 * check/gst/gstpad.c: (gst_pad_suite):
17392 Increase timeout for checks.
17394 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17396 * check/Makefile.am:
17397 fix the broken rule for cleanup. Apparently this rule is
17398 only needed on FC2, so maybe this warrants further autotool
17401 2005-04-26 Wim Taymans <wim@fluendo.com>
17403 * gst/gsttrashstack.h:
17404 Ooohh. a nasty one! After having a failed pop() from the stack,
17405 it's possible that the stack is empty. In that case, don't
17406 follow the NULL pointer.
17408 2005-04-25 Wim Taymans <wim@fluendo.com>
17410 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17411 (gst_pad_set_checkgetrange_function),
17412 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
17413 (gst_pad_check_pull_range), (gst_pad_pull_range),
17414 (gst_static_pad_template_get_caps), (gst_pad_start_task),
17415 (gst_pad_pause_task), (gst_pad_stop_task):
17416 * gst/gstplugin.c: (gst_plugin_load):
17418 Remove gst_library_load as it does more harm than good with
17419 the new g_module flags.
17420 Revert bogus caps template check in pad linking, pad caps
17421 are important when linking not the template, which is more
17422 general than the current caps.
17424 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17426 * gst/autoplug/.cvsignore:
17427 * gst/autoplug/Makefile.am:
17428 * gst/autoplug/gstsearchfuncs.c:
17429 * gst/autoplug/gstsearchfuncs.h:
17430 * gst/autoplug/gstspider.c:
17431 * gst/autoplug/gstspider.h:
17432 * gst/autoplug/gstspideridentity.c:
17433 * gst/autoplug/gstspideridentity.h:
17434 * gst/autoplug/spidertest.c:
17437 2005-04-25 Wim Taymans <wim@fluendo.com>
17439 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17440 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
17441 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
17442 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
17444 Added stubs for unimplemented functions.
17446 2005-04-24 David Schleef <ds@schleef.org>
17448 * gst/gstpad.h: Disable some unimplemented functions. Wim,
17451 2005-04-24 David Schleef <ds@schleef.org>
17453 Convert everything from GstAtomicInt to g_atomic_int_*, and
17458 * gst/gstatomic_impl.h:
17466 * gst/gstdata_private.h:
17470 * gst/gstmessage.c:
17473 * gst/gststructure.c:
17474 * gst/gststructure.h:
17475 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
17478 2005-04-24 David Schleef <ds@schleef.org>
17480 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
17481 make the regressions tests work. Remove some code that is no
17483 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
17484 Disable warning for pads without templates.
17486 2005-04-24 David Schleef <ds@schleef.org>
17488 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
17489 functions that handle filtered links.
17490 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
17492 * gst/gstutils.c: Fix/remove utility functions that handle
17495 * gst/gstvalue.c: Add serialization/deserialization of caps
17496 * gst/parse/grammar.y: Ignore filtered caps when linking. This
17497 requires fixing so that the filter caps notation creates
17498 a capsfilter element and sets the filter_caps property. I
17499 think everyone probably wants to keep the shorthand notation.
17500 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
17501 * docs/gst/tmpl/gstpad.sgml:
17503 * gst/elements/gstelements.c: Register capsfilter element.
17504 * gst/Makefile.am: fix spacing
17505 * docs/random/ds/0.9-suggested-changes: random
17507 2005-04-23 David Schleef <ds@schleef.org>
17509 * gst/elements/Makefile.am:
17510 * gst/elements/gstcapsfilter.c: New element that acts like an
17511 identity, but filters caps. Will eventually replace filtered
17512 caps in pad linking.
17513 * gst/gstutils.c: (gst_element_create_all_pads): New function
17514 to create all the ALWAYS pads that are registered with an
17515 element class. This functionality should eventually be
17516 merged in with GstElement initialization.
17518 * testsuite/trigger/README: part of trigger test code that should
17519 have been checked in a long time ago.
17521 2005-04-23 David Schleef <ds@schleef.org>
17523 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
17524 needed with new versions of libtool (nobody will confirm this),
17525 and hard to carry around.
17526 * gst/autoplug/Makefile.am:
17527 * gst/base/Makefile.am:
17528 * gst/elements/Makefile.am:
17529 * gst/indexers/Makefile.am:
17530 * gst/schedulers/Makefile.am:
17531 * libs/gst/bytestream/Makefile.am:
17532 * libs/gst/control/Makefile.am:
17533 * libs/gst/dataprotocol/Makefile.am:
17534 * libs/gst/getbits/Makefile.am:
17536 2005-04-21 Wim Taymans <wim@fluendo.com>
17538 * docs/design/draft-push-pull.txt:
17539 * docs/design/part-MT-refcounting.txt:
17540 * docs/design/part-TODO.txt:
17541 * docs/design/part-caps.txt:
17542 * docs/design/part-events.txt:
17543 * docs/design/part-gstbus.txt:
17544 * docs/design/part-gstpipeline.txt:
17545 * docs/design/part-messages.txt:
17546 * docs/design/part-push-pull.txt:
17547 * docs/design/part-query.txt:
17550 2005-04-21 Wim Taymans <wim@fluendo.com>
17552 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
17553 (gst_message_new), (gst_message_new_error),
17554 (gst_message_new_warning), (gst_message_new_tag),
17555 (gst_message_new_state_changed), (gst_message_new_application),
17556 (gst_message_get_structure):
17557 * gst/gstmessage.h:
17558 * gst/gststructure.c: (gst_structure_set_parent_refcount),
17559 (gst_structure_copy_conditional):
17560 Use parent refcount in GstMessage to ensure GstStructure
17562 Cleaned up headers a bit.
17565 2005-04-20 Wim Taymans <wim@fluendo.com>
17567 * gst/base/gstbasesink.c: (gst_basesink_base_init),
17568 (gst_basesink_pad_getcaps), (gst_basesink_init),
17569 (gst_basesink_chain_unlocked):
17570 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
17571 (gst_type_find_helper):
17572 * gst/elements/gsttypefindelement.c:
17573 (gst_type_find_element_have_type), (gst_type_find_element_init),
17574 (stop_typefinding), (gst_type_find_element_handle_event),
17575 (find_suggest), (gst_type_find_element_chain),
17576 (gst_type_find_element_checkgetrange),
17577 (gst_type_find_element_getrange), (do_typefind),
17578 (gst_type_find_element_activate):
17579 * gst/gstbuffer.c: (_gst_buffer_sub_free),
17580 (gst_buffer_default_free), (gst_buffer_default_copy),
17581 (gst_buffer_set_caps):
17582 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
17583 (gst_caps_replace):
17584 * gst/gstmessage.c: (gst_message_new),
17585 (gst_message_new_state_changed):
17586 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17587 (gst_pad_set_checkgetrange_function),
17588 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
17589 (gst_pad_set_caps), (gst_pad_check_pull_range),
17590 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
17592 * gst/gsttypefind.c: (gst_type_find_register):
17593 Make gst_caps_replace() work like other _replace() functions.
17594 Use _caps_replace() where possible.
17595 Make sure _message_new() initialises its field.
17596 Add gst_static_pad_template_get_caps()
17599 2005-04-18 Andy Wingo <wingo@pobox.com>
17601 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
17602 on the peer, not the pad. I think that was a typo. Pass an extra
17603 arg to see if random access is possible. Activate the pads as
17604 PULL_RANGE if possible.
17606 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
17608 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
17609 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
17612 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17614 * docs/faq/using.xml:
17615 Add note on gstreamer-properties (#154996).
17617 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17619 * docs/random/bbb/optional-properties:
17620 Some analysis on optional properties.
17622 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17624 * docs/gst/tmpl/gstelementfactory.sgml:
17625 * gst/gstelement.h:
17626 * gst/gstelementfactory.c: (gst_element_factory_init),
17627 (gst_element_factory_cleanup), (gst_element_register),
17628 (__gst_element_factory_add_static_pad_template),
17629 (gst_element_factory_get_static_pad_templates),
17630 (gst_element_factory_can_src_caps),
17631 (gst_element_factory_can_sink_caps):
17632 * gst/registries/Makefile.am:
17633 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
17634 (gst_xml_registry_class_init), (gst_xml_registry_init),
17635 (gst_xml_registry_new), (gst_xml_registry_set_property),
17636 (gst_xml_registry_get_property), (get_time), (make_dir),
17637 (gst_xml_registry_get_perms_func),
17638 (plugin_times_older_than_recurse), (plugin_times_older_than),
17639 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
17640 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
17641 (add_to_char_array), (read_string), (read_uint), (read_enum),
17642 (load_pad_template), (load_feature), (load_plugin), (load_paths),
17643 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
17644 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
17645 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
17646 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
17647 (gst_xml_registry_rebuild):
17648 * gst/registries/gstlibxmlregistry.h:
17649 * tools/gst-compprep.c: (main):
17650 * tools/gst-inspect.c: (print_pad_templates_info):
17651 * tools/gst-xmlinspect.c: (print_element_info):
17652 Use libxml2 for registry parsing, use staticpadtemplates in
17653 elementfactories. Makes gst_init() +/- 10x faster.
17655 2005-04-12 Wim Taymans <wim@fluendo.com>
17657 * gst/base/Makefile.am:
17658 * gst/base/gstbasesink.c: (gst_basesink_base_init),
17659 (gst_basesink_pad_getcaps), (gst_basesink_init),
17660 (gst_basesink_event), (gst_basesink_change_state):
17661 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17662 (gst_basesrc_init), (gst_basesrc_query),
17663 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
17664 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
17665 (gst_basesrc_check_get_range), (gst_basesrc_loop),
17666 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
17667 (gst_basesrc_stop), (gst_basesrc_activate),
17668 (gst_basesrc_change_state):
17669 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17670 (helper_find_suggest), (gst_type_find_helper):
17671 * gst/base/gsttypefindhelper.h:
17672 * gst/elements/Makefile.am:
17673 * gst/elements/gstelements.c:
17674 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17675 (gst_fakesink_get_times), (gst_fakesink_event),
17676 (gst_fakesink_preroll), (gst_fakesink_render):
17677 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17678 (gst_fakesrc_init), (gst_fakesrc_event_handler),
17679 (gst_fakesrc_get_property), (gst_fakesrc_create),
17680 (gst_fakesrc_start), (gst_fakesrc_stop):
17681 * gst/elements/gstfakesrc.h:
17682 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
17683 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
17684 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
17685 (gst_filesrc_create_read), (gst_filesrc_create),
17686 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
17687 (gst_filesrc_start):
17688 * gst/elements/gsttypefindelement.c:
17689 (gst_type_find_element_have_type), (gst_type_find_element_init),
17690 (start_typefinding), (stop_typefinding), (push_buffer_store),
17691 (gst_type_find_element_handle_event),
17692 (gst_type_find_element_chain),
17693 (gst_type_find_element_checkgetrange),
17694 (gst_type_find_element_getrange), (do_typefind),
17695 (gst_type_find_element_activate),
17696 (gst_type_find_element_change_state):
17697 * gst/elements/gsttypefindelement.h:
17698 * gst/gstpipeline.c: (pipeline_bus_handler):
17699 Added typefind helper.
17700 Small preroll fix in the base sink.
17701 Disable typefind code in basesrc.
17702 Crude port of typefindelement.
17706 2005-04-11 Wim Taymans <wim@fluendo.com>
17708 * check/gst/gstbus.c: (gstbus_suite):
17709 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
17710 * check/gstcheck.h:
17711 Fix up the timeout so that the test does not fail.
17713 2005-04-06 Wim Taymans <wim@fluendo.com>
17716 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17717 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
17718 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
17719 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
17720 (gst_basesrc_check_get_range), (gst_basesrc_loop),
17721 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
17722 (gst_basesrc_stop), (gst_basesrc_activate),
17723 (gst_basesrc_change_state), (basesrc_find_peek),
17724 (basesrc_find_suggest), (gst_basesrc_type_find):
17725 * gst/base/gstbasesrc.h:
17726 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
17727 (gst_filesrc_class_init), (gst_filesrc_init),
17728 (gst_filesrc_finalize), (gst_filesrc_set_location),
17729 (gst_filesrc_set_property), (gst_filesrc_get_property),
17730 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
17731 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
17732 (gst_filesrc_create_read), (gst_filesrc_create),
17733 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
17734 * gst/elements/gstfilesrc.h:
17735 * gst/gstelement.c: (gst_element_get_state_func),
17736 (gst_element_lost_state), (gst_element_pads_activate):
17737 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17738 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
17739 (gst_pad_pull_range):
17741 More work on the generic source base class, implement seeking,
17743 Make filesrc extend the base source class.
17744 Added gst_pad_set_checkgetrange_function to GstPad.
17746 2005-04-06 Andy Wingo <wingo@pobox.com>
17748 * pkgconfig/gstreamer-base.pc.in:
17749 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
17751 * pkgconfig/Makefile.am:
17752 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
17754 2005-04-04 Wim Taymans <wim@fluendo.com>
17756 * gst/base/Makefile.am:
17758 * gst/base/gstbasesink.c: (gst_basesink_base_init),
17759 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17760 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17761 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
17762 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17763 (gst_basesrc_base_init), (gst_basesrc_class_init),
17764 (gst_basesrc_init), (gst_basesrc_get_formats),
17765 (gst_basesrc_get_query_types), (gst_basesrc_query),
17766 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
17767 (gst_basesrc_set_property), (gst_basesrc_get_property),
17768 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
17769 (gst_basesrc_loop), (gst_basesrc_activate),
17770 (gst_basesrc_change_state):
17771 * gst/base/gstbasesrc.h:
17772 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
17773 (gst_fakesrc_class_init), (gst_fakesrc_init),
17774 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
17775 (gst_fakesrc_get_property), (gst_fakesrc_create):
17776 * gst/elements/gstfakesrc.h:
17777 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
17778 (gst_filesrc_open_file), (gst_filesrc_loop),
17779 (gst_filesrc_activate), (filesrc_find_peek),
17780 (gst_filesrc_type_find):
17781 Made base source class, make fakesrc extend it.
17782 Add comments to basesink class.
17783 Some filesrc cleanup.
17785 2005-03-31 David Schleef <ds@schleef.org>
17787 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
17788 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
17789 expected to link against libgstreamer.
17790 * gst/base/Makefile.am: link against libgstreamer
17791 * gst/elements/Makefile.am: same
17793 2005-03-31 Andy Wingo <wingo@pobox.com>
17795 * tests/instantiate/Makefile.am:
17796 * tests/instantiate/caps.c: Add test to test speed of caps copy
17799 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
17800 GMemChunk to be fair.
17802 * gst/gsttrashstack.h: Remove warning about using the fallback
17803 trash stack implementation, it's still faster than malloc.
17805 2005-03-30 Andy Wingo <wingo@pobox.com>
17807 * tests/complexity.c: Add a copyright.
17809 2005-03-31 Wim Taymans <wim@fluendo.com>
17811 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
17812 (gst_base_transform_class_init), (gst_base_transform_init),
17813 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
17814 (gst_base_transform_get_property),
17815 (gst_base_transform_sink_activate),
17816 (gst_base_transform_src_activate),
17817 (gst_base_transform_change_state):
17818 * gst/base/gstbasetransform.h:
17819 * gst/elements/gstidentity.c: (gst_identity_class_init),
17820 (gst_identity_event), (gst_identity_check_perfect),
17821 (gst_identity_transform), (gst_identity_start),
17822 (gst_identity_stop):
17823 Added start/stop methods to transform base class so subclasses
17824 don't need to deal with state changes even.
17826 2005-03-31 Wim Taymans <wim@fluendo.com>
17828 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
17829 (gst_event_new_discontinuous), (gst_event_discont_get_value):
17831 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17832 (gst_pad_pull_range):
17833 Added rate to the discont event to prepare for variable speed
17834 and reverse playback.
17836 2005-03-29 David Schleef <ds@schleef.org>
17839 * testsuite/trigger/Makefile.am:
17840 * testsuite/trigger/trigger.c: A little example program to show
17841 how trigger-based elements can work.
17843 2005-03-29 Wim Taymans <wim@fluendo.com>
17845 * gst/base/Makefile.am:
17847 * gst/base/gstbasesink.c: (gst_basesink_get_type),
17848 (gst_basesink_base_init), (gst_basesink_class_init),
17849 (gst_basesink_pad_getcaps), (gst_basesink_init),
17850 (gst_basesink_activate), (gst_basesink_change_state):
17851 * gst/base/gstbasesink.h:
17852 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
17853 (gst_base_transform_base_init), (gst_base_transform_finalize),
17854 (gst_base_transform_class_init), (gst_base_transform_init),
17855 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
17856 (gst_base_transform_event), (gst_base_transform_getrange),
17857 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
17858 (gst_base_transform_set_property),
17859 (gst_base_transform_get_property),
17860 (gst_base_transform_sink_activate),
17861 (gst_base_transform_src_activate),
17862 (gst_base_transform_change_state):
17863 * gst/base/gstbasetransform.h:
17864 * gst/elements/gstidentity.c: (gst_identity_finalize),
17865 (gst_identity_class_init), (gst_identity_init),
17866 (gst_identity_event), (gst_identity_check_perfect),
17867 (gst_identity_transform), (gst_identity_set_property),
17868 (gst_identity_get_property), (gst_identity_change_state):
17869 * gst/elements/gstidentity.h:
17870 * gst/gstelement.c: (gst_element_get_state_func),
17871 (gst_element_lost_state), (gst_element_pads_activate):
17872 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17873 (gst_pad_check_pull_range), (gst_pad_pull_range):
17875 Simplify pad activation.
17876 Added function to check if pull_range can be performed.
17877 Error out when pulling inactive or flushing pads.
17878 Removed const from refcounted types as it does not make sense.
17879 Simplify pad templates in basesink
17880 Added base class for simple 1-to-1 transforms.
17881 Make identity subclass the base transform.
17883 2005-03-29 Andy Wingo <wingo@pobox.com>
17885 * docs/libs/gstreamer-libs-overrides.txt:
17886 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
17887 really don't understand what's going on, but like whatever. I want
17890 * docs/gst/Makefile.am:
17891 * docs/libs/Makefile.am: Dist the overrides files.
17893 * check/Makefile.am (clean-local): Remove .libs directories.
17895 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
17896 elements to EXTRA_DIST, so po/ files are happy.
17898 * po/POTFILES.in: Er, remove it here.
17900 * po/POTFILES: Remove gstspider.c.
17902 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
17904 * docs/libs/gstreamer-libs-docs.sgml:
17905 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
17908 * tests/complexity.c (main): Set the length of the preroll queue
17909 on the sinks to prevent a lockup.
17911 * libs/gst/dataprotocol/Makefile.am:
17912 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
17913 the same as the one in check/gst-libs/gdp.c.
17915 * po/, docs/gst/: Commit automatic changes to docs and po files.
17917 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
17918 the versioned libgstbase.
17920 * check/Makefile.am: Depend on an unversioned gst-register, seems
17921 to make autoconf happier.
17923 * gst/base/Makefile.am: Make libgstbase a versioned lib.
17925 2005-03-28 Wim Taymans <wim@fluendo.com>
17928 * docs/design/part-gstelement.txt:
17929 * docs/design/part-negotiation.txt:
17930 * docs/design/part-preroll.txt:
17931 * docs/design/part-scheduling.txt:
17932 * docs/design/part-states.txt:
17934 * gst/base/Makefile.am:
17936 * gst/base/gstbasesink.c: (gst_basesink_get_template),
17937 (gst_basesink_base_init), (gst_basesink_class_init),
17938 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17939 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17940 (gst_basesink_set_pad_functions),
17941 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
17942 (gst_basesink_set_property), (gst_basesink_get_property),
17943 (gst_base_sink_get_template), (gst_base_sink_get_caps),
17944 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
17945 (gst_basesink_preroll_queue_push),
17946 (gst_basesink_preroll_queue_empty),
17947 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
17948 (gst_basesink_event), (gst_basesink_get_times),
17949 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
17950 (gst_basesink_chain_unlocked), (gst_basesink_chain),
17951 (gst_basesink_loop), (gst_basesink_activate),
17952 (gst_basesink_change_state):
17953 * gst/base/gstbasesink.h:
17954 * gst/elements/Makefile.am:
17955 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
17956 (gst_fakesink_class_init), (gst_fakesink_init),
17957 (gst_fakesink_set_property), (gst_fakesink_get_property),
17958 (gst_fakesink_get_times), (gst_fakesink_event),
17959 (gst_fakesink_preroll), (gst_fakesink_render),
17960 (gst_fakesink_change_state):
17961 * gst/elements/gstfakesink.h:
17962 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17963 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
17964 * gst/gstelement.c: (gst_element_add_pad),
17965 (gst_element_get_state_func), (gst_element_abort_state),
17966 (gst_element_commit_state), (gst_element_lost_state),
17967 (gst_element_set_state), (gst_element_pads_activate):
17968 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
17969 * gst/gstpipeline.c: (gst_pipeline_send_event),
17970 (gst_pipeline_change_state):
17971 Added state change code.
17972 Added/updated docs.
17973 Added sink base class, make fakesink extend the base class.
17974 Small cleanups in GstPipeline.
17976 2005-03-26 David Schleef <ds@schleef.org>
17978 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
17979 is broken and should be implemented in a different library.
17980 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
17981 * gst/gst.h: remove gstcpu.h
17982 * gst/gstcpu.c: remove
17983 * gst/gstcpu.h: remove
17984 * gst/Makefile.am.future: Remove this file. It's ancient.
17986 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17988 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17989 (gst_bin_send_event):
17990 Add default event/set_manager handlers. The set_manager handler
17991 takes care that the manager is distributed over kids that were
17992 already in the bin before the manager was set. The event handler
17993 is a utility virtual function that sends the event over all sinks,
17994 so that gst_element_send_event (bin, event); has the expected
17996 * gst/gstpad.c: (gst_pad_event_default):
17997 Re-install default event handling for discontinuities, so that
17998 seeking works without requiring hacks in applications or extra
18000 * gst/gstpipeline.c: (gst_pipeline_class_init),
18001 (gst_pipeline_send_event):
18002 Half hack, half utility: set a pipeline to PAUSED for seek events,
18003 since that is the only way we can guarantee a/v sync. Means that
18004 you can do gst_element_seek (pipeline, method, pos); on a pipeline
18005 and it "just works".
18007 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18009 * gst/gstpipeline.c: (gst_pipeline_use_clock):
18010 Lock/unlock mismatch.
18012 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
18014 * docs/faq/gst-uninstalled:
18015 add gst-plugins-base
18016 * docs/gst/Makefile.am:
18017 don't error out until docs are fixed
18018 * docs/gst/gstreamer.types:
18021 2005-03-22 Wim Taymans <wim@fluendo.com>
18023 * check/Makefile.am:
18024 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
18025 * gst/gststructure.c: (gst_structure_set_valist),
18026 (gst_structure_copy_conditional):
18027 Activated more tests.
18028 Added message test.
18029 Added G_TYPE_POINTER to GstStructure.
18032 2005-03-22 Wim Taymans <wim@fluendo.com>
18034 * docs/design/part-TODO.txt:
18035 * docs/design/part-events.txt:
18036 * docs/design/part-gstbin.txt:
18037 * docs/design/part-gstbus.txt:
18038 * docs/design/part-gstpipeline.txt:
18039 * docs/design/part-messages.txt:
18041 * gst/gstmessage.c:
18044 2005-03-21 Wim Taymans <wim@fluendo.com>
18046 * gst/gstbus.c: (gst_bus_post):
18047 Fix copy-and-paste error.
18049 2005-03-21 Wim Taymans <wim@fluendo.com>
18051 * check/Makefile.am:
18053 * gst/elements/Makefile.am:
18054 * gst/elements/gstelements.c:
18055 * gst/elements/gstfakesink.c: (gst_fakesink_init),
18056 (gst_fakesink_event), (gst_fakesink_chain):
18057 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18058 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
18059 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
18060 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
18061 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
18062 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
18063 (gst_fakesrc_loop), (gst_fakesrc_activate),
18064 (gst_fakesrc_change_state):
18065 * gst/elements/gstfakesrc.h:
18066 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
18067 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
18068 (gst_filesrc_open_file), (gst_filesrc_loop),
18069 (gst_filesrc_activate), (gst_filesrc_change_state),
18070 (filesrc_find_peek), (filesrc_find_suggest),
18071 (gst_filesrc_type_find):
18072 * gst/elements/gstidentity.c: (gst_identity_finalize),
18073 (gst_identity_class_init), (gst_identity_init),
18074 (gst_identity_proxy_getcaps), (identity_queue_push),
18075 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
18076 (gst_identity_getrange), (gst_identity_chain),
18077 (gst_identity_sink_loop), (gst_identity_src_loop),
18078 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
18079 (gst_identity_set_property), (gst_identity_get_property),
18080 (gst_identity_change_state):
18081 * gst/elements/gstidentity.h:
18082 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
18083 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
18084 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
18085 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
18086 (gst_tee_sink_activate):
18087 * gst/elements/gsttee.h:
18088 * gst/gst.c: (gst_register_core_elements), (init_post):
18090 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
18091 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
18092 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
18093 (gst_bin_change_state):
18095 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
18096 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
18097 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
18098 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
18099 (gst_bus_set_sync_handler), (gst_bus_create_watch),
18100 (bus_watch_callback), (bus_watch_destroy),
18101 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
18102 (poll_timeout), (gst_bus_poll):
18106 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
18107 (gst_element_post_message), (gst_element_message_full),
18108 (gst_element_get_state_func), (gst_element_get_state),
18109 (gst_element_abort_state), (gst_element_commit_state),
18110 (gst_element_lost_state), (gst_element_set_state),
18111 (gst_element_pads_activate), (gst_element_change_state),
18112 (gst_element_dispose), (gst_element_set_manager_func),
18113 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
18114 (gst_element_set_manager), (gst_element_get_manager),
18115 (gst_element_set_bus), (gst_element_get_bus),
18116 (gst_element_set_scheduler), (gst_element_get_scheduler):
18117 * gst/gstelement.h:
18118 * gst/gstevent.c: (gst_event_new_segment_seek),
18119 (gst_event_new_flush):
18121 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
18122 (_gst_message_free), (gst_message_get_type), (gst_message_new),
18123 (gst_message_new_eos), (gst_message_new_error),
18124 (gst_message_new_warning), (gst_message_new_tag),
18125 (gst_message_new_state_changed), (gst_message_new_application),
18126 (gst_message_get_structure), (gst_message_parse_tag),
18127 (gst_message_parse_state_changed), (gst_message_parse_error),
18128 (gst_message_parse_warning):
18129 * gst/gstmessage.h:
18130 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
18131 (gst_real_pad_set_property), (gst_pad_set_active),
18132 (gst_pad_is_active), (gst_pad_set_blocked_async),
18133 (gst_pad_set_blocked), (gst_pad_is_blocked),
18134 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
18135 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
18136 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
18137 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
18138 (gst_pad_link_filtered), (gst_pad_relink_filtered),
18139 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
18140 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
18141 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
18142 (gst_pad_set_caps), (gst_pad_configure_sink),
18143 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
18144 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
18145 (gst_real_pad_dispose), (gst_real_pad_finalize),
18146 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
18147 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18148 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
18150 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
18151 (pipeline_bus_handler), (gst_pipeline_change_state),
18152 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
18153 * gst/gstpipeline.h:
18155 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18156 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
18157 (gst_queue_link_src), (gst_queue_bufferalloc),
18158 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
18159 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
18160 (gst_queue_loop), (gst_queue_handle_src_event),
18161 (gst_queue_handle_src_query), (gst_queue_src_activate),
18162 (gst_queue_change_state):
18164 * gst/gstscheduler.c: (gst_scheduler_init),
18165 (gst_scheduler_dispose), (gst_scheduler_create_task),
18166 (gst_scheduler_factory_create):
18167 * gst/gstscheduler.h:
18168 * gst/gststructure.c: (gst_structure_get_type),
18169 (gst_structure_copy_conditional):
18170 * gst/gststructure.h:
18171 * gst/gsttaginterface.h:
18172 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18173 (gst_task_init), (gst_task_dispose), (gst_task_create),
18174 (gst_task_get_state), (gst_task_start), (gst_task_stop),
18180 * gst/schedulers/Makefile.am:
18181 * gst/schedulers/cothreads_compat.h:
18182 * gst/schedulers/entryscheduler.c:
18183 * gst/schedulers/faircothreads.c:
18184 * gst/schedulers/faircothreads.h:
18185 * gst/schedulers/fairscheduler.c:
18186 * gst/schedulers/gstbasicscheduler.c:
18187 * gst/schedulers/gstoptimalscheduler.c:
18188 * gst/schedulers/gthread-cothreads.h:
18189 * gst/schedulers/threadscheduler.c:
18190 (gst_thread_scheduler_task_get_type),
18191 (gst_thread_scheduler_task_class_init),
18192 (gst_thread_scheduler_task_init),
18193 (gst_thread_scheduler_task_start),
18194 (gst_thread_scheduler_task_stop),
18195 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
18196 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
18197 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
18198 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
18200 * libs/gst/Makefile.am:
18201 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
18202 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
18203 (gst_file_pad_parent_set):
18204 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18205 (gst_dp_event_from_packet):
18206 * tests/complexity.c: (main):
18207 * tests/mass_elements.c: (main):
18208 * testsuite/states/locked.c: (message_received), (main):
18209 * testsuite/states/parent.c: (main):
18210 * tools/gst-inspect.c: (print_element_flag_info),
18211 (print_implementation_info), (print_pad_info):
18212 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
18214 * tools/gst-md5sum.c: (event_loop), (main):
18215 * tools/gst-typefind.c: (main):
18216 * tools/gst-xmlinspect.c: (print_element_info):
18218 Added GstBus for mainloop integration.
18219 Added GstMessage for sending notifications on the bus.
18220 Added GstTask as an abstraction for pipeline entry points.
18222 Removed Schedulers.
18223 Simplified GstQueue for multithreaded core.
18224 Made _link threadsafe, removed old capsnego.
18225 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
18226 Added pad blocking functions.
18227 Reworked scheduling functions in GstPad to prepare for
18228 scheduling updates soon.
18229 Moved events out of data stream.
18230 Simplified GstEvent types.
18231 Added return values to push/pull.
18232 Removed clocking from GstElement.
18233 Added prototypes for state change function for next merge.
18234 Removed iterate from bins and state change management.
18235 Fixed some elements, disabled others for now.
18236 Fixed -inspect and -launch.
18237 Added check for GstBus.
18239 2005-03-10 Wim Taymans <wim@fluendo.com>
18241 * docs/design/part-MT-refcounting.txt:
18242 * docs/design/part-clocks.txt:
18243 * docs/design/part-gstelement.txt:
18244 * docs/design/part-gstobject.txt:
18245 * docs/design/part-standards.txt:
18246 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
18247 (gst_bin_remove_func), (gst_bin_remove):
18251 * testsuite/clock/clock1.c: (main):
18252 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
18254 * testsuite/dlopen/loadgst.c: (do_test):
18255 * testsuite/refcounting/bin.c: (add_remove_test1),
18256 (add_remove_test2), (main):
18257 * testsuite/refcounting/element.c: (main):
18258 * testsuite/refcounting/element_pad.c: (main):
18259 * testsuite/refcounting/pad.c: (main):
18260 * tools/gst-launch.c: (sigint_handler_sighandler):
18261 * tools/gst-typefind.c: (main):
18263 Added doc about clock.
18264 removed gst_bin_iterate_recurse_up(), marked methods
18266 Fix more testsuites.
18268 2005-03-09 Wim Taymans <wim@fluendo.com>
18270 * gst/gstpad.c: (gst_pad_get_direction),
18271 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
18272 (gst_pad_collect_valist):
18273 * testsuite/bins/interface.c: (main):
18274 * testsuite/caps/audioscale.c: (test_caps):
18275 * testsuite/caps/caps.c: (test1), (test2), (test3):
18276 * testsuite/caps/deserialize.c: (main):
18277 * testsuite/caps/enumcaps.c: (main):
18278 * testsuite/caps/filtercaps.c: (main):
18279 * testsuite/caps/intersect2.c: (main):
18280 * testsuite/caps/random.c: (main):
18281 * testsuite/caps/renegotiate.c: (my_fixate), (main):
18282 * testsuite/caps/sets.c: (check_caps):
18283 * testsuite/caps/simplify.c: (check_caps), (main):
18284 * testsuite/caps/subtract.c: (check_caps):
18285 Fix _pad_get_direction wrt ghostpads.
18286 Fix caps testsuite.
18288 2005-03-09 Wim Taymans <wim@fluendo.com>
18290 * check/Makefile.am:
18291 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
18292 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
18293 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
18294 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
18295 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
18296 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
18297 (gst_bin_remove), (gst_bin_iterate_recurse_up),
18298 (bin_element_is_sink), (gst_bin_iterate_sinks),
18299 (gst_bin_iterate_all_by_interface):
18301 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
18302 (gst_element_change_state), (gst_element_dispose),
18303 (gst_element_finalize), (gst_element_set_loop_function):
18304 * gst/gstelement.h:
18305 * gst/gstiterator.c: (find_custom_fold_func):
18306 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
18307 (gst_pad_collectv), (gst_pad_collect_valist),
18308 (gst_pad_template_new):
18309 * gst/gstpipeline.c: (gst_pipeline_class_init),
18310 (gst_pipeline_dispose), (gst_pipeline_set_property),
18311 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
18312 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
18313 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
18315 * gst/schedulers/entryscheduler.c:
18316 * gst/schedulers/gstbasicscheduler.c:
18317 (gst_basic_scheduler_cothreaded_chain),
18318 (gst_basic_scheduler_chain_add_element):
18319 * testsuite/bins/interface.c: (main):
18321 Added GstSystemClock test.
18322 Implemented clock distribution code in GstBin.
18323 Implemented iterate sinks method for future use.
18324 Rearranged gstelement.h
18325 Fix GstIterator comparison bug.
18326 Moved some code to GstPipeline, mostly clocking related.
18328 2005-03-09 Wim Taymans <wim@fluendo.com>
18331 * gst/gst_private.h:
18332 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
18333 (gst_bin_remove_func), (gst_bin_remove),
18334 (gst_bin_get_by_name_recurse_up):
18335 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
18336 (gst_clock_id_compare_func), (gst_clock_id_wait),
18337 (gst_clock_id_wait_async), (gst_clock_init),
18338 (gst_clock_adjust_unlocked), (gst_clock_get_time):
18339 * gst/gstelement.h:
18340 * gst/gstinfo.c: (_gst_debug_init):
18342 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
18343 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
18345 Bump version number, we're now 0.9.0
18346 Add future debugging category.
18347 Fix NULL _unref() in _get_by_name_recurse_up
18348 Rearrange gstpad.h.
18351 2005-03-08 Wim Taymans <wim@fluendo.com>
18353 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
18354 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
18355 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18356 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
18357 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
18358 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
18359 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
18360 * gst/elements/gstidentity.c: (gst_identity_class_init):
18361 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
18362 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
18363 * gst/elements/gstshaper.c: (gst_shaper_class_init):
18364 * gst/elements/gststatistics.c: (gst_statistics_class_init):
18365 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
18367 * gst/gstelement.c: (gst_element_class_init),
18368 (gst_element_base_class_init), (gst_element_init),
18369 (gst_element_get_random_pad), (gst_element_wait_state_change),
18370 (gst_element_change_state), (gst_element_dispose),
18371 (gst_element_finalize), (gst_element_set_loop_function):
18372 * gst/gstelement.h:
18373 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
18374 * gst/gstthread.c: (gst_thread_class_init),
18375 (gst_thread_release_children_locks), (gst_thread_change_state):
18376 * gst/schedulers/gstbasicscheduler.c:
18377 (gst_basic_scheduler_loopfunc_wrapper),
18378 (gst_basic_scheduler_chain_wrapper),
18379 (gst_basic_scheduler_src_wrapper),
18380 (gst_basic_scheduler_remove_element):
18381 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
18382 Remove threadsafe properties. Fix elements because GObject
18383 complains when installing a property before declaring a
18384 set/get_property handler.
18385 Rearrange gstelement.h file, use STATE macros for state locks.
18386 Free mutexes in the finalize method instead of dispose.
18388 2005-03-08 Wim Taymans <wim@fluendo.com>
18390 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18391 * gst/gstthread.c: (gst_thread_release_children_locks):
18392 Added parentage check.
18393 Fix build og GstThread again.
18395 2005-03-08 Wim Taymans <wim@fluendo.com>
18397 * docs/design/part-MT-refcounting.txt:
18398 * docs/design/part-conventions.txt:
18399 * docs/design/part-gstobject.txt:
18400 * docs/design/part-relations.txt:
18401 * docs/design/part-standards.txt:
18402 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
18403 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
18404 (gst_bin_get_by_name), (gst_bin_get_by_interface),
18405 (gst_bin_iterate_all_by_interface):
18408 * gst/gstelement.c: (gst_element_class_init),
18409 (gst_element_change_state), (gst_element_set_loop_function):
18410 * gst/gstelement.h:
18411 * gst/gstiterator.c:
18412 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
18413 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
18414 (gst_object_dispatch_properties_changed), (gst_object_set_name),
18415 (gst_object_set_parent), (gst_object_unparent),
18416 (gst_object_check_uniqueness):
18418 Docs updates, clean up some headers.
18420 2005-03-07 Wim Taymans <wim@fluendo.com>
18422 * check/.cvsignore:
18423 * check/Makefile.am:
18424 * check/gst-libs/.cvsignore:
18425 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
18426 * check/gst/.cvsignore:
18427 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
18428 (START_TEST), (gstbus_suite), (main):
18429 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
18430 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
18431 (gst_data_suite), (main):
18432 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
18433 (add_fold_func), (gstiterator_suite), (main):
18434 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
18435 (thread_name_object), (thread_name_object_default),
18436 (gst_object_name_compare), (gst_object_suite), (main):
18437 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
18438 (gst_pad_suite), (main):
18439 * check/gstcheck.c: (gst_check_log_message_func),
18440 (gst_check_log_critical_func), (gst_check_init):
18441 * check/gstcheck.h:
18442 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18443 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
18446 2005-03-07 Wim Taymans <wim@fluendo.com>
18448 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18449 (gst_list_iterator_next), (gst_list_iterator_resync),
18450 (gst_list_iterator_free), (gst_iterator_new_list),
18451 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
18452 (gst_iterator_free), (gst_iterator_push), (filter_next),
18453 (filter_resync), (filter_uninit), (filter_free),
18454 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
18455 (gst_iterator_foreach), (find_custom_fold_func),
18456 (gst_iterator_find_custom):
18457 * gst/gstiterator.h:
18458 Added missing files.
18460 2005-03-07 Wim Taymans <wim@fluendo.com>
18464 * docs/design/part-MT-refcounting.txt:
18465 * docs/design/part-conventions.txt:
18466 * docs/design/part-gstobject.txt:
18467 * docs/design/part-relations.txt:
18468 * examples/mixer/mixer.c: (main):
18469 * examples/thread/thread.c: (eos), (main):
18471 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
18472 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
18473 (gst_spider_plug_from_srcpad):
18474 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
18475 (gst_spider_identity_change_state),
18476 (gst_spider_identity_sink_loop_type_finding):
18477 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
18478 * gst/elements/gstidentity.c: (gst_identity_init):
18479 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
18480 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
18481 * gst/elements/gsttypefindelement.c: (free_entry):
18484 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
18485 (gst_bin_set_clock_func), (gst_bin_auto_clock),
18486 (gst_bin_set_index), (gst_bin_set_element_sched),
18487 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
18488 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
18489 (gst_bin_iterate_elements), (iterate_child_recurse),
18490 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
18491 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
18492 (compare_interface), (gst_bin_get_by_interface),
18493 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
18495 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
18496 (gst_buffer_default_free), (gst_buffer_default_copy),
18497 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
18498 (gst_buffer_create_sub):
18500 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
18501 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
18502 (gst_caps_unref), (gst_static_caps_get),
18503 (gst_caps_remove_and_get_structure), (gst_caps_append),
18504 (gst_caps_append_structure), (gst_caps_remove_structure),
18505 (gst_caps_copy_nth), (gst_caps_set_simple),
18506 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
18507 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
18508 (gst_caps_structure_intersect_field), (gst_caps_intersect),
18509 (gst_caps_structure_subtract_field), (gst_caps_subtract),
18510 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
18511 (gst_caps_structure_figure_out_union),
18512 (gst_caps_switch_structures), (gst_caps_do_simplify),
18513 (gst_caps_replace), (gst_caps_from_string),
18514 (gst_caps_copy_conditional):
18516 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
18517 (_gst_clock_id_free), (gst_clock_id_unref),
18518 (gst_clock_id_compare_func), (gst_clock_id_wait),
18519 (gst_clock_id_wait_async), (gst_clock_class_init),
18520 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
18521 (gst_clock_get_time), (gst_clock_set_time_adjust),
18522 (gst_clock_set_property), (gst_clock_get_property):
18525 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
18526 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
18528 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
18529 (gst_element_requires_clock), (gst_element_provides_clock),
18530 (gst_element_set_clock), (gst_element_clock_wait),
18531 (gst_element_wait), (gst_element_set_time_delay),
18532 (gst_element_is_indexable), (gst_element_add_pad),
18533 (gst_element_add_ghost_pad), (gst_element_remove_pad),
18534 (pad_compare_name), (gst_element_get_static_pad),
18535 (gst_element_request_pad), (gst_element_get_request_pad),
18536 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
18537 (gst_element_class_get_pad_template_list),
18538 (gst_element_class_get_pad_template), (gst_element_error_func),
18539 (gst_element_get_random_pad), (gst_element_get_event_masks),
18540 (gst_element_send_event), (gst_element_seek),
18541 (gst_element_get_query_types), (gst_element_query),
18542 (gst_element_get_formats), (gst_element_convert),
18543 (gst_element_is_locked_state), (gst_element_set_locked_state),
18544 (gst_element_sync_state_with_parent), (gst_element_change_state),
18545 (gst_element_finalize), (gst_element_yield),
18546 (gst_element_interrupt), (gst_element_set_scheduler),
18547 (gst_element_get_scheduler), (gst_element_set_loop_function):
18548 * gst/gstelement.h:
18550 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
18551 (gst_format_get_by_nick), (gst_format_get_details),
18552 (gst_format_iterate_definitions):
18554 * gst/gstindex.c: (gst_index_gtype_resolver):
18557 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
18558 (gst_mem_chunk_free):
18559 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
18560 (gst_object_ref), (gst_object_unref), (gst_object_sink),
18561 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
18562 (gst_object_dispatch_properties_changed),
18563 (gst_object_set_name_default), (gst_object_set_name),
18564 (gst_object_get_name), (gst_object_set_name_prefix),
18565 (gst_object_get_name_prefix), (gst_object_set_parent),
18566 (gst_object_get_parent), (gst_object_unparent),
18567 (gst_object_check_uniqueness), (gst_object_save_thyself),
18568 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
18569 (gst_object_set_property), (gst_object_get_property),
18570 (gst_object_get_path_string):
18572 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18573 (gst_real_pad_init), (gst_real_pad_get_property),
18574 (gst_pad_custom_new), (gst_pad_get_direction),
18575 (gst_pad_set_active), (gst_pad_is_active),
18576 (gst_pad_set_event_function), (gst_pad_is_linked),
18577 (gst_pad_link_free), (gst_pad_link_intersect),
18578 (gst_pad_link_fixate), (gst_pad_set_caps),
18579 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
18580 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
18581 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
18582 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
18583 (gst_pad_get_caps), (gst_pad_peer_get_caps),
18584 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
18585 (gst_pad_realize), (gst_pad_get_allowed_caps),
18586 (gst_real_pad_dispose), (gst_real_pad_finalize),
18587 (gst_pad_collectv), (gst_pad_collect_valist),
18588 (gst_pad_template_dispose), (gst_pad_template_new),
18589 (gst_pad_get_internal_links):
18591 * gst/gstpipeline.c: (gst_pipeline_dispose),
18592 (gst_pipeline_change_state):
18593 * gst/gstpipeline.h:
18595 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
18596 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
18597 * gst/gstpluginfeature.h:
18598 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
18599 * gst/gstquery.c: (_gst_query_type_initialize),
18600 (gst_query_type_register), (gst_query_type_get_by_nick),
18601 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
18603 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
18604 * gst/gstscheduler.c: (gst_scheduler_add_element),
18605 (gst_scheduler_factory_create):
18606 * gst/gststructure.c: (gst_structure_set_parent_refcount),
18607 (gst_structure_free), (gst_structure_set_name),
18608 (gst_structure_id_set_value), (gst_structure_set_value),
18609 (gst_structure_set_valist), (gst_structure_remove_field),
18610 (gst_structure_remove_fields),
18611 (gst_structure_remove_fields_valist),
18612 (gst_structure_remove_all_fields), (gst_structure_foreach),
18613 (gst_structure_map_in_place),
18614 (gst_caps_structure_fixate_field_nearest_int),
18615 (gst_caps_structure_fixate_field_nearest_double):
18616 * gst/gststructure.h:
18617 * gst/gstsystemclock.c: (gst_system_clock_class_init),
18618 (gst_system_clock_init), (gst_system_clock_dispose),
18619 (gst_system_clock_async_thread),
18620 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
18621 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
18622 * gst/gstsystemclock.h:
18623 * gst/gsttag.c: (gst_tag_list_add_value_internal),
18624 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
18625 * gst/gsttaginterface.c:
18626 * gst/gstthread.c: (gst_thread_dispose),
18627 (gst_thread_release_children_locks), (gst_thread_change_state),
18628 (gst_thread_main_loop):
18629 * gst/gsttrashstack.h:
18630 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
18632 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18633 (gst_element_request_pad), (gst_element_get_pad_from_template),
18634 (gst_element_request_compatible_pad),
18635 (gst_element_get_compatible_pad_filtered),
18636 (gst_element_get_compatible_pad), (gst_element_state_get_name),
18637 (gst_element_link_pads_filtered), (gst_element_link_filtered),
18638 (gst_element_link_many), (gst_element_link),
18639 (gst_element_link_pads), (gst_element_unlink_pads),
18640 (gst_element_unlink_many), (gst_element_unlink),
18641 (gst_pad_can_link_filtered), (gst_pad_can_link),
18642 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
18643 (gst_object_default_error), (gst_bin_add_many),
18644 (gst_bin_remove_many), (gst_element_populate_std_props),
18645 (gst_element_class_install_std_props), (gst_buffer_merge),
18646 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
18647 (link_fold_func), (gst_pad_proxy_setcaps):
18649 * gst/gstvalue.c: (gst_value_deserialize_string):
18650 * gst/parse/grammar.y:
18651 * gst/schedulers/gstbasicscheduler.c:
18652 (gst_basic_scheduler_cothreaded_chain),
18653 (gst_basic_scheduler_chain_recursive_add),
18654 (gst_basic_scheduler_pad_link):
18655 * gst/schedulers/gstoptimalscheduler.c:
18656 (get_group_schedule_function),
18657 (gst_opt_scheduler_state_transition),
18658 (gst_opt_scheduler_add_element), (element_get_reachables_func):
18659 * libs/gst/bytestream/bytestream.c:
18660 * libs/gst/dataprotocol/dataprotocol.c:
18661 (gst_dp_header_from_buffer):
18664 * tests/threadstate/threadstate2.c: (eos):
18665 * tools/gst-compprep.c: (main):
18666 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
18667 (print_pad_info), (print_children_info):
18668 * tools/gst-launch.c: (idle_func), (main):
18669 * tools/gst-md5sum.c: (idle_func), (main):
18670 * tools/gst-xmlinspect.c: (print_element_info):
18671 First THREADED backport attempt, focusing on adding locks and
18672 making sure the API is threadsafe. Needs more work. More docs
18675 2005-02-24 Andy Wingo <wingo@pobox.com>
18677 * tests/bench-complexity.scm:
18678 * tests/complexity.gnuplot: New files, good for running complexity
18681 * tests/Makefile.am:
18682 * tests/complexity.c: New test, sets up N elements, at each level
18683 teeing into M streams per element. Eeeenteresting.
18685 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
18686 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
18687 running bench-mass_elements.scm.
18689 * tests/bench-mass_elements.scm: New script, runs mass_elements
18690 for various numbers of identities, outputting the results to a
18691 file. Requires guile 1.6. Just for testing.
18693 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
18695 * gst/schedulers/fairscheduler.c:
18696 compile with debug disabled
18698 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
18701 hunting season on 0.9 is now OPEN