Edward Hervey [Thu, 20 Jul 2006 10:25:28 +0000 (10:25 +0000)]
tests/check/libs/gdp.c: the test_buffer test fails at line 140 on ppc64 at the following check: "GST_BUFFER_IN_CAPS f...
Original commit message from CVS:
* tests/check/libs/gdp.c: (gst_dp_suite):
the test_buffer test fails at line 140 on ppc64 at the following
check:
fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer, GST_BUFFER_FLAG_IN_CAPS),
"GST_BUFFER_IN_CAPS flag should have been copied !");
See bug #348114 for more details.
Tim-Philipp Müller [Wed, 19 Jul 2006 12:40:54 +0000 (12:40 +0000)]
Fix typos (#348000).
Original commit message from CVS:
* docs/pwg/advanced-scheduling.xml:
* gst/gstpad.c:
Fix typos (#348000).
Tim-Philipp Müller [Tue, 18 Jul 2006 20:38:45 +0000 (20:38 +0000)]
docs/pwg/intro-basics.xml: Fix wrong links (#347927).
Original commit message from CVS:
* docs/pwg/intro-basics.xml:
Fix wrong links (#347927).
Stefan Kost [Tue, 18 Jul 2006 19:01:25 +0000 (19:01 +0000)]
make --disable-index work (#342564)
Original commit message from CVS:
* gst/gstregistry.h:
* gst/gstregistryxml.c: (load_feature),
(gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
* win32/common/config.h:
make --disable-index work (#342564)
Peter Kjellerstedt [Tue, 18 Jul 2006 09:42:31 +0000 (09:42 +0000)]
gst/: The attached patch adds two missing defines to gsttrace.h when tracing is disabled. It also corrects one exist...
Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis dot com>
* gst/Makefile.am:
* gst/gsttrace.h:
The attached patch adds two missing defines to gsttrace.h when tracing
is disabled. It also corrects one existing define.
Fixes #347756.
Wim Taymans [Mon, 17 Jul 2006 17:40:52 +0000 (17:40 +0000)]
Add two functions to check and change the SIGSEGV behaviour when loading plugins.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
* gst/gst.h:
* gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
Add two functions to check and change the SIGSEGV behaviour
when loading plugins.
Don't mess with the SIGSEGV handler when we were told not to.
Fixes #347794.
API: gst_segtrap_is_enabled
API: gst_segtrap_set_enabled
Wim Taymans [Fri, 14 Jul 2006 16:42:20 +0000 (16:42 +0000)]
Revert fix for regression in #347408 after release.
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
* tests/check/elements/filesrc.c: (GST_START_TEST):
Revert fix for regression in #347408 after release.
Antoine Tremblay [Fri, 14 Jul 2006 16:20:18 +0000 (16:20 +0000)]
gst/gstutils.c: Free iterator when done (#347311).
Original commit message from CVS:
Patch by: Antoine Tremblay <hexa00 at gmail com>
* gst/gstutils.c: (gst_element_unlink):
Free iterator when done (#347311).
* tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
And add a test case for this.
Jan Schmidt [Fri, 14 Jul 2006 15:52:55 +0000 (15:52 +0000)]
configure.ac: Bump nano back to CVS
Original commit message from CVS:
* configure.ac:
Bump nano back to CVS
Jan Schmidt [Fri, 14 Jul 2006 15:50:19 +0000 (15:50 +0000)]
configure.ac: releasing 0.10.9, "On the road again"
Original commit message from CVS:
2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
* configure.ac:
releasing 0.10.9, "On the road again"
Jan Schmidt [Thu, 13 Jul 2006 19:47:14 +0000 (19:47 +0000)]
Update .po files
Original commit message from CVS:
Update .po files
Wim Taymans [Thu, 13 Jul 2006 15:51:05 +0000 (15:51 +0000)]
Revert pull-0 fix for release. Disable check. Fixes #347408.
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
* tests/check/elements/filesrc.c: (GST_START_TEST):
Revert pull-0 fix for release. Disable check. Fixes #347408.
Thomas Vander Stichele [Thu, 13 Jul 2006 14:02:16 +0000 (14:02 +0000)]
libs/gst/dataprotocol/dataprotocol.c: Fixes #347337: failure to deserialize event packets with empty payload (only ev...
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_event_from_packet_1_0):
Fixes #347337: failure to deserialize event packets with
empty payload (only event type)
Thomas Vander Stichele [Thu, 13 Jul 2006 13:57:33 +0000 (13:57 +0000)]
gst/Makefile.am: do not install a .c file in the header directory
Original commit message from CVS:
* gst/Makefile.am:
do not install a .c file in the header directory
Edward Hervey [Thu, 13 Jul 2006 10:47:00 +0000 (10:47 +0000)]
gst/gstghostpad.c: GhostPad no longer implicitely use the padtemplates of the targets.
Original commit message from CVS:
* gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
GhostPad no longer implicitely use the padtemplates of the targets.
Fixes #347384
Jan Schmidt [Tue, 11 Jul 2006 22:55:40 +0000 (22:55 +0000)]
Update .po files
Original commit message from CVS:
Update .po files
Jan Schmidt [Tue, 11 Jul 2006 20:44:46 +0000 (20:44 +0000)]
Mention bug #341029 fixed by bilboed's previous commit
Original commit message from CVS:
Mention bug #341029 fixed by bilboed's previous commit
Jan Schmidt [Tue, 11 Jul 2006 20:14:20 +0000 (20:14 +0000)]
Make GstValueArray comparison be order dependent as designed.
Original commit message from CVS:
* gst/gstvalue.c: (gst_value_compare_list),
(gst_value_compare_array), (_gst_value_initialize):
* tests/check/gst/gstvalue.c: (GST_START_TEST):
Make GstValueArray comparison be order dependent as designed.
Add checks for value lists and value array comparisons.
Fixes #347221
Edward Hervey [Tue, 11 Jul 2006 16:20:09 +0000 (16:20 +0000)]
gst/gstbin.c: (de)activate src pads before calling state_change on the childs.
Original commit message from CVS:
* gst/gstbin.c: (activate_pads),
(iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
(gst_bin_change_state_func):
(de)activate src pads before calling state_change on the childs.
This is to avoid the case where a src ghostpad is blocked (holding the
stream lock), which would block the deactivation of the ghostpad's
target pad.
* gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
(gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
(gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
(gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
(gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
(gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
(gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
(gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
(gst_proxy_pad_dispose), (gst_proxy_pad_init),
(gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
(gst_ghost_pad_class_init),
(gst_ghost_pad_internal_do_activate_push),
(gst_ghost_pad_internal_do_activate_pull),
(gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
(gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
(gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
(gst_ghost_pad_new), (gst_ghost_pad_set_target):
GhostPads now create their internal GstProxyPad at creation (and not
when they're linked, as it was being done previously).
The internal and target pads are linked straight away.
The data will also travel through the other pad in order to make
pad blocking and probes non-hackish (the probe/block now really happens
on the GhostPad and not on the target).
* gst/gstpad.c: (gst_pad_set_blocked_async),
(gst_pad_link_prepare), (gst_pad_push_event):
Remove previous ghostpad cruft.
* gst/gstutils.c: (gst_pad_add_data_probe),
(gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
(gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
(gst_pad_remove_buffer_probe):
Remove previous ghost pad cruft.
Added more detailed debug statements.
* tests/check/gst/gstghostpad.c: (GST_START_TEST):
Fix the testsuite for refcounting changes.
The comments about who has references were correct, but the refcount
being checked wasn't the same (!?!).
Stefan Kost [Mon, 10 Jul 2006 19:35:32 +0000 (19:35 +0000)]
More docs for configuration options, add docs to gtk-doc.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstconfig.h.in:
More docs for configuration options, add docs to gtk-doc.
Stefan Kost [Mon, 10 Jul 2006 18:27:40 +0000 (18:27 +0000)]
Fix build when disabling tracing (fixes #344016). Also start to document the defines that disable the sub-systems.
Original commit message from CVS:
* gst/Makefile.am:
* gst/gstconfig.h.in:
* win32/common/config.h:
Fix build when disabling tracing (fixes #344016). Also start to document
the defines that disable the sub-systems.
Edward Hervey [Mon, 10 Jul 2006 09:42:20 +0000 (09:42 +0000)]
gst/gst.c: let's make valgrind happy...
Original commit message from CVS:
* gst/gst.c: (ensure_current_registry_forking):
let's make valgrind happy...
Wim Taymans [Sun, 9 Jul 2006 16:56:48 +0000 (16:56 +0000)]
gst/gstelement.c: Better pad activation code: Reset the collect value too on resync.
Original commit message from CVS:
* gst/gstelement.c: (activate_pads),
(iterator_activate_fold_with_resync), (gst_element_pads_activate):
Better pad activation code: Reset the collect value too on resync.
Add some comments.
Wim Taymans [Sun, 9 Jul 2006 13:26:06 +0000 (13:26 +0000)]
gst/gstpad.c: Use some more macros where it makes sense.
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
(gst_pad_activate_push):
Use some more macros where it makes sense.
Allow pad mode switching instead of asserting. When a pad
is activated in one mode and we activate it in another,
deactivate it first before activating it in a different mode.
Fixes #329198.
Andy Wingo [Sat, 8 Jul 2006 13:22:32 +0000 (13:22 +0000)]
tools/gst-launch.c (main): Handle err == NULL. gst/gst.c (init_post, ensure_current_registry) (ensure_current_registr...
Original commit message from CVS:
2006-07-08 Andy Wingo <wingo@pobox.com>
* tools/gst-launch.c (main): Handle err == NULL.
* gst/gst.c (init_post, ensure_current_registry)
(ensure_current_registry_forking)
(ensure_current_registry_nonforking): Reduce #ifdef ratnest by
factoring out the registry scanning into separate functions. Don't
fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
Better environment var name/interface suggestions accepted.
Tim-Philipp Müller [Fri, 7 Jul 2006 17:16:26 +0000 (17:16 +0000)]
gst/gstobject.c: Random micro-optimisation: don't use a hash table with strings as keys and the usual strdup/strcmp i...
Original commit message from CVS:
* gst/gstobject.c: (gst_object_set_name_default),
(gst_object_set_name):
Random micro-optimisation: don't use a hash table
with strings as keys and the usual strdup/strcmp
involved, but rather just use the GQuark of the
type name as key, since it needs to be looked up
anyway to get the type name string.
* tests/check/gst/gstobject.c: (GST_START_TEST):
Fix various leaks.
Tim-Philipp Müller [Fri, 7 Jul 2006 15:42:08 +0000 (15:42 +0000)]
gst/gstbin.c: Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
Original commit message from CVS:
* gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
(gst_bin_iterate_all_by_interface):
Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
GTypes are gulongs and thus the top 4 bytes might be cut
off on some platforms when doing GPOINTER_TO_INT, leading
to invalid GTypes and bad things happening.
Also add a check to make sure the type passed in is really
an interface type.
Tim-Philipp Müller [Fri, 7 Jul 2006 09:47:19 +0000 (09:47 +0000)]
.cvsignore: Ignore more.
Original commit message from CVS:
* .cvsignore:
Ignore more.
Tim-Philipp Müller [Fri, 7 Jul 2006 09:09:10 +0000 (09:09 +0000)]
Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION instead of the unversioned gst-inspect (#324176, #168659).
Original commit message from CVS:
* Makefile.am:
* configure.ac:
* gst-element-check.m4:
* gst-element-check.m4.in:
Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
instead of the unversioned gst-inspect (#324176, #168659).
Wim Taymans [Thu, 6 Jul 2006 16:17:20 +0000 (16:17 +0000)]
gst/gstmessage.h: Use a valid int for the _MESSAGE_ANY enum value to avoid compiler warnings.
Original commit message from CVS:
* gst/gstmessage.h:
Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
warnings.
Wim Taymans [Thu, 6 Jul 2006 15:46:25 +0000 (15:46 +0000)]
libs/gst/base/gstbasesrc.c: Update docs. blocksize == 0 now means the default blocksize when working in push based mode.
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_wait), (gst_base_src_update_length),
(gst_base_src_get_range), (gst_base_src_default_check_get_range),
(gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
(gst_base_src_loop), (gst_base_src_start),
(gst_base_src_activate_pull):
Update docs.
blocksize == 0 now means the default blocksize when working in push
based mode.
Remove some pointless asserts in _wait function.
Fix offset/length calculations and EOS handling. We can now pull 0
bytes as well, which is allowed.
use _check_get_range() to decide if we can operate in _pull based
mode.
Fix refcounting leak when check_get_range function was not
implemented.
API GstBaseSrc::blocksize range can be 0 too now (default)
* tests/check/elements/filesrc.c: (GST_START_TEST),
(filesrc_suite):
Added check to test _get_range() behaviour.
Wim Taymans [Thu, 6 Jul 2006 15:21:46 +0000 (15:21 +0000)]
gst/gstpad.*: Lots of comments and docs added to the pad functions.
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
(gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
(gst_pad_pull_range):
* gst/gstpad.h:
Lots of comments and docs added to the pad functions.
Flesh out the expected behaviour of the get_range() functions.
Wim Taymans [Thu, 6 Jul 2006 09:21:03 +0000 (09:21 +0000)]
gst/: Remove comma at end of enumerator list.
Original commit message from CVS:
* gst/gstbus.h:
* gst/gstclock.h:
* gst/gstevent.h:
* gst/gstiterator.h:
* gst/gstpad.h:
* gst/gstplugin.h:
* gst/gsttask.h:
Remove comma at end of enumerator list.
Sébastien Moutte [Wed, 5 Jul 2006 19:56:08 +0000 (19:56 +0000)]
win32/common/: Add new exported functions.
Original commit message from CVS:
* win32/common/libgstbase.def:
* win32/common/libgstdataprotocol.def:
* win32/common/libsgtreamer.def:
Add new exported functions.
Wim Taymans [Wed, 5 Jul 2006 18:20:58 +0000 (18:20 +0000)]
libs/gst/base/gstpushsrc.c: Add some more docs here and there.
Original commit message from CVS:
* libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
Add some more docs here and there.
Wim Taymans [Wed, 5 Jul 2006 18:18:47 +0000 (18:18 +0000)]
libs/gst/base/gstbasesink.c: When operating in pull mode update the offset so that we read sequentially.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
(gst_base_sink_loop), (gst_base_sink_get_position):
When operating in pull mode update the offset so that we
read sequentially.
Wim Taymans [Wed, 5 Jul 2006 18:17:01 +0000 (18:17 +0000)]
gst/gstregistryxml.c: Avoid strdup. (will happen in libxml, but hey!)
Original commit message from CVS:
* gst/gstregistryxml.c: (read_string):
Avoid strdup. (will happen in libxml, but hey!)
* gst/gsturi.c:
Add some more docs.
Wim Taymans [Wed, 5 Jul 2006 17:09:18 +0000 (17:09 +0000)]
No point in checking if the size of the subbuffer > 0, the code handles it correclty as demonstrated by unit test.
Original commit message from CVS:
* gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
* tests/check/gst/gstbuffer.c: (GST_START_TEST),
(gst_buffer_suite):
No point in checking if the size of the subbuffer > 0, the
code handles it correclty as demonstrated by unit test.
Also add a unit test for the zero sized _new_and_alloc and
_copy. Fixes #346663.
Wim Taymans [Wed, 5 Jul 2006 08:16:12 +0000 (08:16 +0000)]
libs/gst/base/gstbasetransform.c: Make sure the buffer we pass to transform_ip has a refcount of 1 and thus is writab...
Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buffer),
(gst_base_transform_buffer_alloc),
(gst_base_transform_handle_buffer):
Make sure the buffer we pass to transform_ip has a refcount of
1 and thus is writable. Fixes #343196
Jan Schmidt [Tue, 4 Jul 2006 09:01:51 +0000 (09:01 +0000)]
plugins/elements/gstfilesrc.*: Add "sequential" property, off by default, to use madvise and hint to the kernel that ...
Original commit message from CVS:
* plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
(gst_file_src_init), (gst_file_src_set_property),
(gst_file_src_get_property), (gst_file_src_map_region):
* plugins/elements/gstfilesrc.h:
Add "sequential" property, off by default, to use madvise and hint
to the kernel that sequential access is desired.
Touch all retrieved pages by default to ensure they are pulled
into memory. (Closes #345720)
Wim Taymans [Mon, 3 Jul 2006 17:44:09 +0000 (17:44 +0000)]
docs/design/: Small docs updates.
Original commit message from CVS:
* docs/design/part-block.txt:
* docs/design/part-dynamic.txt:
Small docs updates.
Wim Taymans [Mon, 3 Jul 2006 16:57:54 +0000 (16:57 +0000)]
gst/: Use GSlice when the glib we build against is >= 2.10
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
(gst_caps_unref), (gst_static_caps_get),
(gst_caps_append_structure):
* gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
Use GSlice when the glib we build against is >= 2.10
Wim Taymans [Mon, 3 Jul 2006 16:46:07 +0000 (16:46 +0000)]
gst/gstelement.c: Small cleanup in pad activation code.
Original commit message from CVS:
* gst/gstelement.c: (gst_element_pads_activate):
Small cleanup in pad activation code.
Peter Kjellerstedt [Mon, 3 Jul 2006 14:14:48 +0000 (14:14 +0000)]
The attached patch will make the inclusion of gettext.h unconditional in gst/gst-i18n-app.h and gst/gst-i18n-lib.h, a...
Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis dot com>
* gst/gst-i18n-app.h:
* gst/gst-i18n-lib.h:
* tools/gst-inspect.c: (print_signal_info):
The attached patch will make the inclusion of gettext.h unconditional in
gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
libintl.h in tools/gst-inspect.c.
This allows use of --disable-nls again and fixes #344642.
Thomas Vander Stichele [Mon, 3 Jul 2006 11:10:43 +0000 (11:10 +0000)]
fix leak
Original commit message from CVS:
fix leak
Edward Hervey [Mon, 3 Jul 2006 10:30:49 +0000 (10:30 +0000)]
gst/gstpad.c: Implement pad blocking on events according to part-block.txt.
Original commit message from CVS:
* gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
Implement pad blocking on events according to part-block.txt.
More comments on behaviour.
* tests/check/gst/gstevent.c: (test_event):
Send event to peer pad of blocked pad (else it will block).
Thomas Vander Stichele [Sun, 2 Jul 2006 23:22:31 +0000 (23:22 +0000)]
libs/gst/check/gstcheck.c: if we get the wrong message, give us the types as string
Original commit message from CVS:
* libs/gst/check/gstcheck.c: (gst_check_message_error),
(gst_check_run_suite):
if we get the wrong message, give us the types as string
* plugins/elements/gstfilesrc.c: (gst_file_src_start):
Fix a translatable
* tests/check/elements/filesrc.c: (GST_START_TEST):
add a test for trying to open a non-existing file
Thomas Vander Stichele [Sun, 2 Jul 2006 22:44:24 +0000 (22:44 +0000)]
add macros
Original commit message from CVS:
add macros
Thomas Vander Stichele [Sun, 2 Jul 2006 22:28:38 +0000 (22:28 +0000)]
remove double var
Original commit message from CVS:
remove double var
Thomas Vander Stichele [Sun, 2 Jul 2006 22:27:32 +0000 (22:27 +0000)]
clean more
Original commit message from CVS:
clean more
Thomas Vander Stichele [Sun, 2 Jul 2006 22:20:20 +0000 (22:20 +0000)]
moap ignore
Original commit message from CVS:
moap ignore
Thomas Vander Stichele [Sun, 2 Jul 2006 22:17:31 +0000 (22:17 +0000)]
tests/check/gst/gstbin.c: add a test for adding self
Original commit message from CVS:
* tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
add a test for adding self
Thomas Vander Stichele [Sun, 2 Jul 2006 22:05:48 +0000 (22:05 +0000)]
libs/gst/check/gstcheck.h: add some assert_ as alias for fail_unless_*
Original commit message from CVS:
* libs/gst/check/gstcheck.h:
add some assert_ as alias for fail_unless_*
* tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
increase test coverage
Thomas Vander Stichele [Sun, 2 Jul 2006 21:54:43 +0000 (21:54 +0000)]
Makefile.am: include lcov.mak for lcov coverage generation
Original commit message from CVS:
* Makefile.am:
include lcov.mak for lcov coverage generation
* tools/Makefile.am:
add to CLEANFILES
Thomas Vander Stichele [Sun, 2 Jul 2006 21:52:57 +0000 (21:52 +0000)]
whitespace/doc fixes
Original commit message from CVS:
whitespace/doc fixes
Edward Hervey [Sun, 2 Jul 2006 16:27:14 +0000 (16:27 +0000)]
tests/check/elements/.cvsignore: moaping
Original commit message from CVS:
* tests/check/elements/.cvsignore:
moaping
Thomas Vander Stichele [Sun, 2 Jul 2006 14:39:12 +0000 (14:39 +0000)]
configure.ac: don't set CFLAGS and friends for gcov, done from GST_GCOV now
Original commit message from CVS:
* configure.ac:
don't set CFLAGS and friends for gcov, done from GST_GCOV now
* tests/check/Makefile.am:
clean up gcov files
Thomas Vander Stichele [Sun, 2 Jul 2006 14:37:10 +0000 (14:37 +0000)]
gst/gstcaps.c: remove gst_caps_simplify; it was not declared and not used and deprecated in 0.8
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_remove_and_get_structure):
remove gst_caps_simplify; it was not declared and not used
and deprecated in 0.8
Thomas Vander Stichele [Sun, 2 Jul 2006 14:05:54 +0000 (14:05 +0000)]
docs/faq/gst-uninstalled: don't put empty paths on PYTHONPATH
Original commit message from CVS:
* docs/faq/gst-uninstalled:
don't put empty paths on PYTHONPATH
* docs/gst/gstreamer-sections.txt:
remove some symbols that are not there
Thomas Vander Stichele [Sun, 2 Jul 2006 12:57:19 +0000 (12:57 +0000)]
unbreak test
Original commit message from CVS:
unbreak test
Thomas Vander Stichele [Sun, 2 Jul 2006 12:54:03 +0000 (12:54 +0000)]
gst/gstcaps.c: whitespace fixes
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_compare_structures):
whitespace fixes
* tests/check/gst/gstbuffer.c: (GST_START_TEST):
* tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
add more tests
Thomas Vander Stichele [Sun, 2 Jul 2006 12:52:09 +0000 (12:52 +0000)]
ignore more
Original commit message from CVS:
ignore more
Thomas Vander Stichele [Sun, 2 Jul 2006 09:04:45 +0000 (09:04 +0000)]
libs/gst/dataprotocol/Makefile.am: build dataprotocol test by linking to the lib, instead of compiling the source, so...
Original commit message from CVS:
* libs/gst/dataprotocol/Makefile.am:
build dataprotocol test by linking to the lib, instead of
compiling the source, so we get coverage
* tests/check/Makefile.am:
* tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
(cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
add a test for filesrc
Thomas Vander Stichele [Sun, 2 Jul 2006 08:26:48 +0000 (08:26 +0000)]
tests/check/gst/gststructure.c: Push coverage from 59.04% to 70.00%
Original commit message from CVS:
* tests/check/gst/gststructure.c: (GST_START_TEST),
(gst_structure_suite):
Push coverage from 59.04% to 70.00%
Thomas Vander Stichele [Sun, 2 Jul 2006 00:40:56 +0000 (00:40 +0000)]
tests/check/gst/gststructure.c: Push coverage from 59.04% to 70.00%
Original commit message from CVS:
* tests/check/gst/gststructure.c: (GST_START_TEST),
(gst_structure_suite):
Push coverage from 59.04% to 70.00%
Thomas Vander Stichele [Sun, 2 Jul 2006 00:39:28 +0000 (00:39 +0000)]
moap ignore
Original commit message from CVS:
moap ignore
Thomas Vander Stichele [Sun, 2 Jul 2006 00:38:35 +0000 (00:38 +0000)]
moap ignore
Original commit message from CVS:
moap ignore
Thomas Vander Stichele [Sun, 2 Jul 2006 00:33:51 +0000 (00:33 +0000)]
tests/check/Makefile.am: gst-inspect every element; this makes sure that we also get coverage on element's get/set fu...
Original commit message from CVS:
* tests/check/Makefile.am:
gst-inspect every element; this makes sure that we also get
coverage on element's get/set functions
* tests/check/gst/gststructure.c: (GST_START_TEST),
(gst_structure_suite):
Push coverage from 59.04% to 70.00%
Thomas Vander Stichele [Sat, 1 Jul 2006 23:26:06 +0000 (23:26 +0000)]
configure.ac: set CFLAGS and friends to -O0 if gcov is being used add GCOV LIBS
Original commit message from CVS:
* configure.ac:
set CFLAGS and friends to -O0 if gcov is being used
add GCOV LIBS
* gst/Makefile.am:
* libs/gst/base/Makefile.am:
* libs/gst/check/Makefile.am:
* libs/gst/controller/Makefile.am:
* libs/gst/dataprotocol/Makefile.am:
* libs/gst/net/Makefile.am:
* plugins/elements/Makefile.am:
* plugins/indexers/Makefile.am:
add makefile rules to generate gcov data and clean up
* tests/check/Makefile.am:
add a coverage target that generates an html overview
of coverage data
Thomas Vander Stichele [Sat, 1 Jul 2006 23:19:28 +0000 (23:19 +0000)]
fix docs build
Original commit message from CVS:
fix docs build
Thomas Vander Stichele [Sat, 1 Jul 2006 20:56:56 +0000 (20:56 +0000)]
tests/check/: use the new macro
Original commit message from CVS:
* tests/check/elements/fakesink.c:
* tests/check/elements/fakesrc.c:
* tests/check/elements/fdsrc.c:
* tests/check/elements/identity.c:
* tests/check/generic/sinks.c: (gst_sinks_suite):
* tests/check/generic/states.c:
* tests/check/gst/gst.c:
* tests/check/gst/gstabi.c:
* tests/check/gst/gstbin.c:
* tests/check/gst/gstbuffer.c: (gst_buffer_suite):
* tests/check/gst/gstbus.c: (gst_bus_suite):
* tests/check/gst/gstcaps.c: (GST_START_TEST):
* tests/check/gst/gstelement.c:
* tests/check/gst/gstevent.c: (gst_event_suite):
* tests/check/gst/gstghostpad.c:
* tests/check/gst/gstiterator.c: (gst_iterator_suite):
* tests/check/gst/gstmessage.c: (gst_message_suite):
* tests/check/gst/gstminiobject.c:
* tests/check/gst/gstobject.c:
* tests/check/gst/gstpad.c:
* tests/check/gst/gstpipeline.c:
* tests/check/gst/gstplugin.c:
* tests/check/gst/gstquery.c: (gst_query_suite):
* tests/check/gst/gstsegment.c: (gst_segment_suite):
* tests/check/gst/gststructure.c:
* tests/check/gst/gstsystemclock.c:
* tests/check/gst/gsttag.c:
* tests/check/gst/gsttask.c: (gst_task_suite):
* tests/check/gst/gstutils.c:
* tests/check/gst/gstvalue.c:
* tests/check/libs/adapter.c:
* tests/check/libs/basesrc.c:
* tests/check/libs/collectpads.c:
* tests/check/libs/controller.c:
* tests/check/libs/gdp.c: (gst_dp_suite):
* tests/check/libs/gstnetclientclock.c:
* tests/check/libs/gstnettimeprovider.c:
* tests/check/libs/libsabi.c: (libsabi_suite):
* tests/check/libs/typefindhelper.c:
* tests/check/pipelines/cleanup.c:
* tests/check/pipelines/parse-launch.c:
* tests/check/pipelines/simple-launch-lines.c:
* tests/check/pipelines/stress.c: (stress_suite):
use the new macro
Thomas Vander Stichele [Sat, 1 Jul 2006 20:54:25 +0000 (20:54 +0000)]
libs/gst/check/gstcheck.*: create a macro and function so that the simple unit test case can be just one macro to cre...
Original commit message from CVS:
* libs/gst/check/gstcheck.c: (gst_check_run_suite):
* libs/gst/check/gstcheck.h:
create a macro and function so that the simple unit test
case can be just one macro to create main()
Tim-Philipp Müller [Fri, 30 Jun 2006 13:17:46 +0000 (13:17 +0000)]
gst/: Fix deserialisation from XML. Set parent manually instead of using gst_bin_add(), since gst_bin_add() will unli...
Original commit message from CVS:
* gst/gstbin.c: (gst_bin_restore_thyself):
* gst/gstxml.c: (gst_xml_make_element):
Fix deserialisation from XML. Set parent manually
instead of using gst_bin_add(), since gst_bin_add()
will unlink all pads of the element being added.
Fixes #341667.
Peter Kjellerstedt [Wed, 28 Jun 2006 15:19:08 +0000 (15:19 +0000)]
gst/gst.c: Fix missing g_strdup() and double free when using the
Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis com>
* gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
Fix missing g_strdup() and double free when using the
--gst-plugin-load command line option (#346097).
Tim-Philipp Müller [Fri, 23 Jun 2006 13:16:46 +0000 (13:16 +0000)]
gst/gstinfo.c: Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
Original commit message from CVS:
* gst/gstinfo.c:
Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
* libs/gst/net/gstnetclientclock.c:
* libs/gst/net/gstnettimeprovider.c:
Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
Tim-Philipp Müller [Fri, 23 Jun 2006 10:30:09 +0000 (10:30 +0000)]
docs/manual/advanced-dataaccess.xml: Fix buffer probe example compilation in
Original commit message from CVS:
* docs/manual/advanced-dataaccess.xml:
Fix buffer probe example compilation in
ADM (#345708).
Edward Hervey [Thu, 22 Jun 2006 17:09:13 +0000 (17:09 +0000)]
gst/gstelement.c: We need to deactivate src pads first and then sink pads.
Original commit message from CVS:
* gst/gstelement.c: (gst_element_pads_activate):
We need to deactivate src pads first and then sink pads.
The reason is the src pads might be blocking while holding the streaming
lock, so we need to deactivate them first so that deactivating the sink
pads doesn't block (since it will require the streaming lock).
Wim Taymans [Thu, 22 Jun 2006 15:12:50 +0000 (15:12 +0000)]
libs/gst/base/gstbasetransform.c: Forgot to remove two unneeded unrefs.
Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_buffer_alloc):
Forgot to remove two unneeded unrefs.
Simplify a check _is_equal allready checks the obvious case.
Wim Taymans [Thu, 22 Jun 2006 14:09:41 +0000 (14:09 +0000)]
docs/design/part-block.txt: Some docs about what pad_block should do.
Original commit message from CVS:
* docs/design/part-block.txt:
Some docs about what pad_block should do.
Wim Taymans [Thu, 22 Jun 2006 13:51:19 +0000 (13:51 +0000)]
gst/gstcaps.c: Fix crasher when passed NULL. Doc clarification.
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_replace):
Fix crasher when passed NULL. Doc clarification.
Optimize for the trivial case.
* gst/gstpipeline.c: (gst_pipeline_change_state):
Small cleanups.
* libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
Small documentation cleanup.
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_buffer_alloc):
Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
is what we need and it avoids a whole lot of redundant
refcount operations.
Philip Jägenstedt [Thu, 22 Jun 2006 08:53:40 +0000 (08:53 +0000)]
docs/manual/advanced-dataaccess.xml: Fix 'Embedding static elements' section to use
Original commit message from CVS:
Patch by: Philip Jägenstedt <philip at lysator liu se>
* docs/manual/advanced-dataaccess.xml:
Fix 'Embedding static elements' section to use
GST_PLUGIN_DEFINE_STATIC (#345607).
Tim-Philipp Müller [Wed, 21 Jun 2006 11:12:24 +0000 (11:12 +0000)]
tests/check/pipelines/simple-launch-lines.c: Attempt to 'fix' spuriously failing test case: it seems like the timeout...
Original commit message from CVS:
* tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
Attempt to 'fix' spuriously failing test case: it seems like the
timeout of half a second is simply too small when the system is under
load otherwise, and the timeout doesn't really seem to serve any
particular purpose here. Give the pipeline a few seconds to preroll
first, and then give it another half a second to go from PAUSED to
PLAYING and marshal the message into the main thread.
Tim-Philipp Müller [Wed, 21 Jun 2006 10:14:00 +0000 (10:14 +0000)]
tools/gst-feedback-m.m: Don't only use unversioned tools, try versioned tools as well (#345086).
Original commit message from CVS:
* tools/gst-feedback-m.m:
Don't only use unversioned tools, try versioned tools as well
(#345086).
Tim-Philipp Müller [Wed, 21 Jun 2006 10:01:58 +0000 (10:01 +0000)]
gst/gstbus.c: Fix some typos, make docs more explicit.
Original commit message from CVS:
* gst/gstbus.c: (gst_bus_class_init):
Fix some typos, make docs more explicit.
Wim Taymans [Tue, 20 Jun 2006 08:40:40 +0000 (08:40 +0000)]
tests/check/gst/gstghostpad.c: Added some more ghostpad tests, mainly blocking and probes.
Original commit message from CVS:
* tests/check/gst/gstghostpad.c: (block_callback),
(GST_START_TEST), (gst_ghost_pad_suite):
Added some more ghostpad tests, mainly blocking
and probes.
Christian Schaller [Mon, 19 Jun 2006 08:56:48 +0000 (08:56 +0000)]
latest updates
Original commit message from CVS:
latest updates
Wim Taymans [Fri, 16 Jun 2006 16:28:37 +0000 (16:28 +0000)]
plugins/elements/gstfilesink.*: Check if we can seek in the file instead of assuming we always can. Post an error whe...
Original commit message from CVS:
* plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
(gst_file_sink_close_file), (gst_file_sink_do_seek),
(gst_file_sink_event), (gst_file_sink_render):
* plugins/elements/gstfilesink.h:
Check if we can seek in the file instead of assuming
we always can. Post an error when we are asked to seek in a
non-seekable file (like a fifo). Fixes #343312.
Some cleanups.
Tim-Philipp Müller [Fri, 16 Jun 2006 14:31:07 +0000 (14:31 +0000)]
tools/gst-launch.1.in: Un-garble (fourcc) bit in filtered caps section.
Original commit message from CVS:
* tools/gst-launch.1.in:
Un-garble (fourcc) bit in filtered caps section.
Tim-Philipp Müller [Fri, 16 Jun 2006 09:39:54 +0000 (09:39 +0000)]
docs/manual/: Don't leak bus reference in sample code.
Original commit message from CVS:
* docs/manual/advanced-autoplugging.xml:
* docs/manual/basics-helloworld.xml:
* docs/manual/highlevel-components.xml:
Don't leak bus reference in sample code.
Tim-Philipp Müller [Fri, 16 Jun 2006 08:30:47 +0000 (08:30 +0000)]
autogen.sh: Add default for new --enable-plugin-docs switch.
Original commit message from CVS:
* autogen.sh:
Add default for new --enable-plugin-docs switch.
* configure.ac:
Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
Fixes #344039.
* docs/Makefile.am:
Use new ENABLE_PLUGIN_DOCS conditional.
Wim Taymans [Wed, 14 Jun 2006 10:34:14 +0000 (10:34 +0000)]
gst/gstbin.c: Make it clear with a FIXME and a real define what the #if 0 previously disabled.
Original commit message from CVS:
* gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
Make it clear with a FIXME and a real define what the #if 0
previously disabled.
Wim Taymans [Wed, 14 Jun 2006 10:31:43 +0000 (10:31 +0000)]
libs/gst/base/: Don't randomly and silently reset a segment when the format changes as this is a bug somewhere upstre...
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
(gst_base_sink_preroll_object), (gst_base_sink_get_position):
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_sink_eventfunc):
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
Don't randomly and silently reset a segment when the format
changes as this is a bug somewhere upstream. Fixes #330379.
Wouter Paesen [Wed, 14 Jun 2006 08:26:53 +0000 (08:26 +0000)]
libs/gst/controller/gstcontroller.c: Fix controlling of float properties (#344849).
Original commit message from CVS:
Patch by: Wouter Paesen <wouter at kangaroot net>
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_new):
Fix controlling of float properties (#344849).
* tests/check/libs/controller.c:
(gst_test_mono_source_get_property),
(gst_test_mono_source_set_property),
(gst_test_mono_source_class_init), (GST_START_TEST):
While we're at it, add some float stuff to unit test.
Thomas Vander Stichele [Tue, 13 Jun 2006 19:24:34 +0000 (19:24 +0000)]
docs/: add a gdp image
Original commit message from CVS:
* docs/README:
* docs/images/gdp-header.svg:
add a gdp image
* docs/libs/Makefile.am:
* docs/libs/gdp-header.png:
* libs/gst/dataprotocol/dataprotocol.c:
add it to the API docs
* docs/manual/intro-motivation.xml:
fix typo
Tim-Philipp Müller [Tue, 13 Jun 2006 16:41:37 +0000 (16:41 +0000)]
gst/gst.c: If the fork()'ed child process can't write the updated registry cache file to disk for some reason, make i...
Original commit message from CVS:
* gst/gst.c: (scan_and_update_registry), (init_post):
If the fork()'ed child process can't write the updated registry cache
file to disk for some reason, make it exit with a failure exit code,
so that the parent can then re-scan the plugins itself and update the
registry structures in memory and work with that (rather than failing
when creating elements because seemingly no plugins are available).
Refactor registry scanning code into separate function for this and
also separate fork() and non-fork() code paths. Fixes #344748.
Wim Taymans [Tue, 13 Jun 2006 16:24:43 +0000 (16:24 +0000)]
docs/manual/advanced-dataaccess.xml: Fix wrong PluginDesc. Fixes #344755.
Original commit message from CVS:
* docs/manual/advanced-dataaccess.xml:
Fix wrong PluginDesc. Fixes #344755.
Tim-Philipp Müller [Tue, 13 Jun 2006 13:30:46 +0000 (13:30 +0000)]
gst/gstregistryxml.c: Fix silly bug that prevented us from creating ~/.gstreamer-0.10 and writing the registry in one...
Original commit message from CVS:
* gst/gstregistryxml.c: (gst_registry_xml_write_cache):
Fix silly bug that prevented us from creating
~/.gstreamer-0.10 and writing the registry in one
go (the first call to g_mkstemp() would overwrite the
placeholder in the template string, so the second call
to g_mkstemp() after creating the missing directory
would then error out with 'invalid argument').
Edward Hervey [Tue, 13 Jun 2006 11:17:02 +0000 (11:17 +0000)]
gst/gst.c: Free string.
Original commit message from CVS:
* gst/gst.c: (init_post):
Free string.
Thomas Vander Stichele [Tue, 13 Jun 2006 08:20:24 +0000 (08:20 +0000)]
gst/: remove GLib 2.6 compatibility code
Original commit message from CVS:
* gst/glib-compat-private.h:
* gst/glib-compat.c:
* gst/glib-compat.h:
* gst/gstvalue.c: (gst_value_serialize_flags):
remove GLib 2.6 compatibility code
Tim-Philipp Müller [Mon, 12 Jun 2006 16:50:09 +0000 (16:50 +0000)]
gst/parse/Makefile.am: Fix build with 'make -j N' even more (#340016).
Original commit message from CVS:
* gst/parse/Makefile.am:
Fix build with 'make -j N' even more (#340016).